mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 13:10:04 +08:00
fix(mapping): fix SPC a r/o
This commit is contained in:
parent
6a303b7896
commit
0d84d91b4e
@ -676,13 +676,13 @@ function! SpaceVim#mapping#space#init() abort
|
|||||||
\ ]
|
\ ]
|
||||||
\ , 1)
|
\ , 1)
|
||||||
if has('nvim-0.7.0')
|
if has('nvim-0.7.0')
|
||||||
call SpaceVim#custom#SPC('nnoremap', ['a', 'o'], 'lua require("spacevim.plugin.todo").list()', 'open-todo-manager', 1)
|
call SpaceVim#mapping#space#def('nnoremap', ['a', 'o'], 'lua require("spacevim.plugin.todo").list()', 'open-todo-manager', 1)
|
||||||
else
|
else
|
||||||
call SpaceVim#custom#SPC('nnoremap', ['a', 'o'], 'call SpaceVim#plugins#todo#list()', 'open-todo-manager', 1)
|
call SpaceVim#mapping#space#def('nnoremap', ['a', 'o'], 'call SpaceVim#plugins#todo#list()', 'open-todo-manager', 1)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if has('nvim-0.9.5')
|
if has('nvim-0.9.5')
|
||||||
call SpaceVim#custom#SPC('nnoremap', ['a', 'r'], 'lua require("spacevim.plugin.record-key").toggle()', 'toggle-record-keyboard', 1)
|
call SpaceVim#mapping#space#def('nnoremap', ['a', 'r'], 'lua require("spacevim.plugin.record-key").toggle()', 'toggle-record-keyboard', 1)
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user