add F2-S to sync panes in a window and F2-s to stop the syncing
This commit is contained in:
parent
7805a51c73
commit
c433d24b9b
|
@ -1,5 +1,5 @@
|
|||
# afx .tmux.conf 2017-2018
|
||||
# --- v7.1 ---
|
||||
# --- v7.2 ---
|
||||
|
||||
# unbind all does not recover the default binds but we can list them
|
||||
# and fill the 'gaps' with manual rebind in the conf file using this command:
|
||||
|
@ -39,6 +39,10 @@ bind-key x confirm-before -p "kill-pane #W? (y/n)" kill-pane
|
|||
bind-key X confirm-before -p "kill-window #W? (y/n)" kill-window
|
||||
bind-key N command-prompt 'rename-session %%'
|
||||
bind-key f command-prompt "find-window '%%'"
|
||||
bind-key S set-window-option synchronize-panes on \;\
|
||||
display-message "Sync panes ON"
|
||||
bind-key s set-window-option synchronize-panes off \;\
|
||||
display-message "Sync panes OFF"
|
||||
bind-key i display-message
|
||||
bind-key l last-window
|
||||
bind-key w choose-window
|
||||
|
@ -102,7 +106,7 @@ set -g status-left "#[fg=colour232,bg=colour39,bold] #I:#P #[fg=colour233,bg=col
|
|||
set -g status-right-bg colour233
|
||||
set -g status-right-fg colour243
|
||||
set -g status-right-length 150
|
||||
set -g status-right "#[fg=colour235,bg=colour233]#[fg=colour240,bg=colour235] %H:%M:%S #[fg=colour240,bg=colour235]#[fg=colour233,bg=colour240] %d-%b-%y #[fg=colour245,bg=colour240]#[fg=colour232,bg=colour245,bold] v7.1 "
|
||||
set -g status-right "#[fg=colour235,bg=colour233]#[fg=colour240,bg=colour235] %H:%M:%S #[fg=colour240,bg=colour235]#[fg=colour233,bg=colour240] %d-%b-%y #[fg=colour245,bg=colour240]#[fg=colour232,bg=colour245,bold] v7.2 "
|
||||
# Window status
|
||||
set -g window-status-format " #I:#W#F "
|
||||
set -g window-status-current-format " #I:#W#F "
|
||||
|
|
Loading…
Reference in a new issue