aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/register.rs
Commit message (Collapse)AuthorAge
* Use refactored Registers typeMichael Davis2023-07-31
| | | | | | | This is an unfortunately noisy change: we need to update virtually all callsites that access the registers. For reads this means passing in the Editor and for writes this means handling potential failure when we can't write to a clipboard register.
* feat(commands): add clear-register typable command (#5695)jorge2023-04-27
| | | Co-authored-by: Jorge <chorcheus@tutanota.com>
* Refactor blackhole register (#4504)ath32022-11-15
|
* fixes showing the last prompt on empty input (#2870)Saber Haj Rabiee2022-06-24
|
* prompt: If submitting empty prompt, use default (last used)Blaž Hrastnik2022-06-06
|
* Show infobox with register contentsGokul Soumya2022-02-10
|
* Implement black hole register (#1165)ath32021-11-28
|
* Mark a few functions as `const`Blaž Hrastnik2021-10-24
|
* Implement in-memory prompt historyBlaž Hrastnik2021-07-26
| | | | | Implementation is similar to kakoune: we store the entries into a register.
* Remove RwLock for registersBenoît CORTIER2021-06-15
| | | | | | | | Registers are stored inside `Editor` and accessed without `RwLock`. To work around ownership, I added a sister method to `Editor::current`: `Editor::current_with_context`. I tried to modify `Editor::current` directly but it's used at a lot of places so I reverted into this for now at least.
* Implement register selectionBenoît CORTIER2021-06-07
| | | | | | User can select register to yank into with the " command. A new state is added to `Editor` and `commands::Context` structs. This state is managed by leveraging a new struct `RegisterSelection`.
* Simple yank/paste registers.Blaž Hrastnik2020-10-13