Fix #3228: improve docs about current binds

This commit is contained in:
Oliver Blanthorn 2026-07-22 19:44:39 +02:00
parent 2d28b57d0d
commit fd0351eba4
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3

View file

@ -5,11 +5,13 @@ Command mode, i.e, "the console", is used for accessing less frequently used com
- `tabdetach` to detach the current tab into a new window
- `bind [key] [excommand]` to bind keys
- `viewsource` to view the current page's source
- `viewconfig nmaps` to view the current normal mode bindings
- `viewconfig nmaps`, `viewconfig hintmaps`, or `viewconfig exmaps` to view the current normal, hint, or command mode bindings
- `help [command]` to access help on a command
- `help [key]` to access help on an existing binding
- `composite [command 1]; [command 2]; [command 3]...` lets you execute commands sequentially, useful for binding. If you want the results of each command to be piped to the other, use pipes `|` instead of semi-colons.
Completions for `:bind --mode=` list the available modes. Add a space after selecting a mode, for example `:bind --mode=ex `, to see its current bindings.
We support a handful of keybinds in the console:
- `Up`/`Down` to search in command history: e.g. `:tabopen` `Up` will show you the most recent tabopen command.