mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-14 03:57:59 +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")',
|
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)
|
\ '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',
|
call SpaceVim#mapping#space#def('nnoremap', ['s', '/'], 'FlyGrep',
|
||||||
\ 'grep-on-the-fly', 1)
|
\ 'grep-on-the-fly', 1)
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user