Re: [S.u.S.E. Linux] VIM bug + buglet?
![](https://seccdn.libravatar.org/avatar/ed2c8e4c211c5e5fa75996c150e89a57.jpg?s=120&d=mm&r=g)
(Ted Harding) wrote:
Hi Folks,
I have observed misbehaviour in the "vim" supplied with S.u.S.E. Linux.
This was already present in the version that came with S.u.S.E.-5.0, and I hoped it would be cured in 5.1 after upgrade, but apparently it isn't.
===================================================================== 1. BUG
You have a line with several instances of "A" and you want to replace all of them with "B". So, with the cursor at the start of the line, you do
:s/A/B/g
This has the effect of replcing only the first "A" with "B".
Then you do the same again, and this time all the remaining replacements happen.
2. BUGLET
When you want to make a "visual" block (with "V", "v" or "^V"), the character under the cursor appears blanked out at any rate if you revisit it when moving the cursor around with the arrow keys.
It may also take two presses of "v" to exit from "visual".
This doesn't appear to affect anything important, however. =====================================================================
I apparently have vim version 4.0 and, from the time-stamp on /usr/bin/vim, it was the one installed from S.u.S.E.-5.0, with no upgrade when 5.1 was installed.
Best wishes, Ted.
Ted, I use vim 4.6 from the SuSE 5.1 cd, compiled from the sources to include gui-vim and such. This does not show the behavior you describe. I have tried to compile the new 5.0 alpha (with code colour highlighting) on SuSE without much luck, though I haven't tried very hard. see <A HREF="http://www.math.fu-berlin.de/~guckes/vim/"><A HREF="http://www.math.fu-berlin.de/~guckes/vim/</A">http://www.math.fu-berlin.de/~guckes/vim/ for any vim info Good luck, Matt -- Matt Aylward Dept of Geography (GIS), UWA email: maylward@sunny.gis.uwa.edu.au Linux Lover and GIS Geek ..............LINUX..................... OS for the people by the people -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
participants (1)
-
maylward@sunny.gis.uwa.edu.au