mirror of
https://github.com/junegunn/fzf.vim.git
synced 2025-12-07 21:24:40 +08:00
[History[:/]] Redraw screen
This commit is contained in:
@@ -319,6 +319,7 @@ function! s:history_sink(type, lines)
|
|||||||
let item = matchstr(a:lines[1], ' *[0-9]\+ *\zs.*')
|
let item = matchstr(a:lines[1], ' *[0-9]\+ *\zs.*')
|
||||||
if key == 'ctrl-e'
|
if key == 'ctrl-e'
|
||||||
call histadd(a:type, item)
|
call histadd(a:type, item)
|
||||||
|
redraw
|
||||||
call feedkeys(a:type."\<up>")
|
call feedkeys(a:type."\<up>")
|
||||||
else
|
else
|
||||||
let g:__fzf_command = "normal ".a:type.item."\<cr>"
|
let g:__fzf_command = "normal ".a:type.item."\<cr>"
|
||||||
|
|||||||
Reference in New Issue
Block a user