Add :git ex command (starts magit)

This commit is contained in:
Henrik Lissner 2016-09-08 12:21:13 +02:00
parent 7763f7aa8c
commit 8085646b22
2 changed files with 6 additions and 0 deletions

View file

@ -12,6 +12,11 @@
(awhen (doom/git-root)
(browse-url (concat it "/issues"))))
;;;###autoload
(defun doom/git-magit ()
(interactive)
(call-interactively 'magit-status))
;;;###autoload (autoload 'doom:git-browse "defuns-git" nil t)
(evil-define-command doom:git-browse (&optional bang)
"Open the website for the current (or specified) version controlled FILE. If