Don't scroll when clicking near the top or bottom of the location list

This commit is contained in:
Kevin MacMartin 2022-04-15 00:13:36 -04:00
parent 044feb1183
commit b3824b086c

View file

@ -54,8 +54,8 @@ autocmd FileChangedRO * nested set noreadonly
autocmd FileType vue setlocal spell
"special side/bottom-bar settings to apply when opened
autocmd BufEnter,FileType taskreport,qf,help* setlocal nowrap nocursorcolumn "disable text wrapping and the vertical cursor line
autocmd BufEnter,FileType extradite setlocal number "enable line numbers in extradite
autocmd BufEnter,FileType qf,help* setlocal nowrap nocursorcolumn "disable text wrapping and the vertical cursor line
autocmd BufEnter,FileType qf setlocal scrolloff=0 "don't scroll when clicking near the top or bottom of the list
autocmd BufEnter,FileType help* setlocal nocursorline "remove the horizontal cursor line
"load in an 80 char vertical split if the window is wider than 140 characters