summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Toso <victortoso@redhat.com>2015-04-30 13:15:15 +0200
committerVictor Toso <victortoso@redhat.com>2015-04-30 13:15:15 +0200
commitf4e007acd27601279680bad8b831540ee90cf10d (patch)
treed2fe2e661b09469ff4f299e6586b35a20ce1d2db
parent8e011cf0c1dc16d854ae5b23c5b97bf1444e973f (diff)
vimrc: bind :Gstatus with :help of this option
I can easily make ammends with fugitive but I can't count on my bad memory to remember all options, so avoiding :help fugitive-:Gstatus is welcome.
-rw-r--r--vimrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index a7e90a7..4df001e 100644
--- a/vimrc
+++ b/vimrc
@@ -56,6 +56,7 @@ nmap << <C-t>
nmap <S-w> <C-w>
nmap <S-t>l :tabnext<CR>
nmap <S-t>h :tabprevious<CR>
+nmap <leader>g :Gstatus \| :help fugitive-:Gstatus<CR>
nmap <leader>t :TagbarToggle<CR>
nmap <leader>n :NERDTreeToggle<CR>
nmap <leader>l :set list!<CR>