Last active
September 8, 2020 08:57
-
-
Save dinesh0430/86c15a703ec7f37ddae242d5746050f4 to your computer and use it in GitHub Desktop.
Change shape on exit and enter in windows terminal.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if &term =~ '^xterm' | |
let &t_SI = "\<Esc>[5 q" " Insert mode | |
let &t_EI = "\<Esc>[0 q" " Normal mode | |
let &t_SR = "\<Esc>[7 q" " Replace mode | |
" 1 or 0 -> blinking block | |
" 3 -> blinking underscore | |
" 5 -> blinking vertical bar | |
" 6 -> solid vertical bar | |
endif | |
" Reference from: https://github.com/vim/vim/issues/6576 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment