From 1e1c02f8a12445ca8b9e4166ea4098af65b0cf68 Mon Sep 17 00:00:00 2001 From: gxlin Date: Fri, 20 Aug 2021 21:39:03 +0800 Subject: Update config --- .vim/plugin/leaderf.vim | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to '.vim/plugin/leaderf.vim') diff --git a/.vim/plugin/leaderf.vim b/.vim/plugin/leaderf.vim index 043fe1b..41c1088 100644 --- a/.vim/plugin/leaderf.vim +++ b/.vim/plugin/leaderf.vim @@ -1,7 +1,14 @@ -" " Show icons, icons are shown by default let g:Lf_ShowDevIcons = 1 +let g:Lf_UseCache = 0 + +let g:Lf_CommandMap = { + \ '': [''], + \ '': [''], + \ '': [''], + \ } let g:Lf_WindowPosition = 'popup' +let g:Lf_PreviewInPopup = 1 let g:Lf_ShortcutF = "ff" noremap fb :=printf("Leaderf buffer %s", "") @@ -9,6 +16,9 @@ noremap fm :=printf("Leaderf mru %s", "") noremap ft :=printf("Leaderf bufTag %s", "") noremap fl :=printf("Leaderf line %s", "") noremap fr :=printf("Leaderf rg %s", "") +noremap fs :=printf("Leaderf self %s", "") +noremap fc :=printf("Leaderf command %s", "") +noremap f :Leaderf noremap :=printf("Leaderf! rg --current-buffer -e %s ", expand("")) noremap :=printf("Leaderf! rg -e %s ", expand("")) -- cgit v1.2.3