Fixed bindings in SpaceVim

master
Eric Renfro 4 months ago
parent 2ea129fab7
commit ec26039608
  1. 18
      .SpaceVim.d/autoload/myspacevim.vim
  2. 8
      .SpaceVim.d/init.toml

@ -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

@ -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"

Loading…
Cancel
Save