A.J.Mechelynck wrote:

> Do you mean Shift-[ or do you mean { ? (On my keyboard, { is not Shift-[
> but AltGr-รง ).

I mean { of course, that is shift-[ on my "standard" keyboard (whatever
"standard" mean here ;-)

> 
> With (in Insert mode) the sequence {<Enter>}<Up><Enter>s;
> I get:
> 
> {
>     s;
> }
> 
> 
> I'm using Vim 7 and my vimrc includes (among others)
> 
>     runtime vimrc_example.vim
>     filetype indent off
>     set autoindent smartindent
> 

The set autoindent smartindent is the solution, thanks a lot.

-- 
mati


Reply via email to