Hi,

I would like to know if there is an easy way to fix the placement of { } 
brackets in vim
so that they fall two or three spaces intented. For example in a C++ file I'm 
currently
working on, I have:

if (pExample != NULL)
{
    // code here
}

What I would like is to have the brackets indented from the edge of the page 2 
or 3
spaces.  Such as:

if (pExample != NULL)
  {
    // code here
  }

Any ideas as to how I can achieve this?  

Thanks,
Justin

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to