Fixed bindings in SpaceVim

This commit is contained in:
Eric Renfro 2022-08-17 21:45:03 -04:00
parent 2ea129fab7
commit ec26039608
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"