Skip to content

Open :members in the same window by default - #458

Merged
ulyssa merged 3 commits into
ulyssa:mainfrom
VAWVAW:members-same-window
Aug 16, 2026
Merged

Open :members in the same window by default#458
ulyssa merged 3 commits into
ulyssa:mainfrom
VAWVAW:members-same-window

Conversation

@VAWVAW

@VAWVAW VAWVAW commented Jun 14, 2025

Copy link
Copy Markdown
Contributor

Afaik :members is the only command that opens a split. This is disrupting for a workflow that uses only one window and the jumplist.

The old behavior can be recreated using the macro :rightb :vs<Enter>:vert :res 30<Enter>:members<Enter>.

@ulyssa ulyssa changed the title Open :members in the same window Open :members in the same window by default Aug 16, 2026
@ulyssa
ulyssa force-pushed the members-same-window branch from fd1b87a to 802c82a Compare August 16, 2026 06:38
@ulyssa

ulyssa commented Aug 16, 2026

Copy link
Copy Markdown
Owner

I think I've convinced myself that opening in the same window is the better default. I originally made it a split to allow for a sidebar type of view, but the default width of 30 columns means that it's never quite wind enough for some display names.

Making it open in the same window by default should hopefully be a better flow. I've added a settings.members_split option which can force a split instead, and also updated the PR to use cmd.switch for generating the action, so that something like :vert members can override it.

@ulyssa
ulyssa enabled auto-merge (squash) August 16, 2026 06:39
@ulyssa
ulyssa merged commit 1045a31 into ulyssa:main Aug 16, 2026
5 checks passed
@VAWVAW
VAWVAW deleted the members-same-window branch August 16, 2026 19:34
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