On Thu, 2010-03-11 at 18:41 -0500, William Case wrote:
On Thu, 2010-03-11 at 12:58 -0800, Michael Elkins wrote:
On Thu, Mar 11, 2010 at 01:37:29PM -0500, William Case wrote:
"\M-\C-b": backward-word "\M-\C-f": forward-word
As I say, I have tried several different versions e.g "\M-\C-b": and "\M-\C-f: but nothing works. Even after using C-xC-r or rebooting. (I am familiar with emacs bindings.)
In my setup Meta-Control-B sends a two character sequence of ESC ^B.
The following seems to work:
"\e\C-b": backward-word
You can verify what your own setup does by pressing ^V (or just use cat) and pressing meta-control-b to see what the terminal is sending.
]$ ^V then Alt-Ctrl+b returns "^[" cat returns nothing.
Sorry Michael:
]$ cat -v ^[^B^C
When input cat -v [Enter] then Alt-Ctrl+b