Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add line number token that can be passed into "open" command #8

Open
pbkhrv opened this issue Oct 26, 2019 · 0 comments
Open

add line number token that can be passed into "open" command #8

pbkhrv opened this issue Oct 26, 2019 · 0 comments
Labels

Comments

@pbkhrv
Copy link
Owner

pbkhrv commented Oct 26, 2019

If a match is on a line inside the note, being able to open that file on that line might be helpful (NV does that IIRC).
For instance, gedit accepts line number as argument, so the command would look like this:

gedit %fn +%ln

where %fn is "note file path" and %ln is "matching note line number"

Possible issues:

  • if don't have line number, the command would look different - have 2 diff commands in configuration? that gets a little complicated.

Answer might come after I and others use the extension for a while.

@pbkhrv pbkhrv added the maybe label Oct 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant