Skip to content

Comments

Allow opening files with garbage behing colon#85

Open
xim wants to merge 1 commit intobogado:mainfrom
xim:open-files-with-garbage-after-colon
Open

Allow opening files with garbage behing colon#85
xim wants to merge 1 commit intobogado:mainfrom
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.
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.

1 participant