src.nth.io/

summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2015-05-11 09:45:31 -0500
committerLuke Hoersten <[email protected]>2015-05-11 09:45:31 -0500
commitabbf43598820d2ed5b703a675296e505d80d602d (patch)
tree0c6cc57eaa5d3e71fb6e61ea2dc14b9cc092e111 /init.el
parent3881850f00dd71599fddbf3204c60c14467975a1 (diff)
Lots of random changes. Stopped using Chris Done's haskell-flycheck.
Diffstat (limited to 'init.el')
-rw-r--r--init.el36
1 files changed, 19 insertions, 17 deletions
diff --git a/init.el b/init.el
index 886b951..bbea55f 100644
--- a/init.el
+++ b/init.el
@@ -58,7 +58,7 @@
;;;; Mode-Specific ;;;;
;;; text-mode
-(add-hook 'fundamental-mode-hook 'flyspell-mode) ; spellcheck text
+(add-hook 'fundamental-mode-hook 'flyspell-mode) ; spellcheck text
(add-hook 'fundamental-mode-hook 'turn-on-auto-fill) ; autofill text
;;; ido-mode
@@ -113,20 +113,13 @@
;;; packages
(require 'package-require)
-(package-require '(auto-complete exec-path-from-shell
- expand-region rainbow-delimiters rainbow-mode solarized-theme
- visual-regexp yasnippet zencoding-mode markdown-mode move-text))
+(package-require '(exec-path-from-shell expand-region
+ rainbow-delimiters rainbow-mode solarized-theme visual-regexp
+ yasnippet zencoding-mode markdown-mode move-text powerline))
-;;; custom requires
-(require 'haskell-init)
-(require 'javascript-init)
-(require 'c-init) ; c specific elisp
-
-;;; auto-complete-mode
-(require 'auto-complete-config)
-(ac-config-default)
-(global-set-key (kbd "M-/") 'auto-complete)
-(setq-default ac-auto-start nil)
+;; powerline
+(require 'powerline)
+(powerline-default-theme)
;;; terminal
(global-set-key (kbd "C-c s") 'eshell) ; start shell
@@ -134,6 +127,15 @@
(eshell)
(add-hook 'eshell-mode-hook (lambda () (setenv "TERM" "emacs")))
+;;; custom requires
+(require 'haskell-init)
+(require 'javascript-init)
+(require 'c-init) ; c specific elisp
+
+;; ;;; company mode
+;; (add-hook 'after-init-hook 'global-company-mode)
+;; (global-set-key (kbd "M-/") 'company-complete)
+
;;; uniquify
(require 'uniquify) ; unique buffer names with dirs
(setq
@@ -149,7 +151,7 @@
;;; yasnippets
(setq-default yas-prompt-functions '(yas-ido-prompt yas-dropdown-prompt)) ; use ido for multiple snippets
-(setq-default yas-snippet-dirs '("~/.emacs.d/snippets"))
+;; (setq-default yas-snippet-dirs '("~/.emacs.d/snippets"))
(yas-global-mode t)
@@ -174,8 +176,8 @@
(add-hook x
(lambda ()
(linum-mode t)
- (rainbow-delimiters-mode t)
- (auto-complete-mode t))))
+ (subword-mode t)
+ (rainbow-delimiters-mode t))))
'(text-mode-hook
c-mode-common-hook
python-mode-hook