:buffer-nth command - #13650
Open
Axlefublr wants to merge 1 commit into
Open
Conversation
|
Using a bufferline makes having hotkeys for this command even more useful. Tmux uses a similar approach so this would fit neatly into my workflow without needing any brain power for adjustment. |
Axlefublr
force-pushed
the
Axlefublr/buffer_nth
branch
from
June 14, 2025 16:33
b085918 to
a078a1a
Compare
nik-rev
reviewed
Jun 17, 2025
Axlefublr
force-pushed
the
Axlefublr/buffer_nth
branch
from
June 21, 2025 08:14
030aaac to
3d150d7
Compare
Axlefublr
force-pushed
the
Axlefublr/buffer_nth
branch
from
August 4, 2025 05:27
3d150d7 to
c449add
Compare
Axlefublr
force-pushed
the
Axlefublr/buffer_nth
branch
from
November 16, 2025 15:59
c449add to
8aef2a6
Compare
Axlefublr
force-pushed
the
Axlefublr/buffer_nth
branch
from
December 4, 2025 03:41
8aef2a6 to
85cdce7
Compare
Axlefublr
force-pushed
the
Axlefublr/buffer_nth
branch
from
January 5, 2026 19:02
85cdce7 to
c593404
Compare
Axlefublr
force-pushed
the
Axlefublr/buffer_nth
branch
from
January 25, 2026 06:06
c593404 to
6c0863d
Compare
Axlefublr
force-pushed
the
Axlefublr/buffer_nth
branch
from
September 1, 2026 13:16
6c0863d to
6088eae
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Say I have 5 buffers open currently.
My usecase is to have hotkeys where ctrl+1 goes to the first one, ctrl+2 goes to the second one, … ctrl+0 goes to the last one. Kinda like in a browser!
This will aid a more buffer-closey approach, along with the
:buffer-next&:buffer-previouscommands, as due to helix not having live buffer reloading, closing buffers aggressively is a good idea.My first thought was to have the user simply provide a negative number to count from the end, but that results in them having to
-- -1.-r 1is slightly nicer.