mirror of
https://github.com/junegunn/fzf.vim.git
synced 2025-12-06 12:44:24 +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'
|
if key == 'ctrl-e'
|
||||||
call histadd(a:type, item)
|
call histadd(a:type, item)
|
||||||
redraw
|
redraw
|
||||||
call feedkeys(a:type."\<up>")
|
call feedkeys(a:type."\<up>", 'n')
|
||||||
else
|
else
|
||||||
if a:type == ':'
|
if a:type == ':'
|
||||||
call histadd(a:type, item)
|
call histadd(a:type, item)
|
||||||
|
|||||||
Reference in New Issue
Block a user