83 lines
2.4 KiB
Bash
83 lines
2.4 KiB
Bash
#set -g mouse on
|
|
set -g status-bg black
|
|
set -g status-fg white
|
|
set -g status-left '#[fg=green]#H'
|
|
set-window-option -g window-status-current-bg red
|
|
setw -g monitor-activity on
|
|
set -g visual-activity on
|
|
setw -g automatic-rename on
|
|
set -sg escape-time 1
|
|
set -g default-terminal "screen-256color"
|
|
set-option -g history-limit 50000
|
|
set -g set-titles-string "tmux.#I.#W"
|
|
set -g prefix C-a
|
|
bind C-a send-prefix
|
|
unbind C-b
|
|
|
|
|
|
|
|
|
|
|
|
bind-key -n M-v split-window -h
|
|
bind-key -n M-V split-window -v
|
|
bind-key -n M-K swap-pane -s :. -t :.- \; select-pane -t :.-
|
|
bind-key -n M-J swap-pane -s :. -t :.+ \; select-pane -t :.+
|
|
bind-key -n M-k select-pane -U
|
|
bind-key -n M-j select-pane -D
|
|
bind-key -n M-h select-pane -L
|
|
bind-key -n M-l select-pane -R
|
|
bind-key -n M-C kill-pane
|
|
bind-key F5 source ~/.tmux.conf
|
|
bind-key -n M-Space new-window \; rename-window "-"
|
|
bind-key -n M-[ previous-window
|
|
# bind-key -n M-S-] break-pane
|
|
bind-key -n M-] next-window
|
|
bind-key -n M-f resize-pane -Z
|
|
|
|
|
|
|
|
|
|
bind-key H resize-pane -L 5
|
|
bind-key J resize-pane -D 5
|
|
bind-key K resize-pane -U 5
|
|
bind-key L resize-pane -R 5
|
|
setw -g mode-keys vi
|
|
#bind-key -t vi-copy v begin-selection
|
|
#bind-key -t vi-copy y copy-pipe "reattach-to-user-namespace"
|
|
set-option -g pane-border-fg colour235
|
|
set-option -g pane-active-border-fg colour240
|
|
set-option -g status on
|
|
set -g status-interval 5
|
|
set -g status-right-length 60
|
|
set -g status-right "#[fg=white]#S #I:#P #[fg-yellow] %d %b %Y #[fg=green] %l:%M:%S %p"
|
|
bind-key R source-file ~/.tmux.conf
|
|
# default statusbar colors
|
|
set-option -g status-bg colour235 #base02
|
|
set-option -g status-fg colour136 #yellow
|
|
set-option -g status-attr default
|
|
|
|
# default window title colors
|
|
set-window-option -g window-status-fg colour244 #base0
|
|
set-window-option -g window-status-bg default
|
|
#set-window-option -g window-status-attr dim
|
|
|
|
# active window title colors
|
|
set-window-option -g window-status-current-fg colour166 #orange
|
|
set-window-option -g window-status-current-bg default
|
|
#set-window-option -g window-status-current-attr bright
|
|
|
|
# pane border
|
|
set-option -g pane-border-fg colour235 #base02
|
|
set-option -g pane-active-border-fg colour240 #base01
|
|
|
|
# message text
|
|
set-option -g message-bg colour235 #base02
|
|
set-option -g message-fg colour166 #orange
|
|
|
|
# pane number display
|
|
set-option -g display-panes-active-colour colour33 #blue
|
|
set-option -g display-panes-colour colour166 #orange
|
|
|
|
# clock
|
|
set-window-option -g clock-mode-colour colour64 #green
|