add some stuff to init.el
This commit is contained in:
parent
49015fbe66
commit
96b3c38690
1 changed files with 16 additions and 10 deletions
26
init.el.txt
26
init.el.txt
|
@ -7,26 +7,33 @@
|
||||||
(eval-after-load "auto-complete"
|
(eval-after-load "auto-complete"
|
||||||
'(add-to-list 'ac-modes 'slime-repl-mode))
|
'(add-to-list 'ac-modes 'slime-repl-mode))
|
||||||
(require 'package)
|
(require 'package)
|
||||||
|
|
||||||
(add-to-list 'package-archives
|
(add-to-list 'package-archives
|
||||||
'("marmalade" . "http://marmalade-repo.org/packages/"))
|
'("marmalade" . "http://marmalade-repo.org/packages/"))
|
||||||
|
|
||||||
|
(add-to-list 'package-archives
|
||||||
|
'("melpa" . "http://melpa.org/packages/"))
|
||||||
|
|
||||||
(package-initialize)
|
(package-initialize)
|
||||||
|
|
||||||
(global-linum-mode 1)
|
; Make sure linum mode is false
|
||||||
|
(global-linum-mode 0)
|
||||||
(setq linum-format "%d ")
|
(global-relative-line-numbers-mode)
|
||||||
|
|
||||||
(defvar my-packages '(better-defaults
|
(defvar my-packages '(better-defaults
|
||||||
clojure-mode
|
clojure-mode
|
||||||
cider
|
cider
|
||||||
evil
|
evil
|
||||||
auto-complete
|
auto-complete
|
||||||
|
alchemist
|
||||||
ac-slime
|
ac-slime
|
||||||
|
company
|
||||||
|
monokai-theme
|
||||||
|
relative-line-numbers
|
||||||
starter-kit
|
starter-kit
|
||||||
starter-kit-bindings
|
starter-kit-bindings
|
||||||
starter-kit-lisp
|
starter-kit-lisp
|
||||||
starter-kit-eshell
|
starter-kit-eshell))
|
||||||
monokai-theme))
|
|
||||||
|
|
||||||
(dolist (p my-packages)
|
(dolist (p my-packages)
|
||||||
(when (not (package-installed-p p))
|
(when (not (package-installed-p p))
|
||||||
|
@ -35,19 +42,18 @@
|
||||||
(setq ns-command-modifier 'meta)
|
(setq ns-command-modifier 'meta)
|
||||||
|
|
||||||
(evil-mode 1)
|
(evil-mode 1)
|
||||||
|
(add-hook 'after-init-hook 'global-company-mode)
|
||||||
(custom-set-variables
|
(custom-set-variables
|
||||||
;; custom-set-variables was added by Custom.
|
;; custom-set-variables was added by Custom.
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
;; Your init file should contain only one such instance.
|
;; Your init file should contain only one such instance.
|
||||||
;; If there is more than one, they won't work right.
|
;; If there is more than one, they won't work right.
|
||||||
'(custom-safe-themes (quote ("fb4bf07618eab33c89d72ddc238d3c30918a501cf7f086f2edf8f4edba9bd59f" default)))
|
'(custom-safe-themes (quote ("9a9e75c15d4017c81a2fe7f83af304ff52acfadd7dde3cb57595919ef2e8d736" "fb4bf07618eab33c89d72ddc238d3c30918a501cf7f086f2edf8f4edba9bd59f" default)))
|
||||||
'(haskell-mode-hook '(turn-on-haskell-indentation)))
|
'(haskell-mode-hook (quote (turn-on-haskell-indentation))))
|
||||||
(custom-set-faces
|
(custom-set-faces
|
||||||
;; custom-set-faces was added by Custom.
|
;; custom-set-faces was added by Custom.
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
;; Your init file should contain only one such instance.
|
;; Your init file should contain only one such instance.
|
||||||
;; If there is more than one, they won't work right.
|
;; If there is more than one, they won't work right.
|
||||||
)
|
)
|
||||||
;;(load-theme 'tsdh-dark)
|
(load-theme 'monokai t)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue