mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 10:30:05 +08:00
perf(history): update register @/
This commit is contained in:
parent
c2899ae1f8
commit
503842a9a3
@ -54,6 +54,7 @@ function! s:read_cache() abort
|
||||
if type(his) ==# type({})
|
||||
call map(deepcopy(his.cmd), 'histadd("cmd", v:val)')
|
||||
call map(deepcopy(his.search), 'histadd("search", v:val)')
|
||||
let @/ = histget('search', -1)
|
||||
let s:filepos = get(his, 'filepos', {})
|
||||
endif
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user