unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Viper: "Inner Word" commands?
@ 2008-04-20 13:41 egarrulo
  2008-04-22  1:04 ` Kevin Rodgers
  0 siblings, 1 reply; 2+ messages in thread
From: egarrulo @ 2008-04-20 13:41 UTC (permalink / raw)
  To: help-gnu-emacs

How do you get Vim’s “ciw” (= Change Inner Word) command?

I mean, you are in Normal Mode, in an Emacs Lisp Mode buffer, ‘viper-
syntax-preference’ is set to ‘extended’ and, in the following code:

   (change-inner-word)

the Cursor is over the “i”. Then ,‘cw’ will kill “inner-word”, whilst
‘ciw’ will kill “inner” only.

Thanks.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Viper: "Inner Word" commands?
  2008-04-20 13:41 Viper: "Inner Word" commands? egarrulo
@ 2008-04-22  1:04 ` Kevin Rodgers
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Rodgers @ 2008-04-22  1:04 UTC (permalink / raw)
  To: help-gnu-emacs

egarrulo@gmail.com wrote:
> How do you get Vim’s “ciw” (= Change Inner Word) command?
> 
> I mean, you are in Normal Mode, in an Emacs Lisp Mode buffer, ‘viper-
> syntax-preference’ is set to ‘extended’ and, in the following code:
> 
>    (change-inner-word)
> 
> the Cursor is over the “i”. Then ,‘cw’ will kill “inner-word”, whilst
> ‘ciw’ will kill “inner” only.

As should `M-d' (bound globally to kill-word).

-- 
Kevin Rodgers
Denver, Colorado, USA





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-22  1:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-20 13:41 Viper: "Inner Word" commands? egarrulo
2008-04-22  1:04 ` Kevin Rodgers

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).