Bohtvaroh

Blogger - SUEFCP - dotemacs

Jul 30th, 2012
999
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 1.43 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-default nil)
  7.  '(backup-inhibited t t)
  8.  '(cursor-type 'bar t)
  9.  '(column-number-mode t)
  10.  '(delete-selection-mode t)
  11.  '(inhibit-startup-screen t)
  12.  '(initial-scratch-message nil)
  13.  '(tool-bar-mode nil))
  14.  
  15. ;; Package.el customization
  16. (package-initialize)
  17. (add-to-list 'package-archives
  18.              '("melpa" . "http://melpa.milkbox.net/packages/") t)
  19.  
  20. ;; rainbow delimiters
  21. (global-rainbow-delimiters-mode)
  22.  
  23. ;; paredit
  24. (add-hook 'clojure-mode-hook 'paredit-mode)
  25. (add-hook 'nrepl-mode-hook 'paredit-mode)
  26. (global-set-key [f7] 'paredit-mode)
  27.  
  28. ;; clojure-mode
  29. (global-set-key [f9] 'nrepl-jack-in)
  30.  
  31. ;; nrepl
  32. (add-hook 'nrepl-interaction-mode-hook 'nrepl-turn-on-eldoc-mode)
  33. (setq nrepl-popup-stacktraces nil)
  34. (add-to-list 'same-window-buffer-names "*nrepl*")
  35. (add-hook 'nrepl-mode-hook 'paredit-mode)
  36.  
  37. ;; Auto complete
  38. (require 'auto-complete-config)
  39. (ac-config-default)
  40. (define-key ac-completing-map "\M-/" 'ac-stop)
  41.  
  42. ;; ac-nrepl
  43. (require 'ac-nrepl)
  44. (add-hook 'nrepl-mode-hook 'ac-nrepl-setup)
  45. (add-hook 'nrepl-interaction-mode-hook 'ac-nrepl-setup)
  46. (eval-after-load "auto-complete" '(add-to-list 'ac-modes 'nrepl-mode))
  47.  
  48. ;; theme
  49. (load-theme 'solarized-light t)
Advertisement
Add Comment
Please, Sign In to add comment