nvim: Drop git messenger

git messenger does not size it's floating window correctly and cursor
gets all messed up while trying to jump in the floating window with
golden-ratio mode being active. May be related to the issue
https://github.com/rhysd/git-messenger.vim/issues/38

Based on the below issue
https://github.com/tpope/vim-fugitive/issues/1387

We can already use fugitive's git blame interface for seeing the last
commit on the line.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2020-06-18 10:36:53 +05:30
parent 434f24fb98
commit ba8739f4d0
3 changed files with 1 additions and 2 deletions

View file

@ -15,3 +15,4 @@ nnoremap <Leader>g- :Git stash<CR>:e<CR>
nnoremap <Leader>g+ :Git stash pop<CR>:e<CR> nnoremap <Leader>g+ :Git stash pop<CR>:e<CR>
nnoremap <Leader>gw :Gwrite<CR> nnoremap <Leader>gw :Gwrite<CR>
nnoremap <Leader>gG :Git<SPACE> nnoremap <Leader>gG :Git<SPACE>
nnoremap <Leader>gm :0,3Git blame<CR>

View file

@ -19,7 +19,6 @@ Plug 'wellle/tmux-complete.vim'
" Git support " Git support
Plug 'tpope/vim-fugitive' Plug 'tpope/vim-fugitive'
Plug 'airblade/vim-gitgutter' Plug 'airblade/vim-gitgutter'
Plug 'rhysd/git-messenger.vim', { 'on': 'GitMessenger' }
Plug 'rhysd/conflict-marker.vim' Plug 'rhysd/conflict-marker.vim'
Plug 'whiteinge/diffconflicts' Plug 'whiteinge/diffconflicts'
Plug 'salcode/vim-interactive-rebase-reverse' Plug 'salcode/vim-interactive-rebase-reverse'

View file

@ -52,7 +52,6 @@ nnoremap ]t :tabnext<CR>
nnoremap [T :tabfirst<CR> nnoremap [T :tabfirst<CR>
nnoremap ]T :tablast<CR> nnoremap ]T :tablast<CR>
" For git " For git
nnoremap <Leader>gm :GitMessenger<CR>
nnoremap ]c :GitGutterNextHunk<CR> nnoremap ]c :GitGutterNextHunk<CR>
nnoremap [c :GitGutterPrevHunk<CR> nnoremap [c :GitGutterPrevHunk<CR>
nnoremap ghs :GitGutterStageHunk<CR> nnoremap ghs :GitGutterStageHunk<CR>