mirror of
https://github.com/DictXiong/dotfiles.git
synced 2024-11-24 07:37:01 +08:00
feat(tmux): prefix + C-x to toggle synchronize-panes
This commit is contained in:
parent
92aa5fa920
commit
f6ab625b89
|
@ -26,6 +26,7 @@ bind | split-window -h -c "#{pane_current_path}"
|
||||||
# other key bindings
|
# other key bindings
|
||||||
bind r source-file ~/.tmux.conf \; display-message "tmux.conf reloaded"
|
bind r source-file ~/.tmux.conf \; display-message "tmux.conf reloaded"
|
||||||
bind m run 'old=$(tmux show -gv mouse); new="off"; if [ "$old" = "off" ]; then new="on"; fi; tmux set -g mouse $new && tmux display-message toggle\ mouse\ mode\ $new'
|
bind m run 'old=$(tmux show -gv mouse); new="off"; if [ "$old" = "off" ]; then new="on"; fi; tmux set -g mouse $new && tmux display-message toggle\ mouse\ mode\ $new'
|
||||||
|
bind C-x set-window-option synchronize-panes\; display-message "synchronize-panes is now #{?pane_synchronized,on,off}"
|
||||||
|
|
||||||
# styles
|
# styles
|
||||||
# status bar
|
# status bar
|
||||||
|
|
Loading…
Reference in New Issue
Block a user