equal
deleted
inserted
replaced
1 ;; ~/.emacs.d/init.el (~/.emacs) |
1 ;; ~/.emacs.d/init.el (~/.emacs) |
2 ;; Luke Hoersten <[email protected]> |
2 ;; Luke Hoersten <[email protected]> |
3 |
|
4 |
3 |
5 ;;;; General ;;;; |
4 ;;;; General ;;;; |
6 (add-to-list 'load-path "~/.emacs.d") ; set default emacs load path |
5 (add-to-list 'load-path "~/.emacs.d") ; set default emacs load path |
7 |
6 |
8 (setq-default |
7 (setq-default |
55 |
54 |
56 (tool-bar-mode -1) ; remove tool bar |
55 (tool-bar-mode -1) ; remove tool bar |
57 (scroll-bar-mode -1) ; remove scroll bar |
56 (scroll-bar-mode -1) ; remove scroll bar |
58 (visual-line-mode t) ; word wrap break on whitespace |
57 (visual-line-mode t) ; word wrap break on whitespace |
59 (global-hl-line-mode t) ; highlight current line |
58 (global-hl-line-mode t) ; highlight current line |
60 (set-frame-font (get-font)) |
59 (set-frame-font (get-font)))) |
61 |
|
62 ;; twilight theme |
|
63 (require 'color-theme) |
|
64 (load "color-theme-twilight") |
|
65 (color-theme-twilight) |
|
66 )) |
|
67 |
60 |
68 ;;; terminal |
61 ;;; terminal |
69 (global-set-key (kbd "C-c s") 'eshell) ; start shell |
62 (global-set-key (kbd "C-c s") 'eshell) ; start shell |
70 (add-hook |
63 (add-hook |
71 'eshell-mode-hook |
64 'eshell-mode-hook |
138 (require 'align-with-spaces) ; use only spaces for alignment |
131 (require 'align-with-spaces) ; use only spaces for alignment |
139 (require 'pastebin-region) ; send selected text to pastebin |
132 (require 'pastebin-region) ; send selected text to pastebin |
140 (require 'move-line) ; move line up or down |
133 (require 'move-line) ; move line up or down |
141 (require 'rainbow-delimiters) ; multi-colored parens |
134 (require 'rainbow-delimiters) ; multi-colored parens |
142 |
135 |
|
136 ;;; twilight theme |
|
137 (if window-system |
|
138 (progn |
|
139 (require 'color-theme) |
|
140 (load "color-theme-twilight") |
|
141 (color-theme-twilight))) |
|
142 |
143 ;;; yasnippets |
143 ;;; yasnippets |
144 (add-to-list 'load-path "~/.emacs.d/thirdparty/yasnippet") |
144 (add-to-list 'load-path "~/.emacs.d/thirdparty/yasnippet") |
145 (require 'yasnippet) |
145 (require 'yasnippet) |
146 (yas/initialize) |
146 (yas/initialize) |
147 (yas/load-directory "~/.emacs.d/thirdparty/yasnippet/snippets") |
147 (yas/load-directory "~/.emacs.d/thirdparty/yasnippet/snippets") |