0

I have a bunch of tmux panes open and I would like to sort some of them from the list that I can bring up with Ctrl-b ".

In gnu-screen, I can move specific items up and down with the comma and semi-colon keys (IIRC). Is there something similar I can do in tmux other than lots of swap-window -s s -t t?

719016
  • 9,922
  • 20
  • 85
  • 158

3 Answers3

1

https://github.com/alexras/tmux-screnum/ gives me almost what I need :-)

719016
  • 9,922
  • 20
  • 85
  • 158
0

The easiest way is to script up the command and then launch it from a tmux shortcut.

stsquad
  • 5,712
  • 3
  • 36
  • 54
0

As 2020 from this issue you can change (alias swap, mov) windows by draging the tab with the mouse with :

bind-key -n MouseDrag1Status swap-window -d -t=
Tinmarino
  • 3,693
  • 24
  • 33