Open fold and centre when moving between quickfix listings

My bindings for moving between quickfix listings ([c and ]c) now open
folds and centre the item.
This commit is contained in:
Jonathan Hodgson 2021-11-23 10:47:33 +00:00
parent dcfc8e7fe4
commit 2364f96151

View file

@ -76,8 +76,8 @@ vnoremap / /\v
vnoremap < <gv vnoremap < <gv
vnoremap > >gv vnoremap > >gv
nnoremap [c :cprevious<cr> nnoremap [c :cprevious<cr>zOzz
nnoremap ]c :cnext<cr> nnoremap ]c :cnext<cr>zOzz
" Run proselint and put it in the quickfix list " Run proselint and put it in the quickfix list
nnoremap <leader>p :call mine#functions#proselint()<CR> nnoremap <leader>p :call mine#functions#proselint()<CR>