summaryrefslogtreecommitdiff
path: root/.tmux.conf
diff options
context:
space:
mode:
Diffstat (limited to '.tmux.conf')
-rwxr-xr-x.tmux.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/.tmux.conf b/.tmux.conf
index c1a7e01..7b66371 100755
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -10,6 +10,15 @@ set -g terminal-overrides ',*:Tc'
# Pass through bracketed paste
bind-key ] run-shell "tmux set-buffer -- \"$(xclip -o -selection clipboard)\"; tmux paste-buffer"
+# Swap window
+bind-key -n M-a swap-window -t -1\; previous-window
+bind-key -n M-s swap-window -t +1\; next-window
+
+# Move
+bind-key -n M-q previous-window
+bind-key -n M-w next-window
+
+
# Explicitly enable bracketed paste in terminals that support it
set-option -ga terminal-features ',xterm*:clipboard,bpaste'