From 4d692027106c9352b9d64206970006c6ac6ab743 Mon Sep 17 00:00:00 2001 From: benj Date: Tue, 13 Mar 2018 16:51:22 -0700 Subject: added behavior to pull keychain ssh-agent for key management --- init.el | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'init.el') diff --git a/init.el b/init.el index 79d9ecf..879325b 100644 --- a/init.el +++ b/init.el @@ -1,7 +1,3 @@ -;; Added by Package.el. This must come before configurations of -;; installed packages. Don't delete this line. If you don't want it, -;; just comment it out by adding a semicolon to the start of the line. -;; You may delete these explanatory comments. (package-initialize) ;; Suppress splash screen @@ -80,6 +76,7 @@ (require 'setup-flycheck) (require 'setup-haskell-mode) (require 'setup-ido) +(require 'setup-keychain-environment) (require 'setup-magit) (require 'setup-markdown-mode) (require 'setup-multiple-cursors) @@ -98,4 +95,5 @@ (put 'upcase-region 'disabled nil) (put 'narrow-to-region 'disabled nil) +(keychain-refresh-environment) ;;; init.el ends here -- cgit v1.2.3 From c38ef385a9af288cf2d2ff0f306b6b2176fcf47d Mon Sep 17 00:00:00 2001 From: benj Date: Wed, 14 Mar 2018 01:39:34 -0700 Subject: added doxygen function comment and auto-insert snippets for c-mode --- init.el | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'init.el') diff --git a/init.el b/init.el index 879325b..eaec7b8 100644 --- a/init.el +++ b/init.el @@ -1,3 +1,27 @@ +;;; init.el --- initialize emacs configuration + +;;; Author: Benj Bellon +;;; Maintainer: Benj Bellon +;;; Homepage: https://github.com/benjbellon/emacs.d +;;; Keywords: emacs, emacs.d, config + +;;; Commentary: + +;;; This config builds an instance of Emacs personalized for its author. +;;; A few things of interest: +;;; 1. C-x C-c is overriden in the GUI so it redirects to the default +;;; *ansi-term* buffer. If you wish for this override while using +;;; Emacs in terminal mode, provide the following ENV variable: +;;; EMACS_OVERRIDE_C_X_C_C +;;; +;;; 2. init.el calls keychain-refresh-environment. If for some reason, +;;; you do not wish for the following to be available to Emacs, add +;;; a comment or remove the call: +;;; SSH_AUTH_SOCK +;;; SSH_AGENT_PID +;;; GPG_AGENT_INFO +;;; +;;; Code: (package-initialize) ;; Suppress splash screen @@ -70,6 +94,7 @@ (add-to-list 'exec-path "/usr/local/bin") +(require 'setup-auto-insert-mode) (require 'setup-c++-mode) (require 'setup-clojure-mode) (require 'setup-ember-mode) -- cgit v1.2.3