Many times I need to simply surround some text by some signs, like curly braces, square brackets and more depending on what it is exactly I am writing, scripting or programming.

Some programs, like TexPad and a few others, have options to set up these commands, but I'd like to have these options working outside of this program also.

Even when writing at various online site, like StackExchange, the syntax, which I think is great, I need to surround text by *, and other signs for the markup. Then it would be great to be able to just select some text, and press a key combination, and the text would be surrounded by the chosen signs.

This could possibly also work, if there was a small non-obtrusive GUI, like for instance Popclip, which does have this feature, but I don't really like it too much. Sometimes it doesn't show up, or acts slow. Also no keyboard shortcuts.

Popclip shortcutkey

I've tried searching a bit, but didn't really find any programs that does this globally. Also, it needs to work on Mac OSX El Capitan (and beyond)

  • Must it work with any program? Would a Firefox add-on be OK, for instance?
    – Nicolas Raoul
    Commented Jun 27, 2016 at 11:39
  • Yes, it needs to work with all programs where one would write.
    – Runar
    Commented Jun 27, 2016 at 12:30

1 Answer 1


If your ok with doing a light-amount of scripting, I think you'd find autohotkey can perform some of the features you desire. If your into scripting, you'll find AHK's language to be somewhat reasonable. I've had moderate success with this application myself.

My regret is that it does not have mac or linux support. I'm afraid the uni-platform hotkey scene is somewhat lacking.

  • I've actually been using ControllerMate to reassign many keys with applescripts running. But it is unable to sync settings to different devices, and it is not a very elegant scripting-language, as it is graphical scripting.
    – Runar
    Commented Jun 30, 2016 at 19:46

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.