Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

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:

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

share|improve this answer

Your Answer


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.