Expand abbr explicitly (#5762)

* Add "expand-abbr" bind function

This can be used to explictly allow expanding abbreviations.

* Make expanding abbr explicit

NOTE: This accepts them for space only, we currently also do it for \n
and \r.

* Remove now dead code

We no longer trigger an abbr implicitly, so we can remove the code
that does it.

* Fix comment

[ci skip]
This commit is contained in:
Fabian Homborg
2019-04-01 15:59:15 +02:00
committed by GitHub
parent 469a8880aa
commit 0d72912641
6 changed files with 31 additions and 34 deletions

View File

@@ -112,6 +112,8 @@ The following special input functions are available:
- ``end-selection``, end selecting text
- ``expand-abbr`` expands any abbreviation currently under the cursor
- ``forward-bigword``, move one whitespace-delimited word to the right
- ``forward-char``, move one character to the right