aboutsummaryrefslogtreecommitdiffstats
path: root/_vim/vimrc
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-12-22 23:49:25 +0800
committerAaron LI <aly@aaronly.me>2018-12-22 23:49:25 +0800
commit181c99eea7872be9bd6e40f90914bfdf24891b63 (patch)
treeb6dd3791db65f8d0a4d030ee7bcaab9475d1bbbc /_vim/vimrc
parent9c20907fca15267d5f900f41b145c834a27812c3 (diff)
downloaddotfiles-181c99eea7872be9bd6e40f90914bfdf24891b63.tar.bz2
vim: Add two more mappings
Diffstat (limited to '_vim/vimrc')
-rw-r--r--_vim/vimrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/_vim/vimrc b/_vim/vimrc
index ec139d2..5574c0d 100644
--- a/_vim/vimrc
+++ b/_vim/vimrc
@@ -181,6 +181,7 @@ noremap <leader>bd :Bclose<cr>:tabclose<cr>gT
" Close all the buffers
noremap <leader>ba :bufdo bd<cr>
+noremap <leader>b :buffers<cr>:buffer<space>
noremap <leader>l :bnext<cr>
noremap <leader>h :bprevious<cr>
@@ -300,6 +301,7 @@ noremap <leader>p "+p
" Mappings for vim-fugitive
nnoremap <leader>gs :Gstatus<cr>
nnoremap <leader>gd :Gdiff<cr>
+nnoremap <leader>gb :Gblame<cr>
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""