diff --git a/core/defuns/defuns-git.el b/core/defuns/defuns-git.el index 37a85ce72..59e576674 100644 --- a/core/defuns/defuns-git.el +++ b/core/defuns/defuns-git.el @@ -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 diff --git a/private/my-commands.el b/private/my-commands.el index 4d5d29f09..736a75b85 100644 --- a/private/my-commands.el +++ b/private/my-commands.el @@ -54,6 +54,7 @@ (ex! "gre[vert]" 'doom/vcs-revert-hunk) (ex! "gbr[owse]" 'doom:git-browse) ; show file in github/gitlab (ex! "gbi[ssues]" 'doom/git-issues) ; show github issues +(ex! "git" 'doom/git-magit) ; show github issues ;; Dealing with buffers (ex! "k[ill]" 'doom/kill-real-buffer) ; Kill current buffer