summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorbenj <benj@rse8.com>2018-03-16 12:39:17 -0700
committerbenj <benj@rse8.com>2018-03-16 12:39:17 -0700
commit67b696a4d68d98fff8158edf9c11b5d5d24d3fa7 (patch)
tree8512e9b385ed17883fd8ee8842549bb0d3d7ec31 /init.el
parent5dd18d1598b22000b60a329c6b1cc18896c5ced6 (diff)
parentc38ef385a9af288cf2d2ff0f306b6b2176fcf47d (diff)
downloademacs-67b696a4d68d98fff8158edf9c11b5d5d24d3fa7.tar
emacs-67b696a4d68d98fff8158edf9c11b5d5d24d3fa7.tar.gz
emacs-67b696a4d68d98fff8158edf9c11b5d5d24d3fa7.tar.bz2
emacs-67b696a4d68d98fff8158edf9c11b5d5d24d3fa7.tar.lz
emacs-67b696a4d68d98fff8158edf9c11b5d5d24d3fa7.tar.xz
emacs-67b696a4d68d98fff8158edf9c11b5d5d24d3fa7.tar.zst
emacs-67b696a4d68d98fff8158edf9c11b5d5d24d3fa7.zip
Merge remote-tracking branch 'refs/remotes/origin/master'
Diffstat (limited to '')
-rw-r--r--init.el31
1 files changed, 27 insertions, 4 deletions
diff --git a/init.el b/init.el
index 0f1a305..78c1b87 100644
--- a/init.el
+++ b/init.el
@@ -1,7 +1,27 @@
-;; 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.
+;;; init.el --- initialize emacs configuration
+
+;;; Author: Benj Bellon <benjaminbellon@gmail.com>
+;;; Maintainer: Benj Bellon <benjaminbellon@gmail.com>
+;;; 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
@@ -75,6 +95,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)
@@ -82,6 +103,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)
@@ -101,4 +123,5 @@
(put 'upcase-region 'disabled nil)
(put 'narrow-to-region 'disabled nil)
+(keychain-refresh-environment)
;;; init.el ends here