add zz to next and prev quickfix item

This commit is contained in:
2025-07-29 21:51:50 +02:00
parent 9e59dda5af
commit 89ac5f51db
+2 -2
View File
@@ -31,8 +31,8 @@ vim.cmd [[
nnoremap ,ct :call setqflist([{'filename': expand('%'), 'lnum': line('.'), 'col': col('.'), 'text': 'TODO'}], 'a')<CR> nnoremap ,ct :call setqflist([{'filename': expand('%'), 'lnum': line('.'), 'col': col('.'), 'text': 'TODO'}], 'a')<CR>
nnoremap ,cf :cfirst<CR> nnoremap ,cf :cfirst<CR>
nnoremap ,cl :clast<CR> nnoremap ,cl :clast<CR>
nnoremap <c-n> :cnext<CR> nnoremap <c-n> :cnext<CR>zz
nnoremap <c-p> :cprevious<CR> nnoremap <c-p> :cprevious<CR>zz
nnoremap ,cu :colder<CR> nnoremap ,cu :colder<CR>
nnoremap ,cr :cnewer<CR> nnoremap ,cr :cnewer<CR>
nnoremap H ^ nnoremap H ^