On Mon, Dec 1, 2008 at 4:34 PM, Krzysztof Goj <[EMAIL PROTECTED]> wrote:
> Hi!
> I've started playing around with Yi and I'm truly impressed!
> The code is beautiful and hackable, keep up the great work!
>
> There is a little issue with word and WORD motions  -- they work
> differently to Vim at the end of lines.
>
> Here is what I learned after looking at Vim's source code (src/search.c,
> fwd_word() and friends):
> Newlines are just normal whitespace, but empty lines (\n\n) are dealt
> with specially --
> all w, W, b, B, e, E motions stop at them. Despite of this (and some
> magic for kana) Yi seems to do the same stuff Vim does.
>
> I'm just starting to learn Haskell, so please forgive me if code in
> patch is ugly or broken.

It's fine by me, Nicolas is the vim specialist here, so I'll let him decide if
the behaviour is what we want.

Thanks for the patch!
-- JP

--~--~---------~--~----~------------~-------~--~----~
Yi development mailing list
[email protected]
http://groups.google.com/group/yi-devel
-~----------~----~----~----~------~----~------~--~---

Reply via email to