# Question about InputAutoReplacements

I have a question about InputAutoReplacements.

SetOptions[\$FrontEndSession,
InputAutoReplacements -> {"spa" ->
RowBox[{"〚", "\[SelectionPlaceholder]", "〛"}] } ]


It works, but always adds in spacing automatically. How can I get it fixed? Thanks!

Xiang Li

• Hi @Xiang Li, welcome to Mathematica.SE! I added the image according to the link in your post. Also please have a look at how to format your post with markdown. Proper formatting will make your post more readable and attract more attention. Have a good time on this site! – Silvia May 19 '13 at 0:03
• The trigger of this InputAutoReplacement is Space Key, otherwise how to type the word space? You can also try ESC Key or other None-DigitCharacter key when finish typing 'spa' – HyperGroups May 19 '13 at 5:44
• @HyperGroups Could you post an answer? :) – Kuba Jan 18 '14 at 0:40
• I do a fast space+backspace, but I'd be happy to get an alternative one-key-only solution – Rojo Jan 19 '14 at 4:07