merge some local tmux config changes to git
This commit is contained in:
parent
53f8ad5c2c
commit
aabf03d69b
|
@ -1 +1 @@
|
||||||
Subproject commit 4d9e5ce9a7d8db3c3aadcae81580a5c3ff5a0e8b
|
Subproject commit 8f56a8bdf39d7727ab0e220f0164f78c77f9c50e
|
|
@ -20,6 +20,7 @@ bind-key a send-prefix
|
||||||
set -g status-fg '#EEEEEE'
|
set -g status-fg '#EEEEEE'
|
||||||
set -g status-bg '#333333'
|
set -g status-bg '#333333'
|
||||||
set -g pane-border-status top
|
set -g pane-border-status top
|
||||||
|
set -g pane-border-format '╢#[fg=#AA2277,italics]#{session_group}#[default] #[fg=#337755,bold,normal]#P/#D #[default,italics,fg=yellow]#{pane_tty}#[default]╟'
|
||||||
set -g display-panes-colour '#334400'
|
set -g display-panes-colour '#334400'
|
||||||
set -g mouse off
|
set -g mouse off
|
||||||
set -s escape-time 0
|
set -s escape-time 0
|
||||||
|
@ -27,14 +28,21 @@ set -g visual-activity on
|
||||||
set -g status-left-length 200
|
set -g status-left-length 200
|
||||||
set -g status-right-length 200
|
set -g status-right-length 200
|
||||||
set -g status-left '#{prefix_highlight} #[fg=blue,bold]#h #S:#I.#P (#D) #[default]'
|
set -g status-left '#{prefix_highlight} #[fg=blue,bold]#h #S:#I.#P (#D) #[default]'
|
||||||
set -g status-right '#T #[fg=yellow,bold]#(uptime -p)#[default] #[fg=cyan,bold]%Y-%m-%d %H:%M:%S#[default] '
|
set -g status-right '#T #[fg=yellow,bold]#( awk "{print \$1/86400,\"days\"}" /proc/uptime )#[default] #[fg=cyan,bold]%Y-%m-%d %H:%M:%S#[default] '
|
||||||
set -g set-titles on
|
set -g set-titles on
|
||||||
|
|
||||||
setw -g aggressive-resize on
|
setw -g aggressive-resize on
|
||||||
setw -g monitor-activity on
|
setw -g monitor-activity on
|
||||||
|
|
||||||
# The following three makes italics work in tmux
|
# The following three makes italics work in tmux
|
||||||
set -g xterm-keys on
|
set -g xterm-keys on
|
||||||
set -g default-terminal "xterm-256color"
|
set -g default-terminal "tmux-256color"
|
||||||
|
|
||||||
|
# set 24bit color for terminal that support it
|
||||||
set -as terminal-overrides ',xterm*:sitm=\E[3m'
|
set -as terminal-overrides ',xterm*:sitm=\E[3m'
|
||||||
|
set -as terminal-overrides ",xterm*:Tc"
|
||||||
|
set -as terminal-overrides ",alacritty*:Tc"
|
||||||
|
set -as terminal-overrides ",tmux-*:Tc"
|
||||||
|
|
||||||
# Refresh status line every 5 seconds
|
# Refresh status line every 5 seconds
|
||||||
set -g status-interval 5
|
set -g status-interval 5
|
||||||
|
@ -47,8 +55,12 @@ bind-key e set-window-option synchronize-panes on
|
||||||
bind-key E set-window-option synchronize-panes off
|
bind-key E set-window-option synchronize-panes off
|
||||||
bind m set -g mouse on \; display 'Mouse: ON'
|
bind m set -g mouse on \; display 'Mouse: ON'
|
||||||
bind M set -g mouse off \; display 'Mouse: OFF'
|
bind M set -g mouse off \; display 'Mouse: OFF'
|
||||||
bind + new-window -d -n tmux-zoom 'clear && echo TMUX ZOOM && read' \; swap-pane -s tmux-zoom.0 \; select-window -t tmux-zoom
|
bind + new-window -d -n tmux-zoom 'clear && echo TMUX ZOOM && read' \
|
||||||
bind - last-window \; swap-pane -s tmux-zoom.0 \; kill-window -t tmux-zoom
|
\; 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
|
||||||
|
|
||||||
# prefix + / to search
|
# prefix + / to search
|
||||||
bind-key / copy-mode \; send-key ?
|
bind-key / copy-mode \; send-key ?
|
||||||
|
@ -59,3 +71,4 @@ if "test -f ~/.config/tmux/late.conf" {
|
||||||
|
|
||||||
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
||||||
run -b "$TMUX_PLUGINS/tpm/tpm"
|
run -b "$TMUX_PLUGINS/tpm/tpm"
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 6db5ddc6559ad8f66ca22a29365b34ad8d573884
|
Subproject commit ca484eac407a7a2c35437c93e1c3248512ae2061
|
Loading…
Reference in New Issue