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:
parent
25d4f1df54
commit
3d5389c8d4
1 changed files with 4 additions and 0 deletions
|
@ -68,6 +68,10 @@ set -g @plugin 'Morantron/tmux-fingers'
|
||||||
|
|
||||||
run -b "${TMUX_PLUGIN_MANAGER_PATH}/tpm/tpm"
|
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.
|
## Begin theming > theme from github.com/jimeh/tmux-themepack, the powerline/default/blue theme.
|
||||||
## It is integrated with prefix highlight for this tmux conf
|
## It is integrated with prefix highlight for this tmux conf
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue