diff --git a/README.asciidoc b/README.asciidoc index 90ab8bcee..839b80c1f 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -149,8 +149,8 @@ Contributors, sorted by the number of commits in descending order: * Felix Van der Jeugt * Martin Tournoij * Raphael Pierzina -* Joel Torstensson * Ryan Roden-Corrent +* Joel Torstensson * Patric Schmitz * Claude * Corentin Julé diff --git a/doc/help/commands.asciidoc b/doc/help/commands.asciidoc index 10dda0517..97896ae64 100644 --- a/doc/help/commands.asciidoc +++ b/doc/help/commands.asciidoc @@ -94,13 +94,14 @@ How many pages to go back. [[bind]] === bind -Syntax: +:bind [*--mode* 'MODE'] [*--force*] 'key' 'command'+ +Syntax: +:bind [*--mode* 'MODE'] [*--force*] 'key' ['command']+ Bind a key to a command. ==== positional arguments * +'key'+: The keychain or special key (inside `<...>`) to bind. -* +'command'+: The command to execute, with optional args. +* +'command'+: The command to execute, with optional args, or not given to print the current binding. + ==== optional arguments * +*-m*+, +*--mode*+: A comma-separated list of modes to bind the key in (default: `normal`).