From 481a4e5c0e8e77a4685bcd8dbf677fc66da5f115 Mon Sep 17 00:00:00 2001 From: jdhao Date: Sat, 16 Oct 2021 21:17:58 +0800 Subject: [PATCH] change LeaderF mappings Make the mapping consistent --- core/plugins.vim | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/core/plugins.vim b/core/plugins.vim index 15bd195..a73cf37 100644 --- a/core/plugins.vim +++ b/core/plugins.vim @@ -112,11 +112,19 @@ let g:Lf_ShortcutB = '' let g:Lf_WorkingDirectoryMode = 'a' " Search files in popup window -nnoremap f :Leaderf file --popup +nnoremap ff :Leaderf file --popup + +" Grep project files in popup window +nnoremap fg :Leaderf rg --popup + " Search vim help files -nnoremap h :Leaderf help --popup +nnoremap fh :Leaderf help --popup + " Search tags in current buffer -nnoremap t :Leaderf bufTag --popup +nnoremap ft :Leaderf bufTag --popup + +" Switch buffers +nnoremap fb :Leaderf buffer --popup let g:Lf_PopupColorscheme = 'gruvbox_material' "}}