mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-14 02:18:00 +08:00
chore(core): fix flygrep mapping
This commit is contained in:
parent
d7faed1cdd
commit
40f686cc3a
@ -637,7 +637,7 @@ function! SpaceVim#mapping#space#init() abort
|
||||
call SpaceVim#mapping#space#def('nnoremap', ['s', 't', 'J'], 'call SpaceVim#plugins#searcher#find(expand("<cword>"), "pt")',
|
||||
\ 'Background search cursor words in project with pt', 1)
|
||||
|
||||
if g:spacevim_flygrep_next_version
|
||||
if g:spacevim_flygrep_next_version && has('nvim-0.10.0')
|
||||
call SpaceVim#mapping#space#def('nnoremap', ['s', '/'], 'FlyGrep',
|
||||
\ 'grep-on-the-fly', 1)
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user