+magit.el 799 B

12345678910111213141516
  1. ;;; ~/.doom.d/+magit.el -*- lexical-binding: t; -*-
  2. (setq +magit-hub-features t ;; I want the PR/issue stuff too!
  3. +magit-hub-enable-by-default t) ;; And I want it on by default!
  4. (after! magit
  5. (magit-wip-after-save-mode t)
  6. (magit-wip-after-apply-mode t)
  7. (setq magit-save-repository-buffers 'dontask
  8. magit-repository-directories '(("~/src/" . 3)
  9. ("~/dotfiles/" . 0))
  10. magit-popup-display-buffer-action nil ;; Not sure why this is here, wonder what it does
  11. magit-display-file-buffer-function #'switch-to-buffer-other-window
  12. magithub-clone-default-directory "~/src" ;; I want my stuff to clone to ~/projects
  13. magithub-preferred-remote-method 'ssh_url)) ;; HTTPS cloning is awful, i authenticate with ssh keys.