From 440a881d22543a00778c7eefe1435e032a58f2eb Mon Sep 17 00:00:00 2001 From: Jack Foltz Date: Fri, 21 Dec 2018 11:54:00 -0500 Subject: [PATCH] Add emacs magithub --- lain/.emacs.d/config.org | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/lain/.emacs.d/config.org b/lain/.emacs.d/config.org index d11ed7c..86deff8 100644 --- a/lain/.emacs.d/config.org +++ b/lain/.emacs.d/config.org @@ -121,6 +121,12 @@ Use fish shell in ansi-term (foltz-apply-theme)) (load-theme spacemacs-dark)) #+END_SRC +** Auth storage location +Set stored auth tokens to be encrypted into emacs directory +#+BEGIN_SRC emacs-lisp +(setq auth-sources '("~/.emacs.d/authinfo.gpg")) +#+END_SRC + * Package Repo Config ** Repo Location Let's start by configuring the repositories @@ -723,6 +729,7 @@ Yasnippet adds support for custom snippets #+END_SRC ** Git +*** magit It's magic git! Keybinds [[https://github.com/emacs-evil/evil-magit][here]] #+BEGIN_SRC emacs-lisp @@ -737,7 +744,16 @@ Keybinds [[https://github.com/emacs-evil/evil-magit][here]] (use-package evil-magit :after evil)) #+END_SRC - +*** magithub +Magic GitHub facilities for magit! +#+BEGIN_SRC emacs-lisp +(use-package magithub + :after magit + :config + (magithub-feature-autoinject t) + :custom + (magithub-clone-default-directory "~/Documents/dev")) +#+END_SRC ** Projects Projectile provides project-level features like make shortcuts and file switching