Add term cursor overrides to tmux

Allows cursor to be changed by nvim whenever
it mode-changes. Works in urxvt, untested
in other terminals.
This commit is contained in:
Marty Oehme 2019-02-26 10:45:28 +01:00
parent 25d4f1df54
commit 3d5389c8d4

View file

@ -68,6 +68,10 @@ set -g @plugin 'Morantron/tmux-fingers'
run -b "${TMUX_PLUGIN_MANAGER_PATH}/tpm/tpm"
# Set Cursor terminal override, so nvim can change cursor style when changing modes
# more info see nvim, :help tui-cursor-shape
set -ga terminal-overrides '*:Ss=\E[%p1%d q:Se=\E[ q'
## Begin theming > theme from github.com/jimeh/tmux-themepack, the powerline/default/blue theme.
## It is integrated with prefix highlight for this tmux conf