diff options
Diffstat (limited to '.vim')
-rw-r--r-- | .vim/plugin/fugitive.vim | 7 | ||||
-rw-r--r-- | .vim/plugin/init.vim | 5 |
2 files changed, 8 insertions, 4 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> diff --git a/.vim/plugin/init.vim b/.vim/plugin/init.vim index f572da9..6ecd7cd 100644 --- a/.vim/plugin/init.vim +++ b/.vim/plugin/init.vim @@ -49,10 +49,7 @@ Plug 'vim-airline/vim-airline-themes' let g:airline#extensions#tabline#enabled = 1 Plug 'tpope/vim-fugitive' - -nnoremap <silent> <leader>gl :Gclog! -- %<CR> -nnoremap <silent> <leader>gd :Gdiffsplit <CR> -nnoremap <silent> <leader>gs :G<CR> +Plug 'junegunn/gv.vim' Plug 'easymotion/vim-easymotion' |