mirror of
https://github.com/junegunn/fzf.vim.git
synced 2026-10-10 07:15:53 +08:00
[History:/] Ignore empty selection
This commit is contained in:
1 parent
1f1cb3fdba
commit
5c25913b25
1 file changed
+1
-1
@@ -253,7 +253,7 @@ endfunction
|
|||||||
nnoremap <plug>(-fzf-vim-do) :execute g:__fzf_command<cr>
|
nnoremap <plug>(-fzf-vim-do) :execute g:__fzf_command<cr>
|
||||||
|
|
||||||
function! s:history_sink(type, lines)
|
function! s:history_sink(type, lines)
|
||||||
if empty(a:lines)
|
if len(a:lines) < 2
|
||||||
return
|
return
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user