mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-22 03:34:10 -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>'
|
nnoremap <silent><expr> <Leader>? ':h index.txt<CR>'
|
||||||
|
|
||||||
"toggle the display of the left gutter
|
"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
|
"toggle folded code at foldpoints
|
||||||
nnoremap <Space><Space> za
|
nnoremap <Space><Space> za
|
||||||
|
|
Loading…
Reference in a new issue