User guide

Custom key bindings

Development reference · View source

The keys section changes the keyboard. It has four parts:

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 is read from the file only; 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