Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Feature request: Move window config #71

Open
diamond-lizard opened this issue Sep 30, 2017 · 3 comments
Open

Feature request: Move window config #71

diamond-lizard opened this issue Sep 30, 2017 · 3 comments

Comments

@diamond-lizard
Copy link

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]

@bizzyman
Copy link

I Second this

@JJPandari
Copy link

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.

@ilmotta
Copy link

ilmotta commented Mar 20, 2019

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants