commit 8119b7cbe490f03eca087a33ff1169968959e738
parent da1857d931f56af5a9ef26611930294a65b4da24
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Wed, 7 Jan 2015 15:41:19 +0100
custom commit command
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/.vimrc b/.vimrc
@@ -304,7 +304,6 @@ nmap <leader>m :Make<CR>
" spawn interactive process
nmap <leader>S :Start
-nmap <leader>g :Gcommit<CR>
" Switch split focus with leader+hjkl
nmap <leader>h <C-w>h
@@ -312,6 +311,10 @@ nmap <leader>j <C-w>j
nmap <leader>k <C-w>k
nmap <leader>l <C-w>l
+" Commit all changes
+"nmap <leader>g :Gcommit<CR>
+nmap <leader>g :!git commit -a -v<CR>
+
" Toggle fold
nmap <leader>f za
" Toggle all folds