diff --git a/website/docs/commands.md b/website/docs/commands.md index 9088b7916..6c4b76c22 100644 --- a/website/docs/commands.md +++ b/website/docs/commands.md @@ -38,7 +38,9 @@ cog.out(get_help_md()) # Keybindings -The interactive prompt is built with [prompt-toolkit](https://github.com/prompt-toolkit/python-prompt-toolkit) which provides a lot of Emacs and Vi-style keyboard. Some emacs bindings you may find useful are +The interactive prompt is built with [prompt-toolkit](https://github.com/prompt-toolkit/python-prompt-toolkit) which provides emacs and vi keybindings. + +## Emacs - `Ctrl-A` : Move cursor to the start of the line. - `Ctrl-B` : Move cursor back one character. @@ -51,3 +53,6 @@ The interactive prompt is built with [prompt-toolkit](https://github.com/prompt- - `Ctrl-P` : Move up to the previous history entry. - `Ctrl-R` : Reverse search in command history. + +## Vi +