aboutsummaryrefslogtreecommitdiff
path: root/core/plugins.vim
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2021-10-17 07:42:30 +0800
committerjdhao <jdhao@hotmail.com>2021-10-17 07:42:30 +0800
commit237a2c3f4a1597359c653005745c1c268f8ee6fc (patch)
treef3d8eed266c6b822e7c33214fa23f9e2e7a31564 /core/plugins.vim
parent6c14d23707cd2f5f1d249e9acf37481464bbccf0 (diff)
update leaderf conf
Diffstat (limited to 'core/plugins.vim')
-rw-r--r--core/plugins.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/plugins.vim b/core/plugins.vim
index 6ab7535..111b8fe 100644
--- a/core/plugins.vim
+++ b/core/plugins.vim
@@ -129,6 +129,10 @@ nnoremap <silent> <leader>t :<C-U>echoerr "Use \<lt>leader>ft instead!"<CR>
nnoremap <silent> <leader>fb :<C-U>Leaderf buffer --popup<CR>
let g:Lf_PopupColorscheme = 'gruvbox_material'
+
+" Change keybinding in LeaderF prompt mode, use ctrl-n and ctrl-p to navigate
+" items.
+let g:Lf_CommandMap = {'<C-J>': ['<C-N>'], '<C-K>': ['<C-P>']}
"}}
"{{ URL related