Guest User

Untitled

a guest
Feb 19th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.87 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. '(inhibit-startup-screen t)
  7. '(paren-match-face (quote paren-face-match-light))
  8. '(paren-sexp-mode t))
  9. (custom-set-faces
  10. ;; custom-set-faces was added by Custom.
  11. ;; If you edit it by hand, you could mess it up, so be careful.
  12. ;; Your init file should contain only one such instance.
  13. ;; If there is more than one, they won't work right.
  14. )
  15.  
  16. ;;; miscellany
  17. (setq-default tab-width 2)
  18. (setq-default indent-tabs-mode nil)
  19. (setq visible-bell t)
  20. (setq column-number-mode t)
  21. (require 'paren)
  22. (show-paren-mode 1)
  23. (global-set-key "\C-xg" 'goto-line)
  24.  
  25. ;;; syntax highlighting
  26. (global-font-lock-mode t)
  27. (setq standard-indent 2)
  28.  
  29. ;;; scroll-wheel stuffs:
  30. (mouse-wheel-mode)
  31. (setq mouse-scroll-delay 0.25)
  32. (setq mouse-wheel-progressive-speed nil)
  33.  
  34. (add-to-list 'load-path "~/.site-lisp")
  35.  
  36. ;;; Rinari does ruby/rails shizzle
  37. (add-to-list 'load-path "~/.site-lisp/rinari")
  38. (require 'rinari)
  39.  
  40. ;;; nxml (HTML ERB template support)
  41. (load "~/.site-lisp/nxhtml/autostart.el")
  42.  
  43. (setq
  44. nxhtml-global-minor-mode t
  45. mumamo-chunk-coloring 'submode-colored
  46. nxhtml-skip-welcome t
  47. indent-region-mode t
  48. rng-nxml-auto-validate-flag nil
  49. nxml-degraded t)
  50. (add-to-list 'auto-mode-alist '("\\.html\\.erb\\'" . eruby-nxhtml-mumamo))
  51.  
  52. ;;loads ruby mode when a .rb file is opened.
  53. (autoload 'ruby-mode "ruby-mode" "Major mode for editing ruby scripts." t)
  54. (setq auto-mode-alist (cons '(".rb$" . ruby-mode) auto-mode-alist))
  55.  
  56. ;; HAML & Sass modes, bitches.
  57. (require 'haml-mode nil 't)
  58. (add-to-list 'auto-mode-alist '("\\.haml$" . haml-mode))
  59. (require 'sass-mode nil 't)
  60. (add-to-list 'auto-mode-alist '("\\.sass$" . sass-mode))
Add Comment
Please, Sign In to add comment