diff --git a/.SpaceVim.d/autoload/SpaceVim/dev/release.vim b/.SpaceVim.d/autoload/SpaceVim/dev/release.vim new file mode 100644 index 000000000..bc9b479a5 --- /dev/null +++ b/.SpaceVim.d/autoload/SpaceVim/dev/release.vim @@ -0,0 +1,3 @@ +function! SpaceVim#dev#release#open() abort + echom 1 +endfunction diff --git a/.SpaceVim.d/init.vim b/.SpaceVim.d/init.vim index 89fca97d9..d4f0194eb 100644 --- a/.SpaceVim.d/init.vim +++ b/.SpaceVim.d/init.vim @@ -1 +1,2 @@ let g:spacevim_force_global_config = 1 +call SpaceVim#custom#SPC('nnoremap', ['a', 'r'], 'call SpaceVim#dev#release#open()', 'Release SpaceVim', 1)