[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Setting Keyboard bindings for C-Right
From: |
weber |
Subject: |
Re: Setting Keyboard bindings for C-Right |
Date: |
Sat, 04 Aug 2007 20:26:58 -0700 |
User-agent: |
G2/1.0 |
On Aug 4, 3:30 pm, the matt <m...@kettlewell.net> wrote:
> Hello,
>
> Any help in translating "ESC [ 1 ; 5 C" into an emacs keybinding would
> be much appreciated.
>
> I know this comes up frequently, so really what I need is to know how
> to input my key bindings for C-Right for emacs -nw in my terminal
>
> Output of view-losses for C-Right
> ESC [ 1 ; 5 C
>
> I've tried the following (and a few other variations to no avail)
>
> (define-key function-key-map "\eO1;5C" [C-right])
> (global-set-key [(C-right)] 'forward-word)
>
> Any help in translating "ESC [ 1 ; 5 C" into an emacs keybinding would
> be much appreciated.
>
> System: Emacs 21.4.1
> Fedora FC5
> <generic keyboard>
> Thanks
>
> Matt
This works for me:
(global-set-key [(control right)] 'forward-word)
Cheers
weber