Skip to content

Instantly share code, notes, and snippets.

@glyph
Created May 23, 2014 23:55
Show Gist options
  • Save glyph/4e1d4f1a4f1a6c46dac6 to your computer and use it in GitHub Desktop.
Save glyph/4e1d4f1a4f1a6c46dac6 to your computer and use it in GitHub Desktop.
created by github.com/tr3buchet/gister
(global-set-key
(kbd "<C-M-268632064>")
(lambda ()
(interactive)
(ns-perform-service
"OmniFocus: Send to Inbox"
(if (region-active-p)
(buffer-substring-no-properties
(point) (mark))
(format "file://%s" (buffer-file-name))))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment