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

Show register contents when typed #965

Closed
EpocSquadron opened this issue Nov 3, 2021 · 2 comments · Fixed by #980
Closed

Show register contents when typed #965

EpocSquadron opened this issue Nov 3, 2021 · 2 comments · Fixed by #980
Assignees
Labels
A-helix-term Area: Helix term improvements C-enhancement Category: Improvements E-good-first-issue Call for participation: Issues suitable for new contributors

Comments

@EpocSquadron
Copy link
Contributor

One of the goals of helix is to emulate and improve upon the interactive visual feedback that kakoune brought to the vim model. One feature that hasn't seen improvement is with registers. What if typing " brings up a list of all occupied registers? This can help the user recall which identifiers they are juggling in a given session.

Further imagine that typing the identifier for one of those occupied registers shows the contents in a pop-up. Obviously some contents will be too large, but even a short truncated version can cue the user on what was stored, and we could print the number of stored selections as well. The user will then have confidence that they are using the right register for the command they are about to type.

There is even potential that we could reuse the picker ui, treating " as the trigger for the ui.

@EpocSquadron EpocSquadron added the C-enhancement Category: Improvements label Nov 3, 2021
@sudormrfbin
Copy link
Member

We can reuse the infobox for this, which would show a nice little popup similar to what we have for keybindings now.

@archseer
Copy link
Member

archseer commented Nov 3, 2021

👍🏻 from me, I used https://github.com/junegunn/vim-peekaboo in my neovim setup

@kirawi kirawi added A-helix-term Area: Helix term improvements E-good-first-issue Call for participation: Issues suitable for new contributors labels Nov 3, 2021
@sudormrfbin sudormrfbin self-assigned this Nov 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-helix-term Area: Helix term improvements C-enhancement Category: Improvements E-good-first-issue Call for participation: Issues suitable for new contributors
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants