Gentoo Archives: gentoo-user

From: "William Ernesto Cárdenas Gómez" <willecg@×××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Vim puts command in when starting up
Date: Fri, 23 Sep 2016 21:31:02
Message-Id: 20160923163357.2572186e@laptop.willecg
In Reply to: Re: [gentoo-user] Vim puts command in when starting up by Daniel Frey
1 El Fri, 23 Sep 2016 09:24:02 -0700
2 Daniel Frey <djqfrey@×××××.com> escribió:
3 > On 09/23/2016 08:00 AM, pc0147 Sistemas Will_ecg wrote:
4 > > El jue, 22-09-2016 a las 08:32 -0700, Daniel Frey escribió:
5 > >> For some reason, on one box, whenever I start vim it puts
6 > >> ":0000/0000/0000" on the command line. I've looked in vimrc and
7 > >> can't see any reference to this. Hitting Enter yields "E486:
8 > >> Pattern not found
9 > >> :0000"
10 > >>
11 > >> I've noticed that it's been behaving strangely but I cannot figure
12 > >> out
13 > >> the cause. Last time I noticed something odd was when I commented
14 > >> out something in package.mask (with #) and saved it. Portage
15 > >> complained it
16 > >> was invalid and when I opened it again the '#' changed to 'g'.
17 > >>
18 > >> I've removed and reinstalled vim packages, no luck.
19 > >>
20 > >> Has anyone seen this?
21 > >>
22 > >> Dan
23 > >>
24 > >
25 > > I had the same problem, the only solution I found was to add the
26 > > vimrc for user ~.vimrc and at least set one thing. I only set the
27 > > colorscheme and now works fine, the problem is that you should set
28 > > it for all your users, in my case was my personal user and root.
29 > >
30 >
31 > I tried this, with "set nowrap" in a .vimrc, and it made no
32 > difference. What I find baffling is that out of six machines only one
33 > is doing this!
34 >
35 > Dan
36 >
37
38 I've just test again, and I tried with some other options and only
39 works with colorscheme. I don't know why.

Replies

Subject Author
Re: [gentoo-user] Vim puts command in when starting up Daniel Frey <djqfrey@×××××.com>