all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: jrwats <jrwats@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: forward-word
Date: Thu, 12 Feb 2009 23:41:00 -0800 (PST)	[thread overview]
Message-ID: <121346c0-720b-4f5d-83ed-d9cafdbe46f0@l1g2000yqj.googlegroups.com> (raw)
In-Reply-To: 1234445427.500414@arno.fh-trier.de

> (defun vi-forward-word (arg)
>    (interactive "p")
>    (cond
>     ((< arg 0)
>      (forward-word arg))
>     ((> arg 0)
>      (if (looking-at "\\w")
>          (setq arg (1+ arg)))
>      (forward-word arg)
>      (backward-word))))
>
> -ap

and the kicker:
(global-set-key (kbd "M-F") 'forward-word-beg)

(kbd "M-f") still mapped to forward-word


      reply	other threads:[~2009-02-13  7:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-12  0:32 forward-word jrwats
2009-02-12 10:58 ` forward-word Ronnie Collinson
2009-02-12 13:29 ` forward-word Andreas Politz
2009-02-13  7:41   ` jrwats [this message]

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=121346c0-720b-4f5d-83ed-d9cafdbe46f0@l1g2000yqj.googlegroups.com \
    --to=jrwats@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.