1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 17:30:04 +08:00

Add option for real time guide

This commit is contained in:
wsdjeg 2017-01-15 19:50:56 +08:00
parent 8d53ecb8bd
commit 2eee6ef8ad
2 changed files with 11 additions and 0 deletions

View File

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

View File

@ -0,0 +1,4 @@
if g:spacevim_realtime_leader_guide
nnoremap <silent><nowait> <leader> :<c-u>LeaderGuide '\'<CR>
vnoremap <silent> <leader> :<c-u>LeaderGuideVisual '\'<CR>
endif