We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It would be nice to be able to scroll in the diff buffer without leaving the list of commits.
The text was updated successfully, but these errors were encountered:
@minusf I asked for similar behaviour in vim-plug. Junegunn offered this solution.
Here is a modified version of it to work with gv.vim for your .vimrc:
.vimrc
function! s:scroll_commits(down) abort wincmd p execute 'normal!' a:down ? "\<c-e>" : "\<c-y>" wincmd p endfunction function! s:init_gv_scroll() abort nnoremap <silent> <buffer> J :call <sid>scroll_commits(1)<cr> nnoremap <silent> <buffer> K :call <sid>scroll_commits(0)<cr> endfunction augroup GVextras autocmd! autocmd FileType GV call s:init_gv_scroll() augroup END
Change J and K to taste.
J
K
Sorry, something went wrong.
No branches or pull requests
It would be nice to be able to scroll in the diff buffer without leaving the list of commits.
The text was updated successfully, but these errors were encountered: