# vimrc

2 messages from 2009-07-21 to 2009-07-21. Participants: Roald de Vries, Luciano Rocha.
Thread: https://gitlist.dev/t/20173

## Roald de Vries, 2009-07-21 10:09

Subject: vimrc
Message-ID: <0EBD460B-AA87-44AD-A98C-86787F3BA91A@roalddevries.nl>
URL: https://gitlist.dev/e/0EBD460B-AA87-44AD-A98C-86787F3BA91A%40roalddevries.nl

```
Hi all,

I have my ~/.vimrc in a repository, and if I commit something, I get:

$ git commit
Error detected while processing /home/rdv/.vimrc:
line   11:
E518: Unknown option: foldmethod=indent
line   12:
E518: Unknown option: foldlevel=10
line   13:
E518: Unknown option: foldcolumn=4
line   16:
E538: No mouse support: mouse=a

Anybody knows why? It doesn't seem to break anything, but still...

Kind regards, Roald

```

## Luciano Rocha, 2009-07-21 10:20

Subject: Re: vimrc
Message-ID: <20090721102006.GA27793@bit.office.eurotux.com>
URL: https://gitlist.dev/e/20090721102006.GA27793%40bit.office.eurotux.com
In-Reply-To: <0EBD460B-AA87-44AD-A98C-86787F3BA91A@roalddevries.nl>

```
On Tue, Jul 21, 2009 at 12:09:33PM +0200, Roald de Vries wrote:
>  Hi all,
> 
>  I have my ~/.vimrc in a repository, and if I commit something, I get:
> 
>  $ git commit
>  Error detected while processing /home/rdv/.vimrc:
>  line   11:
>  E518: Unknown option: foldmethod=indent
>  line   12:
>  E518: Unknown option: foldlevel=10
>  line   13:
>  E518: Unknown option: foldcolumn=4
>  line   16:
>  E538: No mouse support: mouse=a
> 
>  Anybody knows why? It doesn't seem to break anything, but still...

Your $EDITOR (by default vi) doesn't support those directives in .vimrc.

Try EDITOR=vim git commit ...

If it works, set export EDITOR=vim in your .bashrc.

Regards,
Luciano Rocha

-- 
Luciano Rocha <luciano@eurotux.com>
Eurotux Informática, S.A. <http://www.eurotux.com/>

```
