doomemacs/modules/tools/gist/autoload/evil.el
2017-05-07 15:12:18 +02:00

16 lines
505 B
EmacsLisp

;;; tools/gist/autoload/evil.el
;;;###autoload (autoload '+gist:send "tools/gist/autoload/evil" nil t)
(evil-define-operator +gist:send (beg end search bang)
:type inclusive :repeat nil
(interactive "<r><!>")
(if bang
(gist-region-or-buffer-private)
(gist-region-or-buffer)))
;;;###autoload (autoload '+gist:list "tools/gist/autoload/evil" nil t)
(evil-define-command +gist:list (&optional username)
(interactive "<a>")
(if username
(gist-list-user username)
(gist-list)))