Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 483 lines (401 sloc) 16.315 kb
0923afa Brian Carper Use clojure-jack-in for SLIME
authored
1 ;; fix exec-path
2 (setq exec-path (append exec-path '("/home/brian/local/bin")))
3
de3ae56 Add emacs files
Brian Carper authored
4 (mapcar (lambda (x) (add-to-list 'load-path (expand-file-name x)))
61a0cc6 Brian Carper better smart-tab; swank/slime version bump
authored
5 '("~/.emacs.d"
337cf3b Brian Carper Further nrepl tweakings
authored
6 "~/.emacs.d/auto-complete"
61a0cc6 Brian Carper better smart-tab; swank/slime version bump
authored
7 "~/.emacs.d/clojure-mode"
337cf3b Brian Carper Further nrepl tweakings
authored
8 "~/.emacs.d/nrepl.el"
ded1707 Brian Carper enable org-mode; disable smart-tab-mode in org-mode
authored
9 "~/.emacs.d/haskell-mode"
337cf3b Brian Carper Further nrepl tweakings
authored
10 "~/.emacs.d/smart-tab"
ded1707 Brian Carper enable org-mode; disable smart-tab-mode in org-mode
authored
11 "~/.emacs.d/org/lisp"
12 "~/.emacs.d/org/contrib/lisp"))
de3ae56 Add emacs files
Brian Carper authored
13
14 (defun require-all (packages)
15 (mapcar #'require packages))
16
0923afa Brian Carper Use clojure-jack-in for SLIME
authored
17 (setq inferior-lisp-program "java -cp clojure-1.3.0.jar clojure.main")
18
de3ae56 Add emacs files
Brian Carper authored
19 (require-all '(
4540d52 Brian Carper Add Emacs mwe-log-commands; ditch vim rails mode
authored
20 mwe-log-commands
de3ae56 Add emacs files
Brian Carper authored
21 uniquify
22 linum
23 color-theme
d722ff7 Moved faces into gentooish.el
Brian Carper authored
24 gentooish
de3ae56 Add emacs files
Brian Carper authored
25 ido
26 parenface
27 point-undo
28 bar-cursor
29 browse-kill-ring
2e15f69 Brian Carper swank tweaks; EMACS UNDO TREE!
authored
30 undo-tree
0923afa Brian Carper Use clojure-jack-in for SLIME
authored
31 clojure-mode
337cf3b Brian Carper Further nrepl tweakings
authored
32 package
33 nrepl
34 ac-nrepl
35 auto-complete
36 paredit
de3ae56 Add emacs files
Brian Carper authored
37 ))
38
337cf3b Brian Carper Further nrepl tweakings
authored
39 (add-hook 'paredit-mode-hook
40 (lambda ()
41 ;; Some paredit keybindings conflict with windmove and SLIME
42 (define-key paredit-mode-map (kbd "<M-up>") nil)
43 (define-key paredit-mode-map (kbd "<M-down>") nil)
44 (define-key paredit-mode-map "\M-r" nil)
45 (define-key paredit-mode-map "{" 'paredit-open-curly)
46 (define-key paredit-mode-map "}" 'paredit-close-curly)
47 (define-key paredit-mode-map "\M-[" 'paredit-wrap-square)
48 (define-key paredit-mode-map "\M-{" 'paredit-wrap-curly)
49 (modify-syntax-entry ?\{ "(}")
50 (modify-syntax-entry ?\} "){")
51 ))
52
53 (add-hook 'auto-complete-mode-hook
54 (lambda ()
55 (define-key ac-complete-mode-map [down] nil)
56 (define-key ac-complete-mode-map [up] nil)))
57
58 (add-hook 'nrepl-mode-hook 'ac-nrepl-setup)
59 ;;(add-hook 'nrepl-mode-hook (lambda () (eldoc-mode 0)))
60 (add-hook 'clojure-nrepl-mode-hook 'ac-nrepl-setup)
61 (eval-after-load "auto-complete"
62 '(add-to-list 'ac-modes 'nrepl-mode))
63 (setq ac-auto-show-menu nil)
64 (setq ac-use-quick-help nil)
65 (setq ac-auto-start 1)
66 (setq ac-delay 0.0)
67
68 (add-to-list 'package-archives
69 '("marmalade" . "http://marmalade-repo.org/packages/"))
70 (package-initialize)
71 ;; (when (not (package-installed-p 'nrepl))
72 ;; (package-refresh-contents)
73 ;; (package-install 'nrepl))
74
ded1707 Brian Carper enable org-mode; disable smart-tab-mode in org-mode
authored
75 (defun code-mode (x)
76 (mapcar (lambda (hook) (add-hook hook x))
77 '(ruby-mode
78 clojure-mode-hook
79 lisp-mode-hook
80 emacs-lisp-mode-hook)))
81
337cf3b Brian Carper Further nrepl tweakings
authored
82 (mapcar #'code-mode
83 '(
84 auto-complete-mode
85 ;;smart-tab-mode
86 enable-paredit-mode
87 linum-on))
88
89 (mapcar (lambda (mode) (add-hook 'nrepl-mode-hook mode))
90 '(auto-complete-mode enable-paredit-mode))
91
ded1707 Brian Carper enable org-mode; disable smart-tab-mode in org-mode
authored
92 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
93 ;; org-mode
94 (require 'org-install)
95 (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
c788d8e Brian Carper Tweak org-mode, disable global linum-mode
authored
96 (setq org-startup-indented t)
97
98 (setq org-directory "~/Dropbox/Org")
99 (setq org-mobile-directory "~/Dropbox/MobileOrg/")
100 (setq org-agenda-files '("~/Dropbox/Org/my.org"))
101 (setq org-mobile-inbox-for-pull "~/Dropbox/Org/inbox.org")
ded1707 Brian Carper enable org-mode; disable smart-tab-mode in org-mode
authored
102
397d73e Brian Carper Emacs Haskell mode; better isearch; SBCL for SLIME
authored
103 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
104 ;; Haskell
105
106 (load "~/.emacs.d/haskell-mode/haskell-site-file")
107 (add-hook 'haskell-mode-hook 'turn-on-haskell-doc-mode)
108 (add-hook 'haskell-mode-hook 'turn-on-haskell-indentation)
de3ae56 Add emacs files
Brian Carper authored
109
110 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
111 ;; GLOBAL
d722ff7 Moved faces into gentooish.el
Brian Carper authored
112 (color-theme-initialize)
1d088f5 Brian Carper Window title; more Clojure CLASSPATH
authored
113 (setq frame-title-format '(multiple-frames "%b" ("" invocation-name)))
b5bad18 Fix fonts (yet again)
Brian Carper authored
114 (if (string= window-system "w32")
c7d0bf4 Swank clojure and SLIME setup
Brian Carper authored
115 (set-default-font "-outline-Consolas-normal-r-normal-normal-14-97-96-96-c-*-iso859-1")
b5bad18 Fix fonts (yet again)
Brian Carper authored
116 (set-default-font "Consolas-12" t))
117
d722ff7 Moved faces into gentooish.el
Brian Carper authored
118 (if window-system
119 (color-theme-gentooish)
120 (color-theme-dark-laptop))
121
2e15f69 Brian Carper swank tweaks; EMACS UNDO TREE!
authored
122 (global-undo-tree-mode 1)
ded1707 Brian Carper enable org-mode; disable smart-tab-mode in org-mode
authored
123
2e15f69 Brian Carper swank tweaks; EMACS UNDO TREE!
authored
124 (global-set-key "\C-R" 'undo-tree-redo)
125 (add-hook 'undo-mode-visualizer-mode
126 (define-key undo-tree-visualizer-map
127 (kbd "<return>")
128 'undo-tree-visualizer-quit))
129
36ce1de Brian Carper smart tabs; stop emacs from handling git mode
authored
130
de3ae56 Add emacs files
Brian Carper authored
131 (browse-kill-ring-default-keybindings)
d722ff7 Moved faces into gentooish.el
Brian Carper authored
132 (setq auto-save-list-file-prefix nil)
133 (fset 'yes-or-no-p 'y-or-n-p)
de3ae56 Add emacs files
Brian Carper authored
134
135 (defun my-backward-kill-word ()
136 "Kill words backward my way."
137 (interactive)
138 (if (bolp)
139 (backward-delete-char 1)
140 (if (string-match "^\\s-+$" (buffer-substring (point-at-bol) (point)))
141 (kill-region (point-at-bol) (point))
142 (backward-kill-word 1))))
143
144 (global-set-key "\M-\d" 'my-backward-kill-word)
145
861b429 Stop SLIME from making new windows for compilation errors
Brian Carper authored
146 ;; From http://stackoverflow.com/questions/848936/how-to-preserve-clipboard-content-in-emacs-on-windows
147 (defadvice kill-new (before kill-new-push-xselection-on-kill-ring activate)
148 "Before putting new kill onto the kill-ring, add the clipboard/external selection to the kill ring"
149 (let ((have-paste (and interprogram-paste-function
150 (funcall interprogram-paste-function))))
151 (when have-paste (push have-paste kill-ring))))
152
153
de3ae56 Add emacs files
Brian Carper authored
154 (global-hi-lock-mode 1)
155 (global-set-key "\C-o" 'point-undo)
861b429 Stop SLIME from making new windows for compilation errors
Brian Carper authored
156 ;;(global-set-key "\C-i" 'point-redo)
de3ae56 Add emacs files
Brian Carper authored
157
158 ;; from http://stackoverflow.com/questions/589691/how-can-i-emulate-vims-search-in-gnu-emacs
159
160 (defun my-isearch-word-at-point ()
161 (interactive)
162 (call-interactively 'isearch-forward-regexp))
163
164 (defun my-isearch-yank-word-hook ()
165 (when (equal this-command 'my-isearch-word-at-point)
166 (let ((string (concat "\\<"
167 (buffer-substring-no-properties
168 (progn (skip-syntax-backward "w_") (point))
169 (progn (skip-syntax-forward "w_") (point)))
170 "\\>")))
171 (if (and isearch-case-fold-search
172 (eq 'not-yanks search-upper-case))
173 (setq string (downcase string)))
174 (setq isearch-string string
175 isearch-message
176 (concat isearch-message
177 (mapconcat 'isearch-text-char-description
178 string ""))
179 isearch-yank-flag t)
180 (isearch-search-and-update))))
181
182 (add-hook 'isearch-mode-hook 'my-isearch-yank-word-hook)
183 (global-set-key [M-kp-multiply] 'my-isearch-word-at-point)
184
185
186 (bar-cursor-mode 1)
187
188 ;; Try to fix copy/paste
189 (setq-default mode-line-buffer-identification '(#("%2b" 0 2 (face mode-line-buffer-id))))
190 (setq transient-mark-mode t)
191 (setq mouse-drag-copy-region nil)
192 (setq x-select-enable-primary nil)
193 (setq x-select-enable-clipboard t)
194 (setq select-active-regions t)
195 (global-set-key [mouse-2] 'mouse-yank-primary)
196 (cua-mode t)
197
198 (delete-selection-mode t)
199 (tool-bar-mode 0)
200 (setq linum-format "%3d ")
201 (setq-default indent-tabs-mode nil)
202 (setq indent-tabs-mode nil)
203 (winner-mode t)
204
205 (tooltip-mode nil)
206 (setq line-number-mode nil)
207 (setq column-number-mode nil)
208 (setq size-indication-mode nil)
209 (setq mode-line-position nil)
861b429 Stop SLIME from making new windows for compilation errors
Brian Carper authored
210 (ido-mode 1)
de3ae56 Add emacs files
Brian Carper authored
211
212 (global-set-key "\C-m" 'reindent-then-newline-and-indent) ;No tabs
213 (global-set-key "\C-a" 'beginning-of-line-text)
214
cf06db4 Brian Carper window size tweaks etc.
authored
215 (setq even-window-heights nil)
216 (setq split-width-threshold nil)
861b429 Stop SLIME from making new windows for compilation errors
Brian Carper authored
217 (setq window-min-height 2)
218 (defun maximize-window ()
219 (interactive)
220 (let* ((other-windows (cdr (window-list)))
221 (other-heights (* (length other-windows) window-min-height))
222 (my-height (- (frame-height) other-heights)))
223 (setf (window-height) (- my-height 1))))
224
de3ae56 Add emacs files
Brian Carper authored
225 (add-hook 'term-setup-hook (lambda () (windmove-default-keybindings 'meta)))
861b429 Stop SLIME from making new windows for compilation errors
Brian Carper authored
226 ;(defadvice windmove-up (after maximize activate) (maximize-window))
227 ;(defadvice windmove-down (after maximize activate) (maximize-window))
de3ae56 Add emacs files
Brian Carper authored
228
229 (set-fringe-style (cons 0 1))
230
36ce1de Brian Carper smart tabs; stop emacs from handling git mode
authored
231 (setq vc-handled-backends nil)
de3ae56 Add emacs files
Brian Carper authored
232
233 (defun kill-all-buffers ()
234 (interactive)
235 (when (y-or-n-p "Kill all buffers?")
236 (dolist (buf (buffer-list))
237 (kill-buffer buf))
238 (delete-other-windows)))
239 (global-set-key "\C-xK" 'kill-all-buffers)
240
241 (defun make-backup-file-name (file)
242 (concat "~/.backups/" (file-name-nondirectory file) "~"))
243
244 (global-set-key [C-tab] 'indent-according-to-mode)
245
397d73e Brian Carper Emacs Haskell mode; better isearch; SBCL for SLIME
authored
246 (setq isearch-search-fun-function 'wrapping-search-fun)
247
248 (defun wrapping-search-fun ()
249 (lambda (&rest args)
250 (let* ((isearch-search-fun-function nil)
251 (fun (isearch-search-fun)))
252 (or (apply fun args)
253 (unless (cadr args)
254 (goto-char (if isearch-forward (point-min) (point-max)))
255 (apply fun args))))))
de3ae56 Add emacs files
Brian Carper authored
256
257 ;; Prevent Emacs from stupidly auto-changing my working directory
258 (defun find-file-save-default-directory ()
259 (interactive)
260 (setq saved-default-directory default-directory)
261 (ido-find-file)
262 (setq default-directory saved-default-directory))
263 (global-set-key "\C-x\C-f" 'find-file-save-default-directory)
264
21ce77f Brian Carper replace-globally
authored
265 (defun replace-globally ()
266 "Run replace-regexp across the whole file, rather than from
267 point to the end of the file."
268 (interactive)
269 (let ((before (point)))
270 (goto-char (point-min))
271 (call-interactively 'replace-regexp)
272 (when (= (point) (point-min))
273 (goto-char before))))
274
de3ae56 Add emacs files
Brian Carper authored
275 (require 'saveplace)
276 (setq save-place-file "~/.emacs.d/saveplace")
277 (setq save-place t)
278
4f844bf Brian Carper markdown-copy; swank tweaks
authored
279 ;; adapted from http://www.emacswiki.org/emacs/.emacs-ChristianRovner.el
280 (defun expand-region-linewise ()
281 (interactive)
282 (let ((start (region-beginning))
283 (end (region-end)))
284 (goto-char start)
285 (beginning-of-line)
286 (set-mark (point))
287 (goto-char end)
288 (unless (bolp) (end-of-line))))
289
290 (defun markdown-copy ()
291 (interactive)
292 (save-excursion
293 (expand-region-linewise)
294 (indent-rigidly (region-beginning) (region-end) 4)
295 (clipboard-kill-ring-save (region-beginning) (region-end))
296 (indent-rigidly (region-beginning) (region-end) -4)))
297
df27afd Brian Carper Yank whole lines (like Vim p and P)
authored
298 (defun yank-with-newline ()
299 "Yank, appending a newline if the yanked text doesn't end with one."
300 (yank)
301 (when (not (string-match "\n$" (current-kill 0)))
302 (newline-and-indent)))
303
304 (defun yank-as-line-above ()
305 "Yank text as a new line above the current line.
306
307 Also moves point to the beginning of the text you just yanked."
308 (interactive)
309 (let ((lnum (line-number-at-pos (point))))
310 (beginning-of-line)
311 (yank-with-newline)
312 (goto-line lnum)))
313
314 (defun yank-as-line-below ()
315 "Yank text as a new line below the current line.
316
317 Also moves point to the beginning of the text you just yanked."
318 (interactive)
319 (let* ((lnum (line-number-at-pos (point)))
320 (lnum (if (eobp) lnum (1+ lnum))))
321 (if (and (eobp) (not (bolp)))
322 (newline-and-indent)
323 (forward-line 1))
324 (yank-with-newline)
325 (goto-line lnum)))
326
327 (global-set-key "\M-P" 'yank-as-line-above)
328 (global-set-key "\M-p" 'yank-as-line-below)
329
c3cec69 Brian Carper Emacs equivalents of Vim's O and o
authored
330 ;; from http://stackoverflow.com/questions/2173324/emacs-equivalents-of-vims-dd-o-o
331 (defun open-line-above ()
332 (interactive)
333 (unless (bolp)
334 (beginning-of-line))
335 (newline-and-indent)
336 (forward-line -1)
337 (indent-according-to-mode))
338
339 (defun open-line-below ()
340 (interactive)
341 (unless (eolp)
342 (end-of-line))
343 (newline-and-indent))
344
345 (global-set-key "\M-O" 'open-line-above)
346 (global-set-key "\M-o" 'open-line-below)
347
de3ae56 Add emacs files
Brian Carper authored
348 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
349 ;; Terminals
350 (add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)
351
352 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
353 ;; Ruby
354
355 ;(require 'ruby-mode)
356
357 ;(define-key ruby-mode-map "\C-m" 'reindent-then-newline-and-indent)
358
359 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
360 ;; CSS
361
362 (defun electric-brace (arg)
363 (interactive "P")
364 ;; insert a brace
365 (self-insert-command 1)
366 ;; maybe do electric behavior
367 (css-indent-line))
368
369 (require 'css-mode)
370 (define-key css-mode-map "}" 'electric-brace)
371
372 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
d722ff7 Moved faces into gentooish.el
Brian Carper authored
373 ;; Generic Lisp / Emacs Lisp
374 ;; from http://www.emacswiki.org/emacs/AutoIndentation
de3ae56 Add emacs files
Brian Carper authored
375
d722ff7 Moved faces into gentooish.el
Brian Carper authored
376 (defadvice yank (after indent-region activate)
377 (if (member major-mode '(clojure-mode emacs-lisp-mode lisp-mode))
378 (let ((mark-even-if-inactive t))
379 (indent-region (region-beginning) (region-end) nil))))
0fbc977 More clojure syntax tweaks; moved some stuff around in .emacs
Brian Carper authored
380
381 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
df47e99 Brian Carper Set swank-clojure classpath at slime-start-time
authored
382 ;; Clojure
383
384 (autoload 'clojure-test-mode "clojure-test-mode" "Clojure test mode" t)
385 (autoload 'clojure-test-maybe-enable "clojure-test-mode" "" t)
386 (add-hook 'clojure-mode-hook 'clojure-test-maybe-enable)
c7d0bf4 Swank clojure and SLIME setup
Brian Carper authored
387
de3ae56 Add emacs files
Brian Carper authored
388 (set-language-environment "UTF-8")
389
13bb673 More color fixes; refactored .emacs a bit
Brian Carper authored
390 (defmacro defclojureface (name color desc &optional others)
391 `(defface ,name '((((class color)) (:foreground ,color ,@others))) ,desc :group 'faces))
392
393 (defclojureface clojure-parens "DimGrey" "Clojure parens")
394 (defclojureface clojure-braces "#49b2c7" "Clojure braces")
395 (defclojureface clojure-brackets "SteelBlue" "Clojure brackets")
396 (defclojureface clojure-keyword "khaki" "Clojure keywords")
397 (defclojureface clojure-namespace "#c476f1" "Clojure namespace")
398 (defclojureface clojure-java-call "#4bcf68" "Clojure Java calls")
399 (defclojureface clojure-special "#b8bb00" "Clojure special")
400 (defclojureface clojure-double-quote "#b8bb00" "Clojure special" (:background "unspecified"))
918e6ba Clojure syntax highlighting tweaks
Brian Carper authored
401
337cf3b Brian Carper Further nrepl tweakings
authored
402 ;; NREPL
403
404 (defun clojure () (interactive) (nrepl-jack-in nil))
405
0fbc977 More clojure syntax tweaks; moved some stuff around in .emacs
Brian Carper authored
406 (defun tweak-clojure-syntax ()
13bb673 More color fixes; refactored .emacs a bit
Brian Carper authored
407 (mapcar (lambda (x) (font-lock-add-keywords nil x))
408 '((("#?['`]*(\\|)" . 'clojure-parens))
409 (("#?\\^?{\\|}" . 'clojure-brackets))
410 (("\\[\\|\\]" . 'clojure-braces))
411 ((":\\w+" . 'clojure-keyword))
412 (("#?\"" 0 'clojure-double-quote prepend))
413 (("nil\\|true\\|false\\|%[1-9]?" . 'clojure-special))
414 (("(\\(\\.[^ \n)]*\\|[^ \n)]+\\.\\|new\\)\\([ )\n]\\|$\\)" 1 'clojure-java-call))
415 )))
de3ae56 Add emacs files
Brian Carper authored
416
ea0aa47 Brian Carper Better Clojure SLIME REPL syntax highlighting
authored
417 ;; from https://gist.github.com/337280
418 (defun clojure-font-lock-setup ()
898b14b Brian Carper Clojure tweaks
authored
419 "Configures font-lock for editing Clojure code."
ea0aa47 Brian Carper Better Clojure SLIME REPL syntax highlighting
authored
420 (interactive)
421 (set (make-local-variable 'font-lock-multiline) t)
422 (add-to-list 'font-lock-extend-region-functions
423 'clojure-font-lock-extend-region-def t)
424
425 (when clojure-mode-font-lock-comment-sexp
426 (add-to-list 'font-lock-extend-region-functions
427 'clojure-font-lock-extend-region-comment t)
428 (make-local-variable 'clojure-font-lock-keywords)
429 (add-to-list 'clojure-font-lock-keywords
430 'clojure-font-lock-mark-comment t)
431 (set (make-local-variable 'open-paren-in-column-0-is-defun-start) nil))
432
433 (setq font-lock-defaults
898b14b Brian Carper Clojure tweaks
authored
434 '(clojure-font-lock-keywords ; keywords
ea0aa47 Brian Carper Better Clojure SLIME REPL syntax highlighting
authored
435 nil nil
436 (("+-*/.<>=!?$%_&~^:@" . "w")) ; syntax alist
437 nil
438 (font-lock-mark-block-function . mark-defun)
439 (font-lock-syntactic-face-function
440 . lisp-font-lock-syntactic-face-function))))
441
0fbc977 More clojure syntax tweaks; moved some stuff around in .emacs
Brian Carper authored
442 (add-hook 'clojure-mode-hook 'tweak-clojure-syntax)
918e6ba Clojure syntax highlighting tweaks
Brian Carper authored
443
d722ff7 Moved faces into gentooish.el
Brian Carper authored
444 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
445 ;; Custom
446 (custom-set-variables
337cf3b Brian Carper Further nrepl tweakings
authored
447 ;; custom-set-variables was added by Custom.
448 ;; If you edit it by hand, you could mess it up, so be careful.
449 ;; Your init file should contain only one such instance.
450 ;; If there is more than one, they won't work right.
451 '(ac-auto-show-menu nil)
452 '(ac-show-menu-immediately-on-auto-complete nil)
d722ff7 Moved faces into gentooish.el
Brian Carper authored
453 '(case-fold-search t)
c7d0bf4 Swank clojure and SLIME setup
Brian Carper authored
454 '(clojure-mode-use-backtracking-indent t)
b5bad18 Fix fonts (yet again)
Brian Carper authored
455 '(comint-scroll-to-bottom-on-input t)
d722ff7 Moved faces into gentooish.el
Brian Carper authored
456 '(fancy-splash-image "")
457 '(ido-decorations (quote ("" "" " | " " | ..." "[" "]" " [No match]" " [Matched]" " [Not readable]" " [Too big]" " [Confirm]")))
458 '(ido-everywhere t)
459 '(inhibit-startup-screen t)
460 '(lisp-loop-forms-indentation 6)
461 '(lisp-loop-keyword-indentation 6)
462 '(lisp-simple-loop-indentation 6)
463 '(mode-line-format (quote ("%e--[" mode-line-buffer-identification "]" (vc-mode vc-mode) " " mode-line-modes global-mode-string " %-")))
464 '(mode-line-in-non-selected-windows t)
465 '(mode-line-modes (quote ("%[" "(" (:propertize ("" mode-name)) ("" mode-line-process) (:propertize ("" minor-mode-alist)) "%n" ")" "%]")))
466 '(mouse-wheel-progressive-speed nil)
467 '(require-final-newline t)
468 '(savehist-mode t nil (savehist))
469 '(scroll-bar-mode nil)
470 '(scroll-conservatively 100000)
471 '(scroll-down-aggressively 0.0)
472 '(scroll-margin 0)
473 '(scroll-step 1)
474 '(scroll-up-aggressively 0.0)
475 '(show-paren-mode t nil (paren))
c788d8e Brian Carper Tweak org-mode, disable global linum-mode
authored
476 '(uniquify-buffer-name-style (quote post-forward) nil (uniquify)))
c7d0bf4 Swank clojure and SLIME setup
Brian Carper authored
477 (custom-set-faces
337cf3b Brian Carper Further nrepl tweakings
authored
478 ;; custom-set-faces was added by Custom.
479 ;; If you edit it by hand, you could mess it up, so be careful.
480 ;; Your init file should contain only one such instance.
481 ;; If there is more than one, they won't work right.
482 '(org-hide ((((background dark)) (:foreground "#171717")))))
Something went wrong with that request. Please try again.