[History[:/]] Fix regression

Close #124
This commit is contained in:
Junegunn Choi
2016-04-15 22:41:05 +09:00
parent 757ab1cca2
commit ef3e5e0a37

View File

@@ -316,7 +316,7 @@ function! s:history_sink(type, lines)
endif
let key = a:lines[0]
let item = matchstr(a:lines[1], ': \zs.*')
let item = matchstr(a:lines[1], ' *[0-9]\+ *\zs.*')
if key == 'ctrl-e'
call histadd(a:type, item)
call feedkeys(a:type."\<up>")