Best Way to Insert Parenthesis/Brackets

By Xah Lee. Date: . Last updated: .

What is the best way to type/insert the brackets ( ) { } [ ]?

QWERTY layout 5e7ee
QWERTY layout

To type the brackets, pinky finger is used at difficult positions. Some involves holding Shift key.

Best Solution: Key Macro

the best solution is to use a key macro that inserts both left and right brackets and place cursor between them.

Alternatively, use

or use Alt

The advantage is:

You can have a easy trigger key, such as F9 and the bracket pairs are inserted. No weak pinky finger, no awkward position, no Shift key.

How to Program Key Macro

This can be done by one of the following way:

Keybinding and Input-System