eyebrowse icon indicating copy to clipboard operation
eyebrowse copied to clipboard

Feature request: Move window config

Open diamond-lizard opened this issue 7 years ago • 3 comments

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]

diamond-lizard avatar Sep 30 '17 14:09 diamond-lizard

I Second this

bizzyman avatar Apr 28 '18 17:04 bizzyman

I also want similar feature but not exactly the way above. I think the new feature could be:

  1. reassign a layout's number, e.g. 1 3 5 ==reassign 1 to 8==> 3 5 8
  2. edit all layouts in an ibuffer fasion, e.g. in a buffer like below, I can move between lines using j/k or n/p, and r 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.

JJPandari avatar Dec 03 '18 02:12 JJPandari

+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.

ilmotta avatar Mar 20 '19 02:03 ilmotta