[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Subversion Developer Environments

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2005-07-25 20:38:24 CEST

Christopher Ness wrote:
>
> I currently use good ol' `vim`, but the documentation suggests Emacs and
> the svn-dev.el file. Does vim have a equivalent style file?

I use vim and have this in my ~/.vimrc to help with indentation:

"For Subversion, always expand tabs, and use One True Brace Style(?)
:au BufReadPost */src/subversion/* set expandtab
:au BufReadPost */src/subversion/*.[ch] set cindent cinoptions=>2s,{1s,n-1s,t0,(0
:au BufReadPost Makefile* set noexpandtab softtabstop=0 shiftwidth=8

Vim's "=" function can be used to reindent a selected range of lines.

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 25 20:40:38 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.