Fixed bindings in SpaceVim

This commit is contained in:
Eric Renfro 2022-08-17 21:45:03 -04:00
parent 23dbb55f14
commit 4840ff04f7
2 changed files with 4 additions and 22 deletions

View file

@ -1,18 +0,0 @@
function! myspacevim#before() abort
set clipboard=unnamedplus
" inoremap <C-a> <Home>
" inoremap <C-e> <End>
" call SpaceVim#custom#SPCGroupName(['b'], '+MyCustom')
" call SpaceVim#custom#SPC('nore', ['b', '['], 'sbprevious', 1)
" call SpaceVim#custom#SPC('nore', ['b', ']'], 'sbnext', 1)
endfunction
function! myspacevim#after() abort
set clipboard=unnamedplus
" inoremap <C-a> <Home>
" inoremap <C-e> <End>
call SpaceVim#custom#SPC('nore', ['b', '['], 'sbprevious', 1)
call SpaceVim#custom#SPC('nore', ['b', ']'], 'sbnext', 1)
endfunction

View file

@ -32,8 +32,8 @@
disabled_plugins = ["fcitx.vim"]
automatic_update = true
filemanager = "nerdtree"
bootstrap_before = 'myspacevim#before'
bootstrap_after = 'myspacevim#after'
#bootstrap_before = 'myspacevim#before'
#bootstrap_after = 'myspacevim#after'
# Enable autocomplete layer
[[layers]]
@ -104,6 +104,6 @@
[[layers]]
name = 'lang#vim'
[[custom_plugins]]
name = "saltstack/salt-vim"
#[[custom_plugins]]
#name = "saltstack/salt-vim"