Bug#644973: libedit2: Ctrl+W erases entire line

Walter Doekes walter at wjd.nu
Sun Nov 22 19:54:23 UTC 2015


> Pressing Ctrl+W erases the entire input line. This is really annoying
> when most other programs (that use readline) bind Ctrl+W to erase the
> current word.

That's fixable.

Export EDITRC=/path/to/your/.editrc and put this in that editrc:

    bind "^W" ed-delete-prev-word

See also:
http://wjd.nu/notes/2015#asterisk-editline-key-bindings


Cheers,
Walter Doekes



More information about the Pkg-llvm-team mailing list