My hands are getting lazier every day. Is there a key sequence to automatically type \(_\), where _ just denotes the position of my cursor, when I'm in org-mode? (Or \[_\], of course: same question.)


I have a yasnippet for this:

# -*- mode: snippet; require-final-newline: nil -*-
# name: math for Org
# key: $$
# binding: direct-keybinding
# --
\\($1\\) $0

I type $$ and get what you want: \(_\).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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