Advertisement
Guest User

.emacs

a guest
Jun 19th, 2015
426
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 2.49 KB | None | 0 0
  1. (custom-set-variables
  2.  ;; custom-set-variables was added by Custom.
  3.  ;; If you edit it by hand, you could mess it up, so be careful.
  4.  ;; Your init file should contain only one such instance.
  5.  ;; If there is more than one, they won't work right.
  6.  '(auto-save-file-name-transforms (\` ((".*" (\, temporary-file-directory) t))))
  7.  '(backup-by-copying t)
  8.  '(backup-directory-alist (\` ((".*" \, temporary-file-directory))))
  9.  '(blink-cursor-mode t)
  10.  '(coffee-tab-width 2)
  11.  '(column-number-mode t)
  12.  '(css-indent-offset 2)
  13.  '(cua-enable-cua-keys t)
  14.  '(cua-mode t nil (cua-base))
  15.  '(custom-enabled-themes (quote (lush)))
  16.  '(delete-old-versions nil)
  17.  '(ecb-options-version "2.40")
  18.  '(enh-ruby-deep-indent-paren nil)
  19.  '(indent-tabs-mode nil)
  20.  '(package-archives
  21.    (quote
  22.     (("gnu" . "http://elpa.gnu.org/packages/")
  23.      ("marmalade" . "http://marmalade-repo.org/packages/")
  24.      ("melpa" . "http://melpa.org/packages/"))))
  25.  '(ruby-insert-encoding-magic-comment nil)
  26.  '(standard-indent 4)
  27.  '(tab-stop-list (number-sequence 4 200 4))
  28.  '(uniquify-buffer-name-style (quote post-forward-angle-brackets) nil (uniquify))
  29.  '(web-mode-css-indent-offset 2)
  30.  '(web-mode-enable-auto-indentation nil)
  31.  '(whitespace-style (quote (face tabs trailing indentation space-after-tab)))
  32.  '(x-select-enable-clipboard-manager nil)
  33.  '(x-select-enable-primary nil))
  34. (custom-set-faces
  35.  ;; custom-set-faces was added by Custom.
  36.  ;; If you edit it by hand, you could mess it up, so be careful.
  37.  ;; Your init file should contain only one such instance.
  38.  ;; If there is more than one, they won't work right.
  39.  '(column-marker-1 ((t (:background "black"))) t)
  40.  '(cursor ((t (:background "white"))))
  41.  '(highlight-indentation-face ((t (:background "#555")))))
  42.  
  43. (set-face-attribute 'default nil :height 140)
  44.  
  45. (require 'uniquify)
  46.  
  47. (defun after-init-packages ()
  48.   (unless (package-installed-p 'f)
  49.     (package-install 'f)
  50.     )
  51.   (unless (package-installed-p 'dash)
  52.     (package-install 'dash)
  53.     )
  54.   (unless (package-installed-p 's)
  55.     (package-install 's)
  56.     )
  57.   (require 'f)
  58.   (require 'dash)
  59.   (require 's)
  60.   (add-to-list 'load-path "~/.emacs.d/config/")
  61.   (dolist (fn
  62.            (-distinct
  63.             (--map (f-base it)
  64.                    (--filter (s-ends-with? ".el" it) (f-entries "~/.emacs.d/config")))))
  65.            (message fn)
  66.            (load-library fn)
  67.     )
  68. )
  69.  
  70. (add-hook 'after-init-hook 'after-init-packages)
  71. (add-hook 'after-init-hook (lambda ()
  72.                              (load-theme 'lush t)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement