Make cancel-commandline actual bind function

This was always awkward as fish script, and had problems with
interrupting the autoloading.

Note that we still leave the old function intact to facilitate easier
upgrading for now.

Fixes #7145.
This commit is contained in:
Fabian Homborg
2020-07-01 20:54:13 +02:00
parent de47a096e8
commit eb35975c0f
6 changed files with 30 additions and 2 deletions

View File

@@ -98,6 +98,8 @@ The following special input functions are available:
- ``cancel``, cancel the current commandline and replace it with a new empty one
- ``cancel-commandline``, cancel the current commandline and replace it with a new empty one, leaving the old one in place with a marker to show that it was cancelled
- ``capitalize-word``, make the current word begin with a capital letter
- ``complete``, guess the remainder of the current token