commit f95db731210ec97032d92192de65844a7748f9fd
parent 943cf293fd6f6d2398978b3b467b181bfc382045
Author: Alex Balgavy <alex@balgavy.eu>
Date: Fri, 17 Sep 2021 10:02:38 +0200
vim: loclist mappings
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/vim/vimrc b/vim/vimrc
@@ -374,6 +374,10 @@ nmap <leader>qf <Plug>(qf_qf_toggle)
nmap <leader>ln <Plug>(qf_loc_next)
nmap <leader>lp <Plug>(qf_loc_previous)
nmap <leader>ll <Plug>(qf_loc_toggle)
+nnoremap <leader>lb :lbefore<CR>
+nnoremap <leader>la :lafter<CR>
+nnoremap <leader>lf :lfirst<CR>
+
" Disable auto-open because it interferes with Dispatch reverting makeprg
" See here https://github.com/tpope/vim-dispatch/issues/254
let g:qf_auto_open_quickfix = 0