From 9bcfbd342857e920b4637b7a404f8526e2719fba Mon Sep 17 00:00:00 2001 From: Yuki Inoue Date: Mon, 9 May 2016 12:34:48 +0900 Subject: [PATCH] Add synchronize helper methods --- lib/layout-helpers.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/layout-helpers.sh b/lib/layout-helpers.sh index b021d67..11a60c8 100644 --- a/lib/layout-helpers.sh +++ b/lib/layout-helpers.sh @@ -113,6 +113,14 @@ balance_windows_horizontal() { tmuxifier-tmux select-layout even-horizontal } +synchronize_on() { + tmuxifier-tmux set-window-option synchronize-panes on +} + +synchronize_off() { + tmuxifier-tmux set-window-option synchronize-panes off +} + # Send/paste keys to the currently active pane/window. # # Arguments: