From maylward@sunny.gis.uwa.edu.au Wed Mar 4 04:16:20 1998 From: maylward@sunny.gis.uwa.edu.au To: users@lists.opensuse.org Subject: Re: [S.u.S.E. Linux] VIM bug + buglet? Date: Wed, 04 Mar 1998 05:16:20 +0100 Message-ID: <6dikik$g0t$1@Galois.suse.de> In-Reply-To: <[S.u.S.E. Linux] VIM bug + buglet?> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6936017399423074303==" --===============6936017399423074303== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable (Ted Harding) wrote: >=20 > Hi Folks, >=20 > I have observed misbehaviour in the "vim" supplied with S.u.S.E. Linux. >=20 > 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. >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 1. BUG >=20 > 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 >=20 > :s/A/B/g >=20 > This has the effect of replcing only the first "A" with "B". >=20 > Then you do the same again, and this time all the remaining replacements > happen. >=20 > 2. BUGLET >=20 > When you want to make a "visual" block (with "V", "v" or "^V"), the charact= er > under the cursor appears blanked out at any rate if you revisit it when mov= ing > the cursor around with the arrow keys. >=20 > It may also take two presses of "v" to exit from "visual". >=20 > This doesn't appear to affect anything important, however. > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > 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 insta= lled. >=20 > 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=20 highlighting) on SuSE without much luck, though I haven't tried very hard. see http://www.math.fu-berlin.de/~guckes= /vim/> for any vim info Good luck, Matt --=20 Matt Aylward Dept of Geography (GIS), UWA email: maylward(a)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(a)suse.com with this text in its body: unsubscribe suse-linux-e --===============6936017399423074303==--