Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (custom-set-variables
- ;; custom-set-variables was added by Custom.
- ;; 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.
- '(inhibit-startup-screen t)
- '(paren-match-face (quote paren-face-match-light))
- '(paren-sexp-mode t))
- (custom-set-faces
- ;; custom-set-faces was added by Custom.
- ;; 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.
- )
- ;;; miscellany
- (setq-default tab-width 2)
- (setq-default indent-tabs-mode nil)
- (setq visible-bell t)
- (setq column-number-mode t)
- (require 'paren)
- (show-paren-mode 1)
- (global-set-key "\C-xg" 'goto-line)
- ;;; syntax highlighting
- (global-font-lock-mode t)
- (setq standard-indent 2)
- ;;; scroll-wheel stuffs:
- (mouse-wheel-mode)
- (setq mouse-scroll-delay 0.25)
- (setq mouse-wheel-progressive-speed nil)
- (add-to-list 'load-path "~/.site-lisp")
- ;;; Rinari does ruby/rails shizzle
- (add-to-list 'load-path "~/.site-lisp/rinari")
- (require 'rinari)
- ;;; nxml (HTML ERB template support)
- (load "~/.site-lisp/nxhtml/autostart.el")
- (setq
- nxhtml-global-minor-mode t
- mumamo-chunk-coloring 'submode-colored
- nxhtml-skip-welcome t
- indent-region-mode t
- rng-nxml-auto-validate-flag nil
- nxml-degraded t)
- (add-to-list 'auto-mode-alist '("\\.html\\.erb\\'" . eruby-nxhtml-mumamo))
- ;;loads ruby mode when a .rb file is opened.
- (autoload 'ruby-mode "ruby-mode" "Major mode for editing ruby scripts." t)
- (setq auto-mode-alist (cons '(".rb$" . ruby-mode) auto-mode-alist))
- ;; HAML & Sass modes, bitches.
- (require 'haml-mode nil 't)
- (add-to-list 'auto-mode-alist '("\\.haml$" . haml-mode))
- (require 'sass-mode nil 't)
- (add-to-list 'auto-mode-alist '("\\.sass$" . sass-mode))
Add Comment
Please, Sign In to add comment