From: Luciano Rocha <luciano@eurotux.com>
To: Roald de Vries <rdv@roalddevries.nl>
Cc: git@vger.kernel.org
Subject: Re: vimrc
Date: Tue, 21 Jul 2009 11:20:07 +0100 [thread overview]
Message-ID: <20090721102006.GA27793@bit.office.eurotux.com> (raw)
In-Reply-To: <0EBD460B-AA87-44AD-A98C-86787F3BA91A@roalddevries.nl>
[-- 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 --]
prev parent reply other threads:[~2009-07-21 10:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-21 10:09 vimrc Roald de Vries
2009-07-21 10:20 ` Luciano Rocha [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090721102006.GA27793@bit.office.eurotux.com \
--to=luciano@eurotux.com \
--cc=git@vger.kernel.org \
--cc=rdv@roalddevries.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).