aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/plugins.vim14
1 files changed, 14 insertions, 0 deletions
diff --git a/core/plugins.vim b/core/plugins.vim
index 6125514..16468ee 100644
--- a/core/plugins.vim
+++ b/core/plugins.vim
@@ -109,6 +109,20 @@ let g:Lf_PopupColorscheme = 'gruvbox_material'
" items.
let g:Lf_CommandMap = {'<C-J>': ['<C-N>'], '<C-K>': ['<C-P>']}
+" do not preview results, it will add the file to buffer list
+let g:Lf_PreviewResult = {
+ \ 'File': 0,
+ \ 'Buffer': 0,
+ \ 'Mru': 0,
+ \ 'Tag': 0,
+ \ 'BufTag': 1,
+ \ 'Function': 1,
+ \ 'Line': 0,
+ \ 'Colorscheme': 0,
+ \ 'Rg': 0,
+ \ 'Gtags': 0
+ \}
+
""""""""""""""""""""""""""""open-browser.vim settings"""""""""""""""""""
if g:is_win || g:is_mac
" Disable netrw's gx mapping.