psoxizsh/etc/tmux-1.conf

24 lines
1.2 KiB
Plaintext
Raw Normal View History

2017-12-13 13:08:26 +00:00
set-option -g prefix C-a
bind-key C-a last-window
bind-key a send-prefix
2017-12-18 14:44:55 +00:00
#set -g mode-mouse off
#set -g mouse-resize-pane off
#set -g mouse-select-pane off
#set -g mouse-select-window off
2017-12-13 13:08:26 +00:00
set -g base-index 1
set -s escape-time 0
setw -g aggressive-resize on
setw -g monitor-activity on
set -g visual-activity on
set -g status-left ' #[fg=blue,bold]#h #S:#I.#P (#D) #[default]'
set -g status-right '#T #[fg=yellow,bold]#(uptime | cut -d, -f4 | cut -d " " -f 4-7)#[default] #[fg=cyan,bold]%Y-%m-%d %H:%M:%S#[default] '
set -g status-fg '#EEEEEE'
set -g status-bg '#333333'
set -g set-titles on
bind-key e set-window-option synchronize-panes on
bind-key E set-window-option synchronize-panes off
2017-12-18 14:44:55 +00:00
bind m set -g mode-mouse on \; set -g mouse-resize-pane on \; set -g mouse-select-pane on \; set -g mouse-select-window on \; display 'Mouse: ON'
bind M set -g mode-mouse off \; set -g mouse-resize-pane off \; set -g mouse-select-pane off \; set -g mouse-select-window off \; display 'Mouse: OFF'
2017-12-13 13:08:26 +00:00
bind + new-window -d -n tmux-zoom 'clear && echo TMUX ZOOM && read' \; swap-pane -s tmux-zoom.0 \; select-window -t tmux-zoom
bind - last-window \; swap-pane -s tmux-zoom.0 \; kill-window -t tmux-zoom