Skip to content

feature request: readline-style transponse #12

Closed
@leahneukirchen

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
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions