From b3824b086c083a3e2673f8d84f4e0ceadefefbea Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Fri, 15 Apr 2022 00:13:36 -0400 Subject: [PATCH] Don't scroll when clicking near the top or bottom of the location list --- vim/config/after.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vim/config/after.vim b/vim/config/after.vim index 028307c..9b4baeb 100644 --- a/vim/config/after.vim +++ b/vim/config/after.vim @@ -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