Normal mode quickfix mappings

1 Point

Kazark Kazark

3 years ago

These commands take the idea that moving to the next error is like moving down and or the previous is like moving up and going to the next or previous file is like moving right or left.

" Like Q, q only ever causes me trouble. I never use it deliberately
map q <nop>
" Quickfix mappings
nnoremap <silent> qff :cc<CR>
nnoremap <silent> qfj :cn<CR>
nnoremap <silent> qfk :cN<CR>
nnoremap <silent> qfl :cnf<CR>
nnoremap <silent> qfh :cNf<CR>