mirror of
https://github.com/Crocmagnon/dotfiles.git
synced 2024-11-22 06:28:08 +01:00
fix tmux for nvim
This commit is contained in:
parent
500fbc0cef
commit
f3bacd1462
1 changed files with 6 additions and 2 deletions
|
@ -21,6 +21,10 @@ bind -n M-Down select-pane -D
|
|||
|
||||
set -g mouse on
|
||||
|
||||
# nvim fixes
|
||||
set -sg escape-time 300
|
||||
set -g focus-events on
|
||||
|
||||
# don't rename windows automatically
|
||||
set-option -g allow-rename off
|
||||
|
||||
|
@ -45,8 +49,8 @@ bind -T copy-mode-vi MouseDragEnd1Pane send -X copy-pipe-and-cancel
|
|||
bind P paste-buffer
|
||||
|
||||
# color support
|
||||
set -g default-terminal "xterm-256color"
|
||||
set -ga terminal-overrides ",xterm-256color:Tc"
|
||||
set -g default-terminal "tmux-256color"
|
||||
set -ga terminal-overrides ",tmux-256color:Tc"
|
||||
|
||||
bind u capture-pane \;\
|
||||
save-buffer /tmp/tmux-buffer \;\
|
||||
|
|
Loading…
Reference in a new issue