# Is there any way to parenthesize a part of an expression which is already typed, by using a keyboard shortcut or something? [duplicate]

There are times that we need to feel use a keyboard shortcut or any other quick and simple way to parenthesize a part of an expression that is already typed.

Is there any way to do that?

For example, here is an expression.

a + b


Then how to parenthesize that without typing each parenthes in order to make it be the expression below.

(a + b)^2


Thank you.

• – march Jan 12 '16 at 4:49
• If it's simply for convenience you might find the "home" and "end" buttons useful for jumping between start and end of a line. – V.E. Jan 12 '16 at 6:26
• Or if you prefer shortcuts: mathematica.stackexchange.com/q/34159/5478 – Kuba Jan 12 '16 at 6:29
• @V.E.@Kuba Thank you for your advice. – Smart Humanism Jan 15 '16 at 10:16