git://git.iain.cx/iain
/
profile.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revamp pane and window swapping.
[profile.git]
/
.tmux.conf
diff --git
a/.tmux.conf
b/.tmux.conf
index
d4077d3
..
3345bd0
100644
(file)
--- a/
.tmux.conf
+++ b/
.tmux.conf
@@
-66,7
+66,12
@@
bind C-^ last-pane
bind J select-pane -D
bind K select-pane -U
# Swap panes.
bind J select-pane -D
bind K select-pane -U
# Swap panes.
-bind w swap-pane
+bind o swap-pane -D
+bind C-o swap-pane -D
+bind O swap-pane -U
+bind w command-prompt -p "Select [<window>.]<pane> to swap:" 'swap-pane -s . -t %1'
+# Swap windows.
+bind W choose-window "swap-window -t '%%'"
# Show panes.
bind = display-panes
# Move the current pane into a separate window.
# Show panes.
bind = display-panes
# Move the current pane into a separate window.