hjkl navigation
Open
Nobody has claimed this yet.
C-enhancement
- Dominant language
- Rust
- Stars
- 22.2k
- Forks
- 1.9k
- PR merge metrics
- PR metrics pending
Description
Problem
One has to leave the home row to navigate a page using the keyboard
Proposed Solution
Implement the following keybindings:
- h - go to the previous page
- j - scroll the page a bit down similar to pressing the down arrow
- k - scroll the page a bit up similar pressing the up arrow
- l - go to the next page
Also consider these keybindings:
- d - scroll the page down similar to pressing the PgDown button
- u - scroll the page up similar to pressing the PgUp button
Notes
I might implement it myself
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
The issue names no files, tests, or existing entry points, so first locate where page navigation and keyboard input are handled. Done means the specified h, j, k, and l bindings work as described, with d and u considered separately.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100