Removed tmux 2.x inner/outer nesting
This commit is contained in:
@@ -84,24 +84,6 @@ set-option -g display-panes-active-colour brightwhite
|
|||||||
set-option -g clock-mode-colour white
|
set-option -g clock-mode-colour white
|
||||||
set-option -g clock-mode-style 24
|
set-option -g clock-mode-style 24
|
||||||
|
|
||||||
|
# REQUIRES TMUX 2.x
|
||||||
# use F12 to move to inner/outer tmux sessions when nested
|
# use F12 to move to inner/outer tmux sessions when nested
|
||||||
# https://medium.freecodecamp.org/tmux-in-practice-local-and-nested-remote-tmux-sessions-4f7ba5db8795
|
# https://medium.freecodecamp.org/tmux-in-practice-local-and-nested-remote-tmux-sessions-4f7ba5db8795
|
||||||
bind -T root F12 \
|
|
||||||
set prefix None \;\
|
|
||||||
set key-table off \;\
|
|
||||||
set window-status-format "#[fg=colour18,bg=brightblack] #I #[fg=white,bg=black] #W " \;\
|
|
||||||
set window-status-current-format "#[fg=colour18,bg=brightblac] #I #[fg=white,bg=blac] #W " \;\
|
|
||||||
set status-bg black \;\
|
|
||||||
set status-left "#[fg=white,bg=blac] #S #[fg=default,bg=default] " \;\
|
|
||||||
set status-right " #[fg=brightwhite,bg=black] %a, %d %b %H:%M #[fg=white,bg=blac] #(whoami)@#h " \;\
|
|
||||||
if -F '#{pane_in_mode}' 'send-keys -X cancel' \;\
|
|
||||||
#display-message "ENTER inner tmux ..."
|
|
||||||
bind -T off F12 \
|
|
||||||
set -u prefix \;\
|
|
||||||
set -u key-table \;\
|
|
||||||
set -u window-status-format \;\
|
|
||||||
set -u window-status-current-format \;\
|
|
||||||
set -u status-left \;\
|
|
||||||
set -u status-right \;\
|
|
||||||
set -u status-bg \;\
|
|
||||||
#display-message "EXIT inner tmux ..."
|
|
||||||
|
|||||||
Reference in New Issue
Block a user