diff options
| -rw-r--r-- | .vimrc | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -95,3 +95,24 @@ Plug 'tpope/vim-surround' Plug 'junegunn/fzf' call plug#end() +" Use a line cursor within insert mode and a block cursor everywhere else. +" +" Reference chart of values: +" Ps = 0 -> blinking block. +" Ps = 1 -> blinking block (default). +" Ps = 2 -> steady block. +" Ps = 3 -> blinking underline. +" Ps = 4 -> steady underline. +" Ps = 5 -> blinking bar (xterm). +" Ps = 6 -> steady bar (xterm). +let &t_SI = "\e[6 q" +let &t_EI = "\e[2 q" + +" Fix the cursor change timeout between insert and normal mode (see function +" above) +" +" +set ttimeout +set ttimeoutlen=1 +set listchars=tab:>-,trail:~,extends:>,precedes:<,space:. +set ttyfast |
