mirror of
https://github.com/junegunn/fzf.vim.git
synced 2025-12-07 05:04:30 +08:00
[History] Fix feedkeys to ignore command-line mappings (#836)
This commit is contained in:
committed by
Junegunn Choi
parent
91ed5f4b39
commit
359a80e3a3
@@ -485,7 +485,7 @@ function! s:history_sink(type, lines)
|
||||
if key == 'ctrl-e'
|
||||
call histadd(a:type, item)
|
||||
redraw
|
||||
call feedkeys(a:type."\<up>")
|
||||
call feedkeys(a:type."\<up>", 'n')
|
||||
else
|
||||
if a:type == ':'
|
||||
call histadd(a:type, item)
|
||||
|
||||
Reference in New Issue
Block a user