Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jun 2006 13:54:17 +0300
From:      Vasil Dimov <vd@FreeBSD.org>
To:        David O'Brien <obrien@freebsd.org>
Cc:        ports@freebsd.org
Subject:   Re: [PATCH] update editors/vim from 6.4->7.0
Message-ID:  <20060622105417.GA68559@qlovarnika.bg.datamax>
In-Reply-To: <20060619104907.GA19909@dragon.NUXI.org>
References:  <20060619104907.GA19909@dragon.NUXI.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--0OAP2g/MAC+5xKAE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Jun 19, 2006 at 03:49:07AM -0700, David O'Brien wrote:
> There has been several requests to me to update the Vim port to the newly
> released 7.0.  Attached is the current WIP patch to do this.  I'm not
> quite yet ready to pull the trigger, but I'd like to offer this patch to
> the community to beta-test.
>=20
> Please email me if:
> * If you can no longer do something with Vim 7.0, that you could do with
>   6.4.

There are 2 small "regressions" I have found so far:

1)
typing kkkk no longer escapes from the
"Press ENTER or type command to continue" prompt

how to repeat:
% vim<enter>
:!ls<enter>
(output from the ls command is printed and a
 "Press ENTER or type command to continue" prompt appears)
k
("-- More --" appears)
kkkkkkkkkkk
(nothing happens, "-- More --" is still there)

It seems that other keystrokes (than k) like j or l or <enter> work as
expected. Btw I just found that b also behaves as k.

2)
I can no longer avoid the staircase effect using :c

how to repeat:
copy the following text with the mouse:

f()
{
        a;
        b;
        c;
}

then execute:

% vim<enter>
i
(paste the copied text with the mouse:
f()
{
        a;
                b;
                        c;
                        }
appears)

This is what I used to avoid this in vim 6:
% vim<enter>
:c<enter>
(paste)
=2E<enter>

What happens with vim 7 is that the text appears to be fine after pasted
but after I type .<enter> I get the starcase effect.

The case seems to be that `autoindent' is now applied to text entered
via ":c". The workaround is to use ":c!" to toggle autoindent.

--=20
Vasil Dimov
gro.DSBeerF@dv

Testing can show the presence of bugs, but not their absence.
                -- Edsger W. Dijkstra

--0OAP2g/MAC+5xKAE
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----

iD8DBQFEmnbZFw6SP/bBpCARAiG2AKC2X5Mx79cQHs8t0zj2QPyRJVH3WgCg0SLn
1MCp93r3CnGw9Hl2+3rGHAo=
=T9E5
-----END PGP SIGNATURE-----

--0OAP2g/MAC+5xKAE--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060622105417.GA68559>