diff options
author | Johannes Stoelp <johannes.stoelp@gmail.com> | 2023-07-25 23:57:37 +0200 |
---|---|---|
committer | Johannes Stoelp <johannes.stoelp@gmail.com> | 2023-07-25 23:57:37 +0200 |
commit | 889e0d6a94586e51a6d0204ae264d6004d27eb94 (patch) | |
tree | 529f922e731f0f4c7a6a6f3c540747f0385a0ca1 | |
parent | c7b20ad53cff281a64831be31049769087780805 (diff) | |
download | dotfiles-889e0d6a94586e51a6d0204ae264d6004d27eb94.tar.gz dotfiles-889e0d6a94586e51a6d0204ae264d6004d27eb94.zip |
nvim: add location list mappings
-rw-r--r-- | nvim.init.vim | 10 |
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. " ----------------- |