Skip to content
Snippets Groups Projects
Commit 4b3ba70d authored by Jerome Reybert's avatar Jerome Reybert
Browse files

plugin/magit.vim: scroll hunk to top of window when jump to next/prev hunk

parent e1501e1e
No related merge requests found
...@@ -1131,6 +1131,7 @@ function! magit#jump_hunk(dir) ...@@ -1131,6 +1131,7 @@ function! magit#jump_hunk(dir)
break break
endtry endtry
endwhile endwhile
silent execute "normal! zt"
endif endif
endfunction endfunction
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment