Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 66 lines (54 sloc) 2.789 kb
fdcd8dc @bleything OCD commit: 80 column comment bars
authored
1 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
0db34d6 @bleything add empty init.el
authored
2 ;;;
3 ;;; Ben Bleything's emacs setup
4 ;;; Based on the work of many others. See README.md for credits.
5 ;;;
6 ;;; Git Hubs: http://github.com/bleything/dotemacs
7 ;;; Internet Electronic Mail: ben@bleything.net
8 ;;;
fdcd8dc @bleything OCD commit: 80 column comment bars
authored
9 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
0db34d6 @bleything add empty init.el
authored
10 ;;;
11 ;;; To install, make this directory live at ~/.emacs.d
12 ;;;
fdcd8dc @bleything OCD commit: 80 column comment bars
authored
13 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
0db34d6 @bleything add empty init.el
authored
14
fdcd8dc @bleything OCD commit: 80 column comment bars
authored
15 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
43b4de4 @bleything add some basic editor config
authored
16 ;;; basic configuration
17 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
18
1cc59cf @bleything enable common lisp compatibility
authored
19 (require 'cl) ;; common lisp compatibility
c8a288f @bleything start server with emacs
authored
20 (server-start) ;; start server so clients can attach
43b4de4 @bleything add some basic editor config
authored
21 (setq make-backup-files nil) ;; do not create file~ files
22 (setq inhibit-startup-screen t) ;; do not show startup screen
23 (column-number-mode t) ;; show cursor position in status bar
846efe5 @bleything enable global-auto-revert-mode
authored
24 (global-auto-revert-mode t) ;; automatically update files that have
25 ;; changed on disk
43b4de4 @bleything add some basic editor config
authored
26 (delete-selection-mode t) ;; typing over a selection deletes the
27 ;; selected text
28
0202f91 @bleything ignore right-side alt/meta key so the OS can use it
authored
29 ;;; make emacs ignore the right-side option key so it can be used for accented
30 ;;; characters and other OS-level stuff
31 (setq ns-right-alternate-modifier 'none)
32
43b4de4 @bleything add some basic editor config
authored
33 ;;; enable whitespace-mode for all buffers, showing trailing spaces,
34 ;;; tabs, and lines that extend past 80 characters
35 (global-whitespace-mode t)
36 (setq whitespace-style '(face trailing tabs lines-tail tab-mark))
37
e35a7ba @bleything turn off tabs. yay!
authored
38 ;;; no tabs.
39 (setq-default indent-tabs-mode nil)
40
1a52d20 @bleything add vendor/ to load path
authored
41 ;;; add ~/.emacs.d/vendor to load path
42 (add-to-list 'load-path (concat user-emacs-directory "vendor"))
43
43b4de4 @bleything add some basic editor config
authored
44 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
b41fa6c @bleything move elpa initialization to init.el
authored
45 ;;; ELPA
46 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
47
48 (setq package-archives '(
aef4ade @bleything fix gnu elpa location
authored
49 ("gnu" . "http://elpa.gnu.org/packages/")
e35a7ba @bleything turn off tabs. yay!
authored
50 ("marmalade" . "http://marmalade-repo.org/packages/")
51 ("tromey" . "http://tromey.com/elpa/")))
b41fa6c @bleything move elpa initialization to init.el
authored
52 (package-initialize)
53
54 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
0d75958 @bleything clean up requires and associated helper functions
authored
55 ;;; Load Configs
fdcd8dc @bleything OCD commit: 80 column comment bars
authored
56 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
5f55878 @bleything add some shortcut references to other config dirs
authored
57
0d75958 @bleything clean up requires and associated helper functions
authored
58 ;;; load files from the dotfile path
9c22c7a @bleything add load-config function; move color settings out into window.el
authored
59 (defun load-config (file)
563aac4 @bleything drop dotfiles-dir in favor of user-emacs-directory
authored
60 (load-file (concat user-emacs-directory file)))
9c22c7a @bleything add load-config function; move color settings out into window.el
authored
61
b087bb7 @bleything add functions.el
authored
62 (load-config "functions.el") ;; personal helper functions
ff391ac @bleything add SLIME and associated settings
authored
63 (load-config "languages.el") ;; settings for various languages
2425ed3 @bleything vendor magit; add tools.el for config
authored
64 (load-config "tools.el") ;; settings for various tools
65 (load-config "window.el") ;; window settings (colors, status bars, etc)
Something went wrong with that request. Please try again.