Skip to content
A syntactical directory of keyboard shortcuts.
Branch: master
Clone or download
Latest commit f8b5131 Aug 2, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
shortcuts Fix Fantastical error Aug 2, 2019
README.md Remove parsing and parsed shortcuts Jul 4, 2019
package-lock.json 3.8.1 Aug 2, 2019
package.json 3.8.1 Aug 2, 2019

README.md

Keyboard Shortcut Directory

A JSON directory of keyboard shortcuts, written in a consistent syntax.

Why?

Currently used to power cmdspace.io.

Formatting

keyboard-shortcut-directory uses a standardized, abbreviated format so that shortcuts are easy to type.

Keys

Abbreviation Meaning
cmd command
ctrl control
opt option
shift shift
alt alt
ret return
esc escape
del delete
ent enter
pgdown page down
pgup page up
space space bar
down, up, left, right arrow keys

Actions

Abbreviation Meaning
+ combine keys
empty space then
/ or
- through
(...) instruction

All characters should be lowercase. Instructions are surrounded by space on each side. "then" will not be placed before or after an instruction. E.g. g p will result in "g then p" but cmd+g (then type what you need, then) p will result in "command + g then type what you need, then p"

Examples

Listed below are examples of formatted keyboard shortcuts and their translated meaning.

Formatted Shortcut Translated Shortcut
cmd+space command + space
cmd+g p command + g then p
(Type a search term, then press) return Type a search term, then press return
e/y e or y
F1-F12 F1 through F12

Contributing

Pull requests are welcome!

You can’t perform that action at this time.