diff --git a/autoload/SpaceVim.vim b/autoload/SpaceVim.vim index 05f6a293f..941039c0e 100644 --- a/autoload/SpaceVim.vim +++ b/autoload/SpaceVim.vim @@ -57,6 +57,13 @@ let g:spacevim_vim_plug_installed = 0 " let g:spacevim_plugin_bundle_dir = '~/.cache/vimplugs' " < let g:spacevim_plugin_bundle_dir = $HOME. join(['', '.cache', 'vimfiles', ''], '/') +"" +" Disable/Enable realtime leader guide, by default it is 0. +" to enable this feature: +" > +" let g:spacevim_realtime_leader_guide = 1 +" < +let g:spacevim_realtime_leader_guide = 0 let g:spacevim_autocomplete_method = '' let g:spacevim_enable_cursorcolumn = 0 let g:spacevim_enable_neomake = 1 diff --git a/config/plugins_before/vim-leader-guide.vim b/config/plugins_before/vim-leader-guide.vim new file mode 100644 index 000000000..c4ac2d0f6 --- /dev/null +++ b/config/plugins_before/vim-leader-guide.vim @@ -0,0 +1,4 @@ +if g:spacevim_realtime_leader_guide + nnoremap :LeaderGuide '\' + vnoremap :LeaderGuideVisual '\' +endif