From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: Help with setting a key (C-<right> moving a full word to the right)
Date: Fri, 07 Jun 2013 21:06:34 +0200 [thread overview]
Message-ID: <87ip1psptx.fsf@VLAN-3434.student.uu.se> (raw)
In-Reply-To: mailman.1133.1370587085.22516.help-gnu-emacs@gnu.org
Max Rubin <merubin@princeton.edu> writes:
> I want ctrl+right arrow to move forward one whole word at a
> time, and ctrl+left arrow to move back a whole word at a time.
> The keys M-f and M-b already do this using 'forward-word and
> 'backward-word
M-f and M-b are much better shortcuts for this. That way you don't
have to move you right hand from the typing area of the
keyboard. All the cursor movement shortcuts are placed there, and
for good reason: C-a, C-e (start or end of line); C-f, C-b (move
forward or backward by char); M-d, M-DEL (kill word forward or
backward); C-t to "transpose", i.e., to fix the common typo of
incorrect char order; etc.
You are able to move the cursor wherever you like it, kill, yank,
whatever you like to do, but at the instant you are done and wish
to resume typing, both your hands are still in the correct
position.
Jambunathan K <kjambunathan@gmail.com> writes:
> (global-set-key [C-right] (quote forward-word))
That doesn't work for me. When I press C-right, only <right> is
reported. I'm using GNU Emacs 23.4.1 in a Linux VT.
--
Emanuel Berg - programmer (hire me! CV below)
computer projects: http://user.it.uu.se/~embe8573
internet activity: http://home.student.uu.se/embe8573
next parent reply other threads:[~2013-06-07 19:06 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1133.1370587085.22516.help-gnu-emacs@gnu.org>
2013-06-07 19:06 ` Emanuel Berg [this message]
2013-06-07 20:00 ` Help with setting a key (C-<right> moving a full word to the right) Eli Zaretskii
[not found] ` <mailman.1189.1370635224.22516.help-gnu-emacs@gnu.org>
2013-06-07 20:37 ` Emanuel Berg
2013-06-08 3:31 ` Eli Zaretskii
[not found] ` <mailman.1201.1370662319.22516.help-gnu-emacs@gnu.org>
2013-06-08 16:28 ` Emanuel Berg
2013-06-09 0:46 ` Bruno Félix Rezende Ribeiro
[not found] ` <mailman.1253.1370740031.22516.help-gnu-emacs@gnu.org>
2013-06-09 1:29 ` Emanuel Berg
2013-06-07 3:20 Max Rubin
2013-06-07 7:06 ` Eli Zaretskii
2013-06-07 7:26 ` Jambunathan K
2013-06-28 16:00 ` Max Rubin
2013-06-28 16:38 ` Peter Dyballa
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ip1psptx.fsf@VLAN-3434.student.uu.se \
--to=embe8573@student.uu.se \
--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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).