Last active
April 16, 2018 15:26
-
-
Save lheckemann/b131a0ae88bfebc320124bd13f6d481d to your computer and use it in GitHub Desktop.
get vim to set cursor shape
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 exists("$TMUX") | |
" normal mode: default cursor | |
let &t_EI = "\<Esc>[0 q" | |
" insert mode: vertical line | |
let &t_SI = "\<Esc>[6 q" | |
" replace mode: underline | |
let &t_SR = "\<Esc>[3 q" | |
endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment