what about (untested, and starting with the cursor on the line
containing the closing parenthese at the end of the "if")
put ='{'
/;$/put ='}'
Best regards,
Tony.
--
... If forced to travel on an airplane, try and get in the cabin with
the Captain, so you can keep an eye on him and nudge him if he falls
asleep or point out any mountains looming up ahead ...
-- Mike Harding, "The Armchair Anarchist's Almanac"
On Nov 26, 11:36 am, Francisco Dibar <frandi...@gmail.com> wrote:
> To indent properly, you can type vi{ to select the block of text
> between braces, and then type = (or shift+>) to indent correctly.
>
Or, you can just type =i{ instead of the two-step process of selecting
and then indenting.