Feature request: align hint links to center or right
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 27k
- Forks
- 2.6k
- PR merge metrics
- No merged PRs in 30d
Description
When you are selecting links using the f command, the link hints sometimes hides a bit much of beginning of the link text. This is especially problematic if you have activated the option Use the link's name and characters for link-hint filtering.
It would be great if it would be possible to configure the hint to be centered or right aligned relative to the link, rather than left-aligned. This would make more of the beginning of the link visible. As an example, https://github.com/brookhong/Surfingkeys has this setting, hintAlign.
Personally, I would even prefer the default to be centered.
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 f command's link-hint rendering and the option for using link names and characters during filtering. Compare the requested centered or right-aligned behavior with Surfingkeys' hintAlign; done means the alignment is configurable and more of the link text remains visible, including when the option is enabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100