From f0c56d13b8894f2b26f98535c1f066ded4eb8cdf Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Fri, 15 Jan 2021 17:25:20 -0500 Subject: [PATCH] Add binding for magit-dispatch --- emacs/.emacs.d/init.org | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 25ae7f6..4f5bd23 100755 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -1502,14 +1502,11 @@ Magit is objectively the best Git interface. #+BEGIN_SRC emacs-lisp (jdormit/define-prefix "g" "git") - (leader-def-key "gs" #'magit-status) - (leader-def-key "gg" #'magit-file-dispatch) - (leader-def-key "gf" #'magit-find-file) -#+END_SRC - -Use ido-mode for completion within Magit: -#+BEGIN_SRC emacs-lisp -;; (setq magit-completing-read-function 'magit-ido-completing-read) + (leader-def-key + "gs" #'magit-status + "gg" #'magit-file-dispatch + "gd" #'magit-dispatch + "gf" #'magit-find-file) #+END_SRC ** Forge