Providing a good search result for "emacs"

David James's Avatar

David James

08 Nov, 2014 08:40 PM

I'd suggest that you find a way so that searching for "emacs" (e.g. http://marked2app.com/help/search/?q=emacs
) points to this script:

;; == Marked app ==
;; http://marked2app.com/
(defun markdown-preview-file ()
  "Run Marked on the current file and revert the buffer."
  (interactive)
  (shell-command
   (format "open -a '/Applications/Marked 2.app' %s"
           (shell-quote-argument (buffer-file-name)))))
(global-set-key (kbd "C-c m") 'markdown-preview-file)

This is a slightly modified version of the function provided at:
http://support.markedapp.com/kb/how-to-tips-and-tricks/marked-bonus-pack-scripts-commands-and-bundles

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac