Fixed tmux color
This commit is contained in:
parent
7bb1b1b533
commit
b3736e8d7c
1 changed files with 10 additions and 2 deletions
|
|
@ -1,11 +1,19 @@
|
|||
# Stop tmux from override terminal colors
|
||||
set-option -ga terminal-overrides ",xterm-256color:Tc"
|
||||
set -g default-terminal "tmux-256color"
|
||||
set -ga terminal-overrides ",*256col*:Tc"
|
||||
|
||||
# Change tmux prefix
|
||||
unbind C-b
|
||||
set-option -g prefix C-a
|
||||
bind-key C-a send-prefix
|
||||
|
||||
set -g mouse on
|
||||
#set -g mouse-resize-pane on
|
||||
#set -g mouse-select-pane on
|
||||
#set -g mouse-select-window on
|
||||
# For newer versions of tmux:
|
||||
set -g mouse on
|
||||
bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'select-pane -t=; copy-mode -e; #send-keys -M'"
|
||||
bind -n WheelDownPane select-pane -t= \; send-keys -M
|
||||
set -g status-style 'bg=#333333 fg=#5eacd3'
|
||||
|
||||
# Vim-like visual mode and yanking
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue