[History:/] Ignore empty selection

This commit is contained in:
Junegunn Choi
2015-09-20 04:05:59 +09:00
parent 1f1cb3fdba
commit 5c25913b25

View File

@@ -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