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

Last opened position #203

Open
ZaxonXP opened this issue Mar 21, 2024 · 2 comments
Open

Last opened position #203

ZaxonXP opened this issue Mar 21, 2024 · 2 comments

Comments

@ZaxonXP
Copy link

ZaxonXP commented Mar 21, 2024

It would be nice feature to have last opened position for the file (when specified by a command line parameter).

@walles
Copy link
Owner

walles commented Mar 21, 2024

Can you give an example of what you'd want the command line to look like?

@ZaxonXP
Copy link
Author

ZaxonXP commented Mar 21, 2024

Something like:

-keep <pos_file>
          Keep the last possition of the opened file

or

-remember <pos_file>
          Remember last position of the opened file

With these two alternatives pos_file is the path to the file in which the info about opened file and line number would be stored. That would only work if the input is a file and not stdin or pipe used.

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

No branches or pull requests

2 participants