Skip to content

Support trailing garbage on line.#35

Merged
wsdjeg merged 1 commit intowsdjeg:masterfrom
xim:open-files-with-garbage-after-colon
Feb 14, 2026
Merged

Support trailing garbage on line.#35
wsdjeg merged 1 commit intowsdjeg:masterfrom
xim:open-files-with-garbage-after-colon

Conversation

@xim
Copy link
Contributor

@xim xim commented Sep 7, 2022

E.g if someone does a grep and gets output like this:

$ grep -r TODO
myfile:TODO add some stuff
otherfile:TODO other stuff

Then I like to just choose a file by double clicking the name and writing e.g. vim myfile:TODO without having to erase the TODO bit.

This is accomplished by allowing zero digits in the line number.

E.g if someone does a grep and gets output like this:

$ grep -r TODO
myfile:TODO add some stuff
otherfile:TODO other stuff

Then I like to just choose a file by double clicking the name and
writing e.g. `vim myfile:TODO` without having to erase the TODO bit.

This is accomplished by allowing zero digits in the line number.
@xim
Copy link
Contributor Author

xim commented Dec 17, 2024

I'd still love to get this change in. =)

@wsdjeg wsdjeg merged commit e1fe684 into wsdjeg:master Feb 14, 2026
@wsdjeg
Copy link
Owner

wsdjeg commented Feb 14, 2026

merged, thanks.

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