Question:

Question about InputAutoReplacements

Luke: 26 June 2022

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!

enter image description here

Xiang Li

Answer:
Adam: 26 June 2022

This is my little answer since Kuba recommend me post my comment as an answer.

The trigger of this InputAutoReplacement is Space Key, otherwise how can you type the word "space"?

You can also try ESC Key or other None-DigitCharacter keys when finishing typing "spa".