mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 13:00:04 +08:00
Add option for real time guide
This commit is contained in:
parent
8d53ecb8bd
commit
2eee6ef8ad
@ -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
|
||||
|
4
config/plugins_before/vim-leader-guide.vim
Normal file
4
config/plugins_before/vim-leader-guide.vim
Normal 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
|
Loading…
Reference in New Issue
Block a user