Add forward-single-char input command

This allows users to add custom keybindings to autocomplete only one
character at a time.

Resolves https://github.com/fish-shell/fish-shell/issues/4984
This commit is contained in:
Olivier FAURE
2020-07-21 15:08:38 +02:00
committed by Johannes Altmanninger
parent 6778d04aa5
commit e7f0b5801d
5 changed files with 45 additions and 25 deletions

View File

@@ -132,6 +132,8 @@ The following special input functions are available:
- ``forward-char``, move one character to the right
- ``forward-single-char``, move one character to the right; if an autosuggestion is available, only take a single char from it
- ``forward-word``, move one word to the right
- ``history-search-backward``, search the history for the previous match