[S.u.S.E. Linux] Re: VIM bug + buglet?
![](https://seccdn.libravatar.org/avatar/6adbe4d1ed65acc675b3378a8e66f44a.jpg?s=120&d=mm&r=g)
Hi all! I'm a pretty new customer to S.u.S.E, so greetlings. The Oakland office is a couple blocks away, they're good folks. I'm a bigtime ViM user (this e-mail is vim powerd), so I found the bug reports strange. As it turns out, at least one is a _feature_ :). On Wed, 4 Mar 1998, Matthew Aylward EG201 G219 SL CKR wrote:
(Ted Harding) wrote:
===================================================================== 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.
This occurs because of the parameter 'edcompatible' being set. In the file /etc/vimrc, which is the systemwide vim config file, you will notice the lines: my comments " special options for vim version 4.0 " Lets vim avoid version conflicts set edcompatible " see below set magic " affects which characters need be escaped :help edcompatible returns the following: Makes the 'g' and 'c' flags of the ":substitute" command to be toggled each time the flag is given. See 11.3 |complex_change|. See also 'gdefault' option. So there you go. :set noedcompatible manually, or edit /etc/vimrc, or make your own $HOME/.vimrc to override it. The question that remains: Why the goofy default?
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.
This is not happening for me. I push v, j j j , k k k , and i still have an inverted block.
It may also take two presses of "v" to exit from "visual".
I cannot reproduce this. ----
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.
No no no! Vim5 is not alpha. It's released! Go get it, you will love it. -josh -- 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)
-
jrodman@tbw.net