Skip to content

Conversation

m4rch3n1ng
Copy link
Contributor

revive of #13865, as the author does not have the time anymore (see #13865 (comment)), with the outstanding review resolved.

this still just sets the line_number to usize::MAX, but i think that should be fine.

closes #13865
fixes #13705

@m4rch3n1ng m4rch3n1ng changed the title set position to eof when only passing + without number set position to the last line when only passing + without number Oct 10, 2025
@m4rch3n1ng m4rch3n1ng changed the title set position to the last line when only passing + without number set position to last line when passing + arg without number Oct 10, 2025
@poliorcetics
Copy link
Contributor

Probably needs a doc update too

@m4rch3n1ng
Copy link
Contributor Author

mentioned, that you can omit the N in the +N cli argument in the --help output.

@m4rch3n1ng m4rch3n1ng force-pushed the update-plus-goto-argument-eof branch from a23561c to 3b79a69 Compare October 12, 2025 14:29
@the-mikedavis the-mikedavis merged commit 630107d into helix-editor:master Oct 13, 2025
7 checks passed
@m4rch3n1ng m4rch3n1ng deleted the update-plus-goto-argument-eof branch October 13, 2025 00:04
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.

Accept + flag for opening at last line of file

4 participants