diff options
| author | Blista Kanjo | 2022-07-18 02:01:02 -0400 |
|---|---|---|
| committer | Blista Kanjo | 2022-07-18 02:01:02 -0400 |
| commit | d8123431d98ddc79f30ff326970aa999eca2aa04 (patch) | |
| tree | bdb85072ab326be03722707d881d765a9bf0d5fc | |
| parent | 70f49f12b472908a331732927b513ea5bee2f6e4 (diff) | |
feat: added cursor change from line to block, between insert and normal mode
| -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 |
