eyebrowse
eyebrowse copied to clipboard
Feature request: Move window config
It would be nice if window configs could be moved.
There are two types of movements that would be useful:
(1) - Moving windows "left" or "right" (that is, swapping the window config locations with those to the left or to the right).
(2) - Moving windows to an arbitrary location.
Examples of (1) above:
Original window config layout: [1, 2, 3, 4]
After moving window config 2 right: [1, 3, 2, 4]
After moving it right again: [1, 3, 4, 2]
After moving it right again: Either: [2, 3, 4, 1]
or no change: [1, 3, 4, 2]
(depending on wrapping setting)
Examples of (2) above:
Original window config layout: [1, 2, 3, 4]
After moving window config 2 to 4: [1, 3, 4, 2]
I Second this
I also want similar feature but not exactly the way above. I think the new feature could be:
- reassign a layout's number, e.g.
1 3 5
==reassign 1 to 8==>3 5 8
- edit all layouts in an ibuffer fasion, e.g. in a buffer like below, I can move between lines using
j
/k
orn
/p
, andr
to rename a layout,a
(assign) to reassign a number to it.
1 yesterday's minor bug
3 feature to be delivered by friday
9 emacs config
The second may be a bit complicated and unnecessary, the first alone should mostly suffice.
The thing is, eyebrowse lets us assign arbitrary numbers to layouts, like 1 3 9
, so moving layouts left and right, like the OP in this issue, feels a bit wrong.
+1 Moving configs would also allow us to renumber configs automatically (perhaps using the eyebrowse-post-window-switch-hook
?), like Vim does by default and Tmux (if you set set -g renumber-windows on
). Not being able to move configs limits my usage of eyebrowse because I cannot reliably switch between configs based on numbers.