mirror of
https://github.com/prurigro/darkcloud-vimconfig.git
synced 2024-11-22 06:44:09 -05:00
Don't mess with folds when toggling the gutter
This commit is contained in:
parent
e1d5a9846e
commit
3618028990
1 changed files with 1 additions and 1 deletions
|
@ -453,7 +453,7 @@
|
|||
nnoremap <silent><expr> <Leader>? ':h index.txt<CR>'
|
||||
|
||||
"toggle the display of the left gutter
|
||||
nnoremap <silent><expr> ` ':if (&number)<Bar>set nonumber<Bar>if (&foldenable)<Bar>set nofoldenable<Bar>endif<Bar>if exists("b:sy")<Bar>SignifyDisable<Bar>endif<Bar>else<Bar>set number<Bar>if !(&foldenable)<Bar>set foldenable<Bar>endif<Bar>if exists("b:sy")<Bar>SignifyEnable<Bar>endif<Bar>endif<CR>:echo "gutter visibility toggled"<CR>'
|
||||
nnoremap <silent><expr> ` ':if (&number)<Bar>set nonumber<Bar>if exists("b:sy")<Bar>SignifyDisable<Bar>endif<Bar>else<Bar>set number<Bar>if exists("b:sy")<Bar>SignifyEnable<Bar>endif<Bar>endif<CR>:echo "gutter visibility toggled"<CR>'
|
||||
|
||||
"toggle folded code at foldpoints
|
||||
nnoremap <Space><Space> za
|
||||
|
|
Loading…
Reference in a new issue