Skip to content

Instantly share code, notes, and snippets.

@garaemon
Created August 12, 2015 05:22
Show Gist options
  • Select an option

  • Save garaemon/02e5428a89af108407c2 to your computer and use it in GitHub Desktop.

Select an option

Save garaemon/02e5428a89af108407c2 to your computer and use it in GitHub Desktop.
(defun open-with-shiba ()
"open a current markdown file with shiba"
(interactive)
(start-process "shiba" "*shiba*" "zsh" "-ic" (format "shiba --detach %s" buffer-file-name))
)
(define-key markdown-mode-map (kbd "C-c C-c") 'open-with-shiba)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment