HistoryHint(Word)Complete events don't work in Helix Normal mode
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 818
- Forks
- 249
- Avg merge
- 4d 14h
- Merged PRs (30d)
- 30
Description
Bug report form
- I have done a basic search of the issue tracker to find any existing issues that are similar.
- I have checked that my version is at least the latest stable release available via my installation method.
Describe the bug
Great news about Helix mode, there's a way to switch to normal mode using keybinding.
Thanks a lot for that!
One small issue creeped in, unfortunately, that makes it a bit inconvenient to use.
Once in Helix normal mode events like HistoryHintComplete and HistoryHintWordComplete don't work.
Certain other events do work though.
Also, these same events work in Helix insert mode
I will test further to identify the pattern and report back in this BR.
How to reproduce
- Enable Helix mode and switch to normal
- Type a command that was used before so that a completion hint appears
- Press
lor<left>to use the completion
Expected behavior
The hint should be activated and cursor goes to the end
Configuration
0.115.1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the HistoryHintComplete and HistoryHintWordComplete handlers and their keybindings in Helix normal mode, comparing them with the working insert-mode path. Reproduce with configuration 0.115.1 by triggering a history hint and pressing l or Left; done means the hint activates and the cursor moves to the end in normal mode.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 66/100