mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-12-22 16:00:24 -05:00
Increase the async update rate and fix gutter toggling
This commit is contained in:
parent
6366170e59
commit
fe450f0c48
2 changed files with 2 additions and 1 deletions
|
@ -489,7 +489,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>if (b:sy.active)<Bar>SignifyToggle<Bar>endif<Bar>endif<Bar>else<Bar>set number<Bar>if !(&foldenable)<Bar>set foldenable<Bar>endif<Bar>if exists("b:sy")<Bar>if !(b:sy.active)<Bar>SignifyToggle<Bar>endif<Bar>endif<Bar>endif<CR>:echo "gutter visibility toggled"<CR>'
|
||||
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>'
|
||||
|
||||
"toggle folded code at foldpoints
|
||||
nnoremap <Space><Space> za
|
||||
|
|
|
@ -71,6 +71,7 @@
|
|||
"}}}
|
||||
|
||||
"USER INTERFACE: {{{
|
||||
set updatetime=100 "set updates to occur every 100ms
|
||||
set laststatus=2 showcmd statusline=%F%m%r%h%w[%L][%{&ff}]%y[%p%%][%04l,%04v] "statusline init and config
|
||||
set winheight=1 winminheight=1 "set the minimum window height to 1 lines
|
||||
set winwidth=1 winminwidth=1 "set the minimum window width to 1 columns
|
||||
|
|
Loading…
Reference in a new issue