Advertisement
Guest User

https://stackoverflow.com/questions/54409248/how-to-make-cursor-show-as-vertical-line-in-insert-mode

a guest
Dec 19th, 2023
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.17 KB | None | 0 0
  1. let &t_SI = "\<Esc>]50;CursorShape=1\x7"
  2. let &t_SR = "\<Esc>]50;CursorShape=2\x7"
  3. let &t_EI = "\<Esc>]50;CursorShape=0\x7"
  4.  
  5. autocmd VimLeave * silent !echo -ne "\033[0 q"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement