[PATCH] update editors/vim from 6.4->7.0
Vasil Dimov
vd at FreeBSD.org
Thu Jun 22 11:12:21 UTC 2006
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.
>
> 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)
.<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.
--
Vasil Dimov
gro.DSBeerF at dv
Testing can show the presence of bugs, but not their absence.
-- Edsger W. Dijkstra
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060622/d845a766/attachment.pgp
More information about the freebsd-ports
mailing list