Custom key bindings
Development reference · View source
The keys section configures keyboard actions and pane gestures:
| Key | What it does |
|---|---|
keys.leader | Replaces Space as the leader prefix. |
keys.window | Replaces Ctrl-w as the window prefix. |
keys.rebind | Moves bindings Runyte already ships to other keys. |
keys.bind | Assigns named actions to keys, per mode. Also removes bindings. |
keys.defaults | false starts bind from an empty keyboard instead of Runyte’s. See Without the built-in keys
. |
keys.pointer | Replaces editor, pane, media, and preview pointer gestures. |
keys.ui | Replaces actions in prompts, menus, overlays, confirmations, and native controls. |
keys.scopes | Assigns or removes actions in individual editor views and result lists. |
keysis read from the configuration file and fromkeybinds.d/beside it; the[config]page never writes it. Run:config-reloadafter editing.- Plugin commands are bound separately, with
plugins[].bindingsin the plugin guide . :help key-actionslists every bindable action inside the editor. The same list is in Bindable action reference .