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"] disabled_plugins = ["fcitx.vim"]
automatic_update = true automatic_update = true
filemanager = "nerdtree" filemanager = "nerdtree"
bootstrap_before = 'myspacevim#before' #bootstrap_before = 'myspacevim#before'
bootstrap_after = 'myspacevim#after' #bootstrap_after = 'myspacevim#after'
# Enable autocomplete layer # Enable autocomplete layer
[[layers]] [[layers]]
@ -104,6 +104,6 @@
[[layers]] [[layers]]
name = 'lang#vim' name = 'lang#vim'
[[custom_plugins]] #[[custom_plugins]]
name = "saltstack/salt-vim" #name = "saltstack/salt-vim"