How can I link ctrl-left left-left?

I use tcsh and emacs. In emacs, I'm used to the ctrl-left bindkey translating me to the left. I would like to do the same in my tcsh terminal.

I can do ctrl-b, but I'm just not used to it.

It is not clear to me, from mancappath bindkey, how to specify the ctrl-left key combination.

How can I do it?

+3
source share
1 answer

Google answers everything (if you look deep enough).

bindkey '^[[1;5D'   backward-word           # ctrl+left
bindkey '^[[1;5C'   forward-word            # ctrl+right

From the Google cache http://lofotenmoose.info/bsd/conf/amd64/tcshrc-root .

This works for tcsh 6.13.00

+8
source

Source: https://habr.com/ru/post/1712127/


All Articles