Best Way to Type/Insert Parenthesis, Brackets

By Xah Lee. Date: . Last updated: .

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

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

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

Alternatively, use


The advantage is:

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

This can be done in emacs, see Emacs Lisp: Insert Brackets by Pair, in a key macro software or by keyboard with key macros features.

[see Programable Keyboards with Onboard Memory]

Does my article help you pick a keyboard?

Put $5 tip at patreon

Thank you.

Ask me question on patreon