瀏覽代碼

add vim shortcut for fugitive's git blame

cinaeco 13 年之前
父節點
當前提交
7c5f05573f
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      vim/vimrc

+ 3 - 0
vim/vimrc

@@ -184,6 +184,9 @@ vnoremap <silent> <leader>,    <ESC>:call NERDComment("x", "toggle")<CR>
 " Traverse undo tree with Gundo!
 nnoremap <leader>u :GundoToggle<CR>
 
+" Git blame with Fugitive!
+nnoremap <leader>b :Gblame<CR>
+
 
 """"""""
 "" Key Remaps - Movement and Windows