Gentoo Archives: gentoo-user

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