55 lines
2.3 KiB
Bash
55 lines
2.3 KiB
Bash
# tmux.conf
|
|
bind r source-file /home/von/.tmux.conf\; display-message "Config reloaded."
|
|
bind s split-window -v
|
|
bind v split-window -h
|
|
bind h select-pane -L
|
|
bind j select-pane -D
|
|
bind k select-pane -U
|
|
bind l select-pane -R
|
|
bind < resize-pane -L 5
|
|
bind > resize-pane -R 5
|
|
bind - resize-pane -D 5
|
|
bind + resize-pane -U 5
|
|
bind m set-option -g mode-mouse on\; set-option -g mouse-select-pane on\; set-option -g mouse-select-window on\; set-option -g mouse-resize-pane on\; display-message "mouse mode ON"
|
|
bind M set-option -g mode-mouse off\; set-option -g mouse-select-pane off\; set-option -g mouse-select-window off\; set-option -g mouse-resize-pane off\; display-message "mouse mode OFF"
|
|
bind -n C-a display-message "Powered by tmux!"
|
|
bind -n M-w choose-tree -w
|
|
bind -n M-q choose-tree -s
|
|
bind -n M-` last-window
|
|
bind -n S-Pageup copy-mode -u
|
|
setw -g mode-keys vi
|
|
set -g base-index 0
|
|
set -g history-limit 10000
|
|
set -g set-titles off
|
|
set -g set-titles-string "#T"
|
|
set -g status-left-length 20
|
|
set -g status-right-length 40
|
|
set -g monitor-activity on
|
|
set -g terminal-overrides "rxvt-unicode*:sitm@,ritm@"
|
|
set -g default-terminal "screen-256color"
|
|
|
|
set -g status-bg "colour0"
|
|
set -g message-command-fg "colour7"
|
|
set -g status-justify "left"
|
|
set -g status-left-length "100"
|
|
set -g status "on"
|
|
set -g pane-active-border-fg "colour14"
|
|
set -g message-bg "colour11"
|
|
set -g status-right-length "100"
|
|
set -g status-right-attr "none"
|
|
set -g message-fg "colour7"
|
|
set -g message-command-bg "colour11"
|
|
set -g status-attr "none"
|
|
set -g status-utf8 "on"
|
|
set -g pane-border-fg "colour11"
|
|
set -g status-left-attr "none"
|
|
setw -g window-status-fg "colour10"
|
|
setw -g window-status-attr "none"
|
|
setw -g window-status-activity-bg "colour0"
|
|
setw -g window-status-activity-attr "none"
|
|
setw -g window-status-activity-fg "colour14"
|
|
setw -g window-status-bg "colour0"
|
|
set -g status-left "#[fg=colour15,bg=colour14,bold] #h #[fg=colour14,bg=colour11,nobold,nounderscore,noitalics]#[fg=colour7,bg=colour11] #S #[fg=colour11,bg=colour0,nobold,nounderscore,noitalics]#[default]"
|
|
set -g status-right "#[fg=colour10,bg=colour0]#I:#P #[fg=colour11,bg=colour0,nobold,nounderscore,noitalics]#[fg=colour7,bg=colour11] %a %e #[fg=colour14,bold]#[fg=colour7,bg=colour14] %k:%M "
|
|
setw -g window-status-format " #I:#W "
|
|
setw -g window-status-current-format "#[fg=colour7,bg=colour8] #I:#W #[default]"
|