git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: vimrc

From
LRLuciano Rocha <luciano@eurotux.com>
Date
Jul 21, 2009, 10:20 UTC
Message-ID
<20090721102006.GA27793@bit.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:
Show 16 quoted lines
>  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/>
Previous: Roald de Vries
Message 2 of 2 in “vimrc”
  1. Roald de VriesJul 21, 2009
  2. Luciano RochaJul 21, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.