Closed
Description
In readline and editline (and zle and emacs), CTRL-T transposes two letters as in bestline, but with the following addition: if cursor is at eol, swap the two last letters:
> ab<CTRL-T>
> ba
readline also implements this for ALT-T to transpose the last two words:
$ foo bar<ALT-T>
$ bar foo
Metadata
Assignees
Labels
No labels