diff options
author | Guangxiong Lin <[email protected]> | 2021-11-27 23:32:52 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2021-11-27 23:32:52 +0800 |
commit | 82583f4abf01e5cfda61578fc0ed1c30959da2c8 (patch) | |
tree | 6aeaa588b7a8aa062de29748b582be800af07e82 /.vim/plugin/fugitive.vim | |
parent | fc2b84beb820ff63baacf5c5ff14580a1f98f366 (diff) | |
download | dotfiles-82583f4abf01e5cfda61578fc0ed1c30959da2c8.tar.gz dotfiles-82583f4abf01e5cfda61578fc0ed1c30959da2c8.tar.bz2 dotfiles-82583f4abf01e5cfda61578fc0ed1c30959da2c8.zip |
Update fugitive keymap, add gv.vim
Diffstat (limited to '.vim/plugin/fugitive.vim')
-rw-r--r-- | .vim/plugin/fugitive.vim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.vim/plugin/fugitive.vim b/.vim/plugin/fugitive.vim new file mode 100644 index 0000000..f3a67bb --- /dev/null +++ b/.vim/plugin/fugitive.vim @@ -0,0 +1,7 @@ +nnoremap <silent> <leader>gs :tabnew +Git<CR> + +nnoremap <leader>gp :G push<space> +nnoremap <leader>g<space> :G<space> +nnoremap <leader>gd :Gvdiffsplit<space> +nnoremap <leader>gl :Gclog %<space> +xnoremap <leader>gl :Gclog<CR> |