"yy" doesn't work in motion state
Frank Fischer
frank.fischer at mathematik.tu-chemnitz.de
Thu Oct 6 08:31:11 CEST 2011
On Wed, Oct 05, 2011 at 05:06:37PM -0400, York Zhao wrote:
> Hi,
>
> I just noticed that "yy" doesn't work in motion state.
That's true. The reason is that "y" is an operator like "d" or "c" and
in motion state only motions are active. Of course, "y" is one of the
spare non-editing operators and therefore could be enabled in motion
state. Perhaps we should do this by default.
Meanwhile, you may just use
(define-key evil-motion-state-map "y" 'evil-yank)
to get "y" working in motion-state.
Frank
More information about the implementations-list
mailing list