Andrew Dunstan wrote:

> Looking at this further, I am wondering if it would not be better to put 
> sample .emacs and .vimrc files in the source (in, say, src.tools).

What does people use in .vimrc?  Mine has simply this:

:  set cinoptions=(0
:  set tabstop=4
:  set shiftwidth=4

wrapped in a 

:if match(getcwd(), "/home/alvherre/Code/CVS/pgsql") == 0 
 ...
:endif

of course.

I find it to be all I need to get the style Postgres uses.  (On the
other hand, default cinoptions may be different on other versions of
Vim)

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Reply via email to