5
$\begingroup$

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

$\endgroup$
4
  • $\begingroup$ 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! $\endgroup$
    – Silvia
    Commented May 19, 2013 at 0:03
  • 1
    $\begingroup$ 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' $\endgroup$ Commented May 19, 2013 at 5:44
  • $\begingroup$ @HyperGroups Could you post an answer? :) $\endgroup$
    – Kuba
    Commented Jan 18, 2014 at 0:40
  • $\begingroup$ I do a fast space+backspace, but I'd be happy to get an alternative one-key-only solution $\endgroup$
    – Rojo
    Commented Jan 19, 2014 at 4:07

1 Answer 1

3
$\begingroup$

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".

$\endgroup$
1
  • $\begingroup$ Hi,@HyperGroups! Thanks a lot! $\endgroup$
    – Xiang Li
    Commented Nov 17, 2014 at 3:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.