mirror of
https://gitlab.com/sagidayan/linux-config.git
synced 2024-11-21 23:05:25 +00:00
tmux: Config update
This commit is contained in:
parent
4f5b52b6fd
commit
dd5aa469dc
1 changed files with 7 additions and 5 deletions
|
@ -14,16 +14,16 @@ bind -n M-h select-pane -L
|
|||
bind -n M-l select-pane -R
|
||||
bind -n M-k select-pane -U
|
||||
bind -n M-j select-pane -D
|
||||
|
||||
|
||||
# <prefix>-h|l|Left|Right
|
||||
bind-key h previous-window
|
||||
bind-key Left previous-window
|
||||
bind-key l next-window
|
||||
bind-key Right next-window
|
||||
|
||||
|
||||
# Mouse mode
|
||||
setw -g mouse on
|
||||
|
||||
|
||||
# Set easier window split keys
|
||||
bind-key | split-window -h -c "#{pane_current_path}"
|
||||
bind-key \\ split-window -h -c "#{pane_current_path}"
|
||||
|
@ -89,7 +89,7 @@ set -g history-limit 5000
|
|||
bind -n C-k clear-history
|
||||
|
||||
# Default Colors
|
||||
set -g default-terminal "xterm-256color"
|
||||
set -g default-terminal "tmux-256color"
|
||||
|
||||
# Home/End support
|
||||
bind -n End send-key C-e
|
||||
|
@ -153,9 +153,11 @@ set-window-option -g window-status-format '#[fg=#6699cc,bg=#2d4d2d] #I #[fg=#999
|
|||
|
||||
# make foreground window look like bold yellow foreground tab
|
||||
set-window-option -g window-status-current-style none
|
||||
set-window-option -g window-status-current-format '#[fg=#f99157]#[fg=#6699cc]#I #[fg=#ffffff,bg=#6699cc] #W #[default]'
|
||||
set-window-option -g window-status-current-format '#[fg=#f99157]#[fg=#6699cc]#I #{?window_zoomed_flag,[🔎] ,}#[fg=#ffffff,bg=#6699cc] #W #[default]'
|
||||
|
||||
# active terminal yellow border, non-active white
|
||||
set -g pane-border-style bg=default
|
||||
set -g pane-border-style fg="#999999"
|
||||
set -g pane-active-border-style fg="#f99157"
|
||||
|
||||
#set-hook -g after-resize-pane 'if "[ #{window_zoomed_flag} -eq 1 ]" "run \"tmux select-pane -P bg=red\"" "run \"tmux select-pane -P bg=black\""'
|
||||
|
|
Loading…
Reference in a new issue