From ef672165a7a2e1bca1a06569c76845571031a541 Mon Sep 17 00:00:00 2001 From: Jakub Rzeszutko Date: Fri, 11 Jan 2019 15:14:43 +0100 Subject: [PATCH] shell: documentation update according to new meta-keys Updated shell.rst accoring to newly added meta-keys. Signed-off-by: Jakub Rzeszutko --- doc/subsystems/shell/shell.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/subsystems/shell/shell.rst b/doc/subsystems/shell/shell.rst index 7c3623033a3..797b3eecf72 100644 --- a/doc/subsystems/shell/shell.rst +++ b/doc/subsystems/shell/shell.rst @@ -365,11 +365,19 @@ The shell module supports the following meta keys: - Action * - ctrl + a - Moves the cursor to the beginning of the line. + * - ctrl + b + - Moves the cursor backward one character. * - ctrl + c - Preserves the last command on the screen and starts a new command in a new line. + * - ctrl + d + - Deletes the character under the cursor. * - ctrl + e - Moves the cursor to the end of the line. + * - ctrl + f + - Moves the cursor forward one character. + * - ctrl + k + - Deletes from the cursor to the end of the line. * - ctrl + l - Clears the screen and leaves the currently typed command at the top of the screen. @@ -378,6 +386,10 @@ The shell module supports the following meta keys: * - ctrl + w - Removes the word or part of the word to the left of the cursor. Words separated by period instead of space are treated as one word. + * - alt + b + - Moves the cursor backward one word. + * - alt + f + - Moves the cursor forward one word. Usage *****