Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

As it is written above. I came across that shortcut a few times but unfortunately I can't recall it because I found it not very useful. Now I've changed my mind and I was searching through web but without any success. Could somebody help me, please?

share|improve this question
3  
The shortcut for inserting an opening curly bracket is Shift+[, for closing curly bracket is Shift+] :) –  Sergey Jan 14 '13 at 1:02
    
Maybe OP wants autocompletion? –  user25656 Jan 14 '13 at 2:58

1 Answer 1

Your keyboard has curly brackets on it already. If it's like most, they'll be above the square brackets [ and ]. So you press Shift+[ to get {.

If you wanted to be able to turn on automatic insertion of curly braces, this question may be relevant: http://stackoverflow.com/questions/12925282/is-there-an-auto-close-curly-brackets-plugin-for-the-geany-ide

Basically, you go to Preferences, then Completions, and the options are under Auto-close quotes and brackets.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.