suplemon
suplemon copied to clipboard
[Wishlist] History for prompts like open-file (c-o) or search (c-f)
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.
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