21 Jul 12:20
Luciano Rocha eurotux.com>
2009-07-21 10:20:07 GMT
On Tue, Jul 21, 2009 at 12:09:33PM +0200, Roald de Vries wrote:2009-07-21 10:20:07 GMT
> 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
Eurotux Informática, S.A. <>