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

[Wishlist] History for prompts like open-file (c-o) or search (c-f) #219

Open
Consolatis opened this issue Jan 4, 2018 · 1 comment
Open

Comments

@Consolatis
Copy link
Contributor

Consolatis commented Jan 4, 2018

History should also be preserved across editor restarts.
Maybe inside ~/.config/suplemon/modules/application_state.json or some other file inside the config directory.

Search history could either be preserved per file or globally.
Maybe limited by max amount last-recently-used.

@richrd
Copy link
Owner

richrd commented Jan 21, 2018

The application_state.json file could be a good place to store history.
We should define what prompts would benefit from history. Then decide how the history implementation could be generalized, so that the same implementation can be used for all prompts that support history but still have a different history per prompt type or file. I'm not sure the initial implementation needs per-file history, but that's something that could be discussed further.

At least the following prompts would benefit from history:

  • open file
  • save file
  • search
  • run command

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants