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.
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
Greeting to you once again I am writing for the second time as I did not receive any reply from you to my previous message. Kindly reply so we can discuss the subject as soon as possible. Sincerely, Andy Landman
Hello, Good morning, We have gone through your samples from a partner and Here is our Order List. Please do bear in mind that we are very much in need of this order, quote your competitive prices. Kindly send the Order confirmation. Your early reply will be much appreciated. Best Regards, Maryanah Erwin. PT FINDORA INTERNUSA Jln Pahlawan 66 Kec. Arjawinangun 45162 CIREBON West-Java INDONESIA tel : +62 231 357334 fax: +62 231 357260 email: marketing@findora.com
Doesn't work. .editrc is not even looked for according to strace, at least not in version 3.1-20191231-2+b1 (I'm using it with the mariadb mysql client). According to #975911: : Hi, this is also bugging me on Fedora 32. Digging deep into the : library chain and source code, it almost certainly is a libedit issue. : Linux doesn't have issetugid(), and in src/el.c in libedit : (2019-something thru 20210419 versions) it clearly only reads editrc if : issetugid is available. Thanks, Paul
does in fact read the editrc file.
According to the upstream changelog:
2021-05-22 Jess Thrysoee
[...]
* src/el.c: editrc not read on systems without issetugid
Patch by Trevor Cordes
This version installs just fine on stable (Bullseye).
Hopes this helps someone with this problem.
Paul