doc: shell: document Ctrl+N and Ctrl+P meta-keys

Document bash and emacs-like way of navigating history in shell.

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
This commit is contained in:
Marcin Niestroj 2019-06-24 08:00:09 +02:00 committed by Anas Nashif
commit a3b363e1ce

View file

@ -365,6 +365,10 @@ The shell module supports the following meta keys:
* - :kbd:`Ctrl + l` * - :kbd:`Ctrl + l`
- Clears the screen and leaves the currently typed command at the top of - Clears the screen and leaves the currently typed command at the top of
the screen. the screen.
* - :kbd:`Ctrl + n`
- Moves in history to next entry.
* - :kbd:`Ctrl + p`
- Moves in history to previous entry.
* - :kbd:`Ctrl + u` * - :kbd:`Ctrl + u`
- Clears the currently typed command. - Clears the currently typed command.
* - :kbd:`Ctrl + w` * - :kbd:`Ctrl + w`