From fd0351eba403f0b8fe6c8f4ede25ecfe3a3c3a5d Mon Sep 17 00:00:00 2001 From: Oliver Blanthorn Date: Wed, 22 Jul 2026 19:44:39 +0200 Subject: [PATCH] Fix #3228: improve docs about current binds --- src/static/clippy/4-command_mode.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/static/clippy/4-command_mode.md b/src/static/clippy/4-command_mode.md index cba1f6e1..5c137103 100644 --- a/src/static/clippy/4-command_mode.md +++ b/src/static/clippy/4-command_mode.md @@ -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.