mirror of
https://github.com/junegunn/fzf.vim.git
synced 2025-12-06 12:44:24 +08:00
Do not remap keys when using feedkeys (#768)
This commit is contained in:
committed by
Junegunn Choi
parent
f0acabf7e8
commit
7bf940d261
@@ -896,7 +896,7 @@ function! s:command_sink(lines)
|
||||
endif
|
||||
let cmd = matchstr(a:lines[1], s:nbs.'\zs\S*\ze'.s:nbs)
|
||||
if empty(a:lines[0])
|
||||
call feedkeys(':'.cmd.(a:lines[1][0] == '!' ? '' : ' '))
|
||||
call feedkeys(':'.cmd.(a:lines[1][0] == '!' ? '' : ' '), 'n')
|
||||
else
|
||||
execute cmd
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user