MacOS – How to have ctrl-left/ctrl-right move over words in Lion

emacsmacosterminal

Had a quick question about having emacs-like word skipping in my terminal. I had set this up pre-upgrade to Lion and had ctrl-left & ctrl-right set to \033b & \033f respectively. Unfortunately post-upgrade ctrl-left & ctrl-right don't seem to be working any more.

I have seen this solution which makes alt-left & alt-right behave as above, but I was hoping to get ctrl-left & ctrl-right working as before and I was wondering if folks here had any solutions.

PS: As an aside this behavior is not working correctly in my VNC client as well – which it did previously.

Best Answer

Turns out that Mission Control(in Lion) has the same key combination to Move left a space and Move right a space - which I particularly don't have use for. Disabling this in Settings -> Keyboard Shortcuts did the trick for me.