all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "pg@gmail.com" <phil.ganchev@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: C-LeftArrow as backward-word
Date: Fri, 15 Jan 2010 01:09:50 -0800 (PST)	[thread overview]
Message-ID: <3c224adf-568a-4519-888d-38c9c660ce48@22g2000yqr.googlegroups.com> (raw)

I want to use control+LeftArrow to move the cursor to the previous
word, and control+RightArrow to move to the next word in Emacs 21
running in xterm. When I press those, I get '5D' and '5C' inserted at
the cursor instead. So I type

M-x global-set-key RET

Then I press Control+LeftArrow, and enter the command 'backward-word'.

But nothing has changed; when I press Control-LeftArrow, I still get
'5D' inserted.

I also tried putting the following in my ~/.emacs, with no effect:

(global-set-key (kbd "M-[ 5 d") 'backward-word)
(global-set-key (kbd "M-[ 5 c") 'forward-word)

I am not subscribed to the list, so please explicitly add my email
address in your replies.

Thanks for your help!


                 reply	other threads:[~2010-01-15  9:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3c224adf-568a-4519-888d-38c9c660ce48@22g2000yqr.googlegroups.com \
    --to=phil.ganchev@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.