Skip to content

Instantly share code, notes, and snippets.

@jogleasonjr
Created December 17, 2015 20:44
Show Gist options
  • Save jogleasonjr/2dc77173405562267ba0 to your computer and use it in GitHub Desktop.
Save jogleasonjr/2dc77173405562267ba0 to your computer and use it in GitHub Desktop.
Autohotkey script to map the numpad operator keys to markdown hints
; Surround current word in BOLD e.g. this is **bold**
NumpadMult::Send ^{Left}**^{Right}**
; Surround current word in ITALIC e.g. this is *italic*
NumpadDiv::Send ^{Left}*^{Right}*
; Surround current word in CODE e.g. this is some `code`
NumpadSub::Send ^{Left}{SC029}^{Right}{SC029}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment