User guide

Custom key bindings

Development reference · View source

The keys section configures keyboard actions and pane gestures:

KeyWhat it does
keys.leaderReplaces Space as the leader prefix.
keys.windowReplaces Ctrl-w as the window prefix.
keys.rebindMoves bindings Runyte already ships to other keys.
keys.bindAssigns named actions to keys, per mode. Also removes bindings.
keys.defaultsfalse starts bind from an empty keyboard instead of Runyte’s. See Without the built-in keys .
keys.pointerReplaces editor, pane, media, and preview pointer gestures.
keys.uiReplaces actions in prompts, menus, overlays, confirmations, and native controls.
keys.scopesAssigns or removes actions in individual editor views and result lists.
  • keys is read from the configuration file and from keybinds.d/ beside it; the [config] page never writes it. Run :config-reload after editing.
  • Plugin commands are bound separately, with plugins[].bindings in the plugin guide .
  • :help key-actions lists every bindable action inside the editor. The same list is in Bindable action reference .

In this section