charmbracelet / charmbracelet/bubbles
Key combinations
- Dominant language
- Go
- Stars
- 8.9k
- Forks
- 457
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 5
Description
Is there an easy way of detecting key combinations, similar to how vim key combos work?
I'm guessing I can implement something myself by recording the time between key presses and all that.
The use case is to allow more complex keybindings in a program that are easier to remember.
Prefixing key combos with something like vim's `` key, or global actions with g.
Contributor guide
Research direction
The issue names no file, test, or entry point, so begin by locating the repository's keyboard input and keybinding handling. Done would mean a documented, tested way to recognize multi-key combinations or a leader prefix for more complex bindings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100