Increase the async update rate and fix gutter toggling

This commit is contained in:
Kevin MacMartin 2020-07-13 17:19:23 -04:00
parent 6366170e59
commit fe450f0c48
2 changed files with 2 additions and 1 deletions

View file

@ -489,7 +489,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>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 "toggle folded code at foldpoints
nnoremap <Space><Space> za nnoremap <Space><Space> za

View file

@ -71,6 +71,7 @@
"}}} "}}}
"USER INTERFACE: {{{ "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 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 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 set winwidth=1 winminwidth=1 "set the minimum window width to 1 columns