Skip to content

New action: create nextfree - #9

Closed
MaxGyver83 wants to merge 1 commit into
rpmohn:mainfrom
MaxGyver83:new-action-create-nextfree
Closed

MaxGyver83 wants to merge 1 commit into
rpmohn:mainfrom
MaxGyver83:new-action-create-nextfree

Conversation

@MaxGyver83

Copy link
Copy Markdown
Contributor

Add action to create a window on the first available unused tag. Bind it to C-g n, by default.

Example:

Three windows are assigned to tag 1, one window is assigned to tag 2. Tag 1 is selected. C-g n creates a new window and assigns it to tag 3. (Same effect as using this key combo: C-g v 3 C-g c, but shorter.)

Add action to create a window on the first available unused tag. Bind it to C-g n, by default.
@rpmohn

rpmohn commented May 26, 2026

Copy link
Copy Markdown
Owner

This is an interesting idea. I think I'd like to implement it in two parts. First, add a 'view _free' action. Second, allow action chaining, which I've been thinking about anyway. So, you could implement create nextfree with something like this: C-g n = view _free; create. If there are no unoccupied tags then that action would do nothing and create would happen on the currently viewed tags. How does this sound? -Ross

@MaxGyver83

Copy link
Copy Markdown
Contributor Author

This is an interesting idea. I think I'd like to implement it in two parts. First, add a 'view _free' action. Second, allow action chaining, which I've been thinking about anyway. So, you could implement create nextfree with something like this: C-g n = view _free; create. If there are no unoccupied tags then that action would do nothing and create would happen on the currently viewed tags. How does this sound? -Ross

Sounds good.

@rpmohn

rpmohn commented May 27, 2026

Copy link
Copy Markdown
Owner

Implemented in commit e69470d. I added the default binding in a4.ini of C-g n = view _free; create. Thanks for the suggestion!

@rpmohn rpmohn closed this May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants