Add tools/gist

This commit is contained in:
Henrik Lissner 2017-05-07 15:10:46 +02:00
parent eb8759041f
commit e12ee964ca
7 changed files with 76 additions and 6 deletions

View file

@ -0,0 +1,13 @@
;;; tools/gist/autoload/gist.el
;;;###autoload
(defun +gist/open-current ()
(interactive)
(gist-fetch-current)
(doom/popup-close-all))
;;;###autoload
(defun +gist/kill-cache ()
(interactive)
(delete-directory (expand-file-name "gh" pcache-directory) t)
(message "gist.el cache cleared"))