[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vim
Subject:    Re: 2 questions
From:       Bohdan Vlasyuk <bohdan () kivc ! vstu ! vinnica ! ua>
Date:       2001-08-27 15:18:11
[Download RAW message or body]


> 1) Vim will indent  C++ like
> class A
> {
>      private:
>           //statement
> }
> Is it possible to indent like
> class A
> {
> private:  <== that is private/public/protected with  no indentation ?
>      //statement
> }

what would you like to happen in case

class foo
{
puiblic:
	class bar
	{
	public:
		int foobar;
	} barfoo;
}

P.s: hint: you may use ^D/^T while in insert mode.

-- 
Even a hawk is an eagle among crows.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic