- To: Alan L Tyree <alan@xxxxxxxxxxxxxx>, Slug Chat <slug-chat@xxxxxxxxxxx>
- Subject: Re: [chat] Emacs question
- From: Stuart Cooper <scoopersyd@xxxxxxxxxxxx>
- Date: Fri, 27 Jun 2003 12:09:01 +1000 (EST)
Hi Alan,
> I want to make an emacs key binding. The key
> combination that I want to
> bind is C-[
> Trouble is, of course, that using [C-[] in the
> define-key statement that
> it stumbles because of the mismatched brackets. I
> can't seem to find the
> appropriate escape sequence.
Ctrl-[ is the same as the Escape key. Which is the
same as the alt key
(ie if you want to go forward a word you can do any
of the following
Alt-f (fastest)
Esc then f
Ctrl-[ then f
Don't remap Control-[
If you're running out of keys to use, you can remap
two-sequence commands; like Ctrl-x Ctrl-r.
Have a lot of fun with emacs.
Stuart.
http://mobile.yahoo.com.au - Yahoo! Mobile
- Check & compose your email via SMS on your Telstra or Vodafone mobile.