12

Can the order of Byobu tabs be rearranged?

I have a group of Byobu tabs that are logically related, and I'd like them to be adjacent to each other.

3 Answers 3

13

Only with tmux backend:

Ctrl + Shift + F3 move window left

Ctrl + Shift + F4 move window right

You can only move one step at a time but the process is quite intuitive and fast.

5

While Byobu doesn't have a hotkey for this, it's possible to move windows using the underlying Tmux functionality. See the manpage:

move-window [-ardk] [-s src-window] [-t dst-window] (alias: movew) This is similar to link-window, except the window at src-window is moved to dst-window. With -r, all windows in the session are renumbered in sequential order, respecting the base-index option.

Full disclosure: I'm the author and maintainer of Byobu.

4
  • The mangp.es/tmux URL seems to point nowhere.
    – boardrider
    May 15, 2018 at 23:37
  • That was a typo. Fixed now. manpg.es/tmux May 16, 2018 at 0:09
  • Thanks, @Dustin. Just to make it clear to others, an example of a full command (moving window 16 to 5) is: tmux movew -s 16 -t 5
    – boardrider
    May 16, 2018 at 17:51
  • Any idea what the options a, d and k do?
    – Hrishikesh
    May 12, 2019 at 14:42
1

I have F12 set as the escape-sequence, and this works for me for setting the number of the current tab, to set the order of the tabs in Byobu:

  1. Press F12
  2. Press .
  3. Type the new number for the tab, and press ENTER

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .