mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
Fix LeaderF bug
It will add files to buffer list even if we have not confirmed the
selection. This behavior is really annoying.
See also 27bd938a42.
This commit is contained in:
parent
7bb3ccc275
commit
00e8c77b23
@ -109,6 +109,20 @@ let g:Lf_PopupColorscheme = 'gruvbox_material'
|
|||||||
" items.
|
" items.
|
||||||
let g:Lf_CommandMap = {'<C-J>': ['<C-N>'], '<C-K>': ['<C-P>']}
|
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"""""""""""""""""""
|
""""""""""""""""""""""""""""open-browser.vim settings"""""""""""""""""""
|
||||||
if g:is_win || g:is_mac
|
if g:is_win || g:is_mac
|
||||||
" Disable netrw's gx mapping.
|
" Disable netrw's gx mapping.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user