I would like to change a couple of key bindings in sh. I can issue "bind | less" and see what key bindings are currently in effect. I then issue a command like
and then issue "bind | less" again and see that the key binding has changed. But, if I experiment with command line editing, the new key binding has no effect. The man page for sh indicates that this should work.
I must be missing something. Any suggestions?
bind "^Q" ed-delete-prev-wordand then issue "bind | less" again and see that the key binding has changed. But, if I experiment with command line editing, the new key binding has no effect. The man page for sh indicates that this should work.
Code:
[B]bind[/B] [[B]-aeklrsv[/B]] [[I]key[/I] [[I]command[/I]]]
List or alter key bindings for the line editor. This command
is documented in [URL='https://man.freebsd.org/cgi/man.cgi?query=editrc&sektion=5&apropos=0&manpath=FreeBSD+14.1-RELEASE+and+Ports'][I]editrc[/I](5)[/URL].
I must be missing something. Any suggestions?