From 25695f67a3c54b329ee5d2db71662041629159b2 Mon Sep 17 00:00:00 2001 From: deflax Date: Thu, 27 Sep 2018 10:29:12 +0300 Subject: [PATCH] meta+space resets layout, meta+l cycle through layouts, meta+q is last window --- configs/.tmux.conf | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/configs/.tmux.conf b/configs/.tmux.conf index a501ce1..c5532d6 100644 --- a/configs/.tmux.conf +++ b/configs/.tmux.conf @@ -31,7 +31,8 @@ bind-key R refresh-client bind-key : command-prompt bind-key c new-window bind-key w list-window -bind-key Space next-layout +bind-key l next-layout +bind-key Space set-window-option main-pane-height 60 \; select-layout even-vertical \; display-message "layout reset to even vertical" bind-key d detach bind-key t clock-mode bind-key n command-prompt 'rename-window %%' @@ -39,12 +40,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 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 q last-window bind-key w choose-window bind-key Escape copy-mode -u bind-key Up copy-mode -u