|
|
|
@ -2,6 +2,8 @@
|
|
|
|
|
(add-to-list 'package-archives
|
|
|
|
|
'("melpa-stable" . "http://stable.melpa.org/packages/") t)
|
|
|
|
|
(package-initialize)
|
|
|
|
|
(menu-bar-mode -1)
|
|
|
|
|
(tool-bar-mode -1)
|
|
|
|
|
|
|
|
|
|
(defun indent-buffer ()
|
|
|
|
|
(interactive)
|
|
|
|
@ -18,13 +20,13 @@
|
|
|
|
|
(global-set-key (kbd "C-x -") 'hs-toggle-hiding)
|
|
|
|
|
|
|
|
|
|
(autoload 'enable-paredit-mode "paredit" "Turn on pseudo-structural editing of Lisp code." t)
|
|
|
|
|
(add-hook 'lisp-mode-hook #'enable-paredit-mode)
|
|
|
|
|
(add-hook 'emacs-lisp-mode-hook #'enable-paredit-mode)
|
|
|
|
|
(add-hook 'eval-expression-minibuffer #'enable-paredit-mode)
|
|
|
|
|
(add-hook 'clojure-mode-hook #'enable-paredit-mode)
|
|
|
|
|
(add-hook 'clojure-mode-hook #'hs-minor-mode)
|
|
|
|
|
(add-hook 'clojure-mode-hook #'company-mode)
|
|
|
|
|
(add-hook 'less-css-mode-hook #'hs-minor-mode)
|
|
|
|
|
(add-hook 'lisp-mode-hook 'enable-paredit-mode)
|
|
|
|
|
(add-hook 'emacs-lisp-mode-hook 'enable-paredit-mode)
|
|
|
|
|
(add-hook 'eval-expression-minibuffer 'enable-paredit-mode)
|
|
|
|
|
(add-hook 'clojure-mode-hook 'enable-paredit-mode)
|
|
|
|
|
(add-hook 'clojure-mode-hook 'hs-minor-mode)
|
|
|
|
|
;;(add-hook 'clojure-mode-hook 'company-mode)
|
|
|
|
|
(add-hook 'less-css-mode-hook 'hs-minor-mode)
|
|
|
|
|
(add-hook 'before-save-hook 'delete-trailing-whitespace)
|
|
|
|
|
|
|
|
|
|
(custom-set-variables
|
|
|
|
@ -43,7 +45,7 @@
|
|
|
|
|
;; If you edit it by hand, you could mess it up, so be careful.
|
|
|
|
|
;; Your init file should contain only one such instance.
|
|
|
|
|
;; If there is more than one, they won't work right.
|
|
|
|
|
'(default ((t (:inherit nil :stipple nil :background "#2d3743" :foreground "#e1e1e0" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 128 :width normal :foundry "DAMA" :family "Ubuntu Mono")))))
|
|
|
|
|
'(default ((t (:inherit nil :stipple nil :background "#2d3743" :foreground "#e1e1e0" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 100 :width normal :foundry "DAMA" :family "monospace")))))
|
|
|
|
|
|
|
|
|
|
(global-auto-complete-mode)
|
|
|
|
|
(global-linum-mode)
|
|
|
|
|