Any interest in sxhkd-like syntax for multiple similar bindings?
- Dominant language
- C
- Stars
- 8.1k
- Forks
- 241
- PR merge metrics
- No merged PRs in 30d
Description
On linux I use `sxhkd`, where you can write keybinds like this:
```
# focus the node in the given direction
super + {h,j,k,l}
bspc node -f {west,south,north,east}
```
Multiple `{}` groups are supported too, as long as the keybind and the command have the same number of groups.
In skhd of course the binding would be 8 lines long:
```
cmd + h
chunkc tiling::window -f west
cmd + j
chunkc tiling::window -f south
# same with k and l
```
I don't know if you're interested in functionality like this? (or if you don't care much about writing it, but would be fine with a PR?)
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names no files or tests. Start by locating skhd's binding syntax and expansion entry points, then compare them with the sxhkd examples; done would mean defining and implementing grouped bindings with matching keybind and command groups, including the equivalent directional mappings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, macos
- Domain
- cli, operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100