summaryrefslogtreecommitdiff
path: root/nvim.init.vim
diff options
context:
space:
mode:
Diffstat (limited to 'nvim.init.vim')
-rw-r--r--nvim.init.vim10
1 files changed, 10 insertions, 0 deletions
diff --git a/nvim.init.vim b/nvim.init.vim
index bdd0617..de91b68 100644
--- a/nvim.init.vim
+++ b/nvim.init.vim
@@ -191,6 +191,16 @@ nnoremap <leader>do :DiffviewOpen --untracked-files=no
nnoremap <leader>dc <cmd>DiffviewClose<cr>
nnoremap <leader>dh :DiffviewFileHistory %
+" Location list
+nnoremap <leader>lo <cmd>lopen<cr>
+nnoremap <leader>lc <cmd>lclose<cr>
+nnoremap <leader>lg :lgrep <c-r><c-w>
+nnoremap <leader>ln <cmd>lnext<cr>
+nnoremap <leader>lp <cmd>lprev<cr>
+packadd cfilter
+nnoremap <leader>lf :Lfilter <c-r><c-w>
+nnoremap <leader>lfn :Lfilter! <c-r><c-w>
+
" -----------------
" Autogroups.
" -----------------