summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2018-06-22 13:51:24 +0200
committerAlan Pearce2018-06-22 13:51:24 +0200
commit3c4df1fa784dc082e05f8131d41642b2e65e316e (patch)
tree0905d1bb9d12b214061c59538ac56d6258290ddd
parent800b978c1a70fe11f6bc691b2b8f593f651024be (diff)
downloadnixfiles-3c4df1fa784dc082e05f8131d41642b2e65e316e.tar.lz
nixfiles-3c4df1fa784dc082e05f8131d41642b2e65e316e.tar.zst
nixfiles-3c4df1fa784dc082e05f8131d41642b2e65e316e.zip
emacs: configure magit-repos
-rw-r--r--emacs/.emacs.d/main.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 01acd498..b705ad84 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -616,6 +616,7 @@
   :commands (magit-status)
   :config (progn (setq magit-completing-read-function #'ivy-completing-read
                        magit-popup-use-prefix-argument 'default
+                       magit-repository-directories (list (cons (file-name-as-directory (ghq--find-root)) 3))
                        magit-display-buffer-function #'magit-display-buffer-fullcolumn-most-v1
                        global-magit-file-mode t)
                  (add-to-list 'magit-no-confirm 'safe-with-wip))