From: Cameron Desautels <cam@apt2324.com>
Subject: Re: How can I move my cursor 80 characters with a key binding?
Date: Sun, 25 Dec 2005 00:31:13 -0600 [thread overview]
Message-ID: <20051225063113.GE9520@setzer.hsd1.tx.comcast.net> (raw)
In-Reply-To: <20051225062518.GD9520@setzer.hsd1.tx.comcast.net>
On Sun, Dec 25, 2005 at 12:25:18AM -0600, Cameron Desautels wrote:
> On Sat, Dec 24, 2005 at 10:08:54PM -0800, Scott Teresi (sent by Nabble.com) wrote:
> > I'm trying to figure out how to bind a key combination to a function
> > which would move the cursor forward about 80 characters (or back 80
> > characters). I sometimes type very long lines in emacs and would
> > like to be able to navigate through the line quicker than one space
> > at a time or one word at a time. Thanks for any advice anyone can
> > provide!
>
> Is ``C-u 8 0 C-f'' too long for you? You do it with a function if you
> really wanted to..
Such a function, btw, could look like this:
(global-set-key "\C-cf" '(lambda ()
(interactive)
(forward-char 80)))
--
Cameron Desautels <cam@apt2324.com>
"The smallest minority on earth is the individual. Those who deny
individual rights cannot claim to be defenders of minorities."
--Ayn Rand
next prev parent reply other threads:[~2005-12-25 6:31 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-25 6:08 How can I move my cursor 80 characters with a key binding? Scott Teresi (sent by Nabble.com)
2005-12-25 6:25 ` Cameron Desautels
2005-12-25 6:31 ` Cameron Desautels [this message]
2005-12-25 16:53 ` Scott Teresi (sent by Nabble.com)
2005-12-25 17:59 ` Peter Dyballa
2005-12-25 22:26 ` Stawrul
[not found] ` <mailman.20404.1135529707.20277.help-gnu-emacs@gnu.org>
2005-12-25 20:05 ` Floyd L. Davidson
2005-12-26 12:32 ` Slawomir Nowaczyk
[not found] <mailman.20378.1135491010.20277.help-gnu-emacs@gnu.org>
2005-12-25 14:59 ` David Hansen
2005-12-25 18:50 ` B. T. Raven
2005-12-25 19:19 ` Scott Teresi (sent by Nabble.com)
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=20051225063113.GE9520@setzer.hsd1.tx.comcast.net \
--to=cam@apt2324.com \
/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.