emacs: Moved some configurations around and fixed init-modes.el
This commit is contained in:
parent
0d133eceb3
commit
50ec87400c
4 changed files with 10 additions and 14 deletions
|
|
@ -1,3 +1,4 @@
|
|||
(mapc 'require '(projectile))
|
||||
;; Initializes modes I use.
|
||||
|
||||
(add-hook 'prog-mode-hook 'esk-pretty-lambdas)
|
||||
|
|
@ -33,6 +34,11 @@
|
|||
(setq nrepl-hide-special-buffers t)
|
||||
(setq nrepl-popup-stacktraces nil)
|
||||
|
||||
;; Paredit in nrepl
|
||||
(add-hook 'nrepl-mode-hook 'paredit-mode)
|
||||
(add-hook 'nrepl-mode-hook 'rainbow-delimiters-mode)
|
||||
;; Enable projectile for all things programming
|
||||
(add-hook 'prog-mode-hook 'projectile-on)
|
||||
|
||||
;; Enable rainbow-delimiters for all things programming
|
||||
(add-hook 'prog-mode-hook 'rainbow-delimiters-mode)
|
||||
|
||||
;; Enable paredit in all programming buffers
|
||||
(add-hook 'prog-mode-hook 'paredit-mode)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue