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.
Jonathan Hodgson 3 years ago
parent f12f916255
commit 95bb987329
  1. 4
      nvim/.config/nvim/plugin/mappings.vim

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

Loading…
Cancel
Save