summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2018-06-22 13:51:24 +0200
committerAlan Pearce2018-06-22 13:51:24 +0200
commit3c4df1fa784dc082e05f8131d41642b2e65e316e (patch)
tree0905d1bb9d12b214061c59538ac56d6258290ddd /emacs
parent800b978c1a70fe11f6bc691b2b8f593f651024be (diff)
downloaddotfiles-3c4df1fa784dc082e05f8131d41642b2e65e316e.tar.lz
dotfiles-3c4df1fa784dc082e05f8131d41642b2e65e316e.tar.zst
dotfiles-3c4df1fa784dc082e05f8131d41642b2e65e316e.zip
emacs: configure magit-repos
Diffstat (limited to 'emacs')
-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 01acd49..b705ad8 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))