add description about additional input functions

This commit is contained in:
sgtm0113 2024-09-01 07:28:36 +00:00
parent 9384374c8b
commit 2549e5f07c

View file

@ -125,9 +125,18 @@ The following special input functions are available:
``backward-bigword`` ``backward-bigword``
move one whitespace-delimited word to the left move one whitespace-delimited word to the left
``backward-delete-bigword``
deletes one whitespace-delimited word of input to the left of the cursor
``backward-delete-char`` ``backward-delete-char``
deletes one character of input to the left of the cursor deletes one character of input to the left of the cursor
``backward-delete-path-component``
deletes one path component of input to the left of the cursor. A path component is everything likely to belong to a path component, i.e. not any of the following: `/={,}'\":@ |;<>&`, plus newlines and tabs.
``backward-delete-word``
deletes the word of input to the left of the cursor
``backward-kill-bigword`` ``backward-kill-bigword``
move the whitespace-delimited word to the left of the cursor to the killring move the whitespace-delimited word to the left of the cursor to the killring
@ -173,9 +182,15 @@ The following special input functions are available:
``complete-and-search`` ``complete-and-search``
invoke the searchable pager on completion options (for convenience, this also moves backwards in the completion pager) invoke the searchable pager on completion options (for convenience, this also moves backwards in the completion pager)
``delete-bigword``
deletes one whitespace-delimited word to the right of the cursor
``delete-char`` ``delete-char``
delete one character to the right of the cursor delete one character to the right of the cursor
``delete-word``
deletes the word to the right of the cursor
``delete-or-exit`` ``delete-or-exit``
delete one character to the right of the cursor, or exit the shell if the commandline is empty delete one character to the right of the cursor, or exit the shell if the commandline is empty