Hello,
On 4/28/06, Justin Randall <[EMAIL PROTECTED]> wrote:
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)
{
//
On Fri, 28 Apr 2006 14:59:21 -0700 (PDT)
Justin wrote:
>
> if (pExample != NULL)
> {
> // code here
> }
>
> Any ideas as to how I can achieve this?
The general approach is to place the cursor on the if-line (or any other
beginning line) and then use indent(1), the C source format prog
On Fri, 28 Apr 2006, Justin Randall wrote:
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
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