All of lore.kernel.org
 help / color / mirror / Atom feed
* vimrc
@ 2009-07-21 10:09 Roald de Vries
  2009-07-21 10:20 ` vimrc Luciano Rocha
  0 siblings, 1 reply; 2+ messages in thread
From: Roald de Vries @ 2009-07-21 10:09 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: vimrc
  2009-07-21 10:09 vimrc Roald de Vries
@ 2009-07-21 10:20 ` Luciano Rocha
  0 siblings, 0 replies; 2+ messages in thread
From: Luciano Rocha @ 2009-07-21 10:20 UTC (permalink / raw)
  To: Roald de Vries; +Cc: git

[-- Attachment #1: Type: text/plain, Size: 811 bytes --]

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/>

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-07-21 10:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-21 10:09 vimrc Roald de Vries
2009-07-21 10:20 ` vimrc Luciano Rocha

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.