Add documentation for nextd-or-forward-word and prevd-or-backward-word readline functions

This commit is contained in:
Andrey Mishchenko 2021-12-08 11:34:38 -05:00 committed by Johannes Altmanninger
parent f88bb35204
commit 45dbfda5cc

View file

@ -227,12 +227,18 @@ The following special input functions are available:
``kill-word``
move the next word to the killring
``nextd-or-forward-word``
if the commandline is empty, then move forward in the directory history, otherwise move one word to the right
``or``
only execute the next function if the previous succeeded (note: only some functions report success)
``pager-toggle-search``
toggles the search field if the completions pager is visible.
``prevd-or-backward-word``
if the commandline is empty, then move backward in the directory history, otherwise move one word to the left
``repaint``
reexecutes the prompt functions and redraws the prompt (also ``force-repaint`` for backwards-compatibility)