summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2020-06-18 14:56:47 -0700
committerBen Sima <ben@bsima.me>2020-06-18 14:56:47 -0700
commitcd91afea0d9e3ed6191885c1e25cc5f1cd614b27 (patch)
treef79811fa2610e40b2f446a7a3d342390fce7c9a4
parent9128ee40ec77b5df0ac0ba38254098b2d653327e (diff)
tmux: next/previous layout
-rw-r--r--lib/tmux6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/tmux b/lib/tmux
index 5a68853..01b1440 100644
--- a/lib/tmux
+++ b/lib/tmux
@@ -36,6 +36,10 @@ bind -n S-Right next-window
# Set current window pane to 80 columns
bind-key 8 resize-pane -x 80
+# cycle pane layout
+bind-key N next-layout
+bind-key P previous-layout
+
## Text manipulation
# vim-like copy/paste
@@ -47,7 +51,7 @@ bind ] paste-buffer
# copy/paste with xclip
bind-key -Tcopy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -sel clip -i'
-# buffer
+# select buffer to paste from
bind Space choose-buffer
## Meta