mirror of
https://github.com/junegunn/fzf.vim.git
synced 2026-01-10 21:42:33 +08:00
[History:/] Ignore empty selection
This commit is contained in:
@@ -253,7 +253,7 @@ endfunction
|
||||
nnoremap <plug>(-fzf-vim-do) :execute g:__fzf_command<cr>
|
||||
|
||||
function! s:history_sink(type, lines)
|
||||
if empty(a:lines)
|
||||
if len(a:lines) < 2
|
||||
return
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user