Article 4ZYDM Weird behaviour of inputrc bindings

Weird behaviour of inputrc bindings

by
Lockywolf
from LinuxQuestions.org on (#4ZYDM)
Hello, everyone. Can someone check the behaviour on their machines?

I added the following lines into /etc/inputrc, right at the end:

Code:"\e\C-f": shell-forward-word
"\e\C-b": shell-backward-wordNow C-M-f words perfectly fine jumping forward. But there are two issues.

1) the shell-backward-word binding only works when used as ESC C-b , and doesn't work when used as C-M-b , as opposed to the shell-forward-word.

2)bind -u shell-backward-word does _not_ unbind the binding.

Can someone check if this is the case on your machines? Is this the correct behaviour?latest?d=yIl2AUoC8zA latest?i=0cLG8pje9jg:XhOP6nUk8fs:F7zBnMy latest?i=0cLG8pje9jg:XhOP6nUk8fs:V_sGLiP latest?d=qj6IDK7rITs latest?i=0cLG8pje9jg:XhOP6nUk8fs:gIN9vFw0cLG8pje9jg
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments