;; -------~-------~--~------------------~------ ;; E M A C S ;; -------~-------~--~------------------~------ ;; ;; Software used ;; `-> Emacs 23.3-1 ;; `-> Color-Theme 6.6.0 (http://www.nongnu.org/color-theme) ;; `-> Lua-mode 20110428 (http://luaforge.net/projects/lua-mode) ;; `-> Markdown-mode 1.8.1 (http://jblevins.org/projects/markdown-mode) ;; `-> Minimap 0.7 (http://randomsample.de/minimap.el) ;; `-> Smooth-Scrolling 1.10 (http://adamspiers.org/computing/elisp/smooth-scrolling.el) ;; `-> Vimpulse 0.5 (http://www.emacswiki.org/emacs/Vimpulse) ;; `-> WhizzyTex 1.3.2 (http://gallium.inria.fr/whizzytex) ;; `-> YaSnippet 0.6.1c (http://code.google.com/p/yasnippet) ;; ;; -------~-------~--~------------------~------ ;; -------~-------~--~------------------~------ ;; PLUGINS ;; -------~-------~--~------------------~------ (add-to-list 'load-path "~/.emacs.d/modules") (require 'vimpulse) (require 'minimap) ;; -------~-------~--~------------------~------ ;; SEPARATE CONFIGS ;; -------~-------~--~------------------~------ (add-to-list 'load-path "~/.emacs.d/custom") (load "keybinds") (load "mode-line") (load "filetypes") (load "line-numbers") ;; -------~-------~--~------------------~------ ;; APPEARANCE ;; -------~-------~--~------------------~------ (add-to-list 'load-path "~/.emacs.d/themes") (require 'color-theme-julie) (color-theme-julie) ;; -------~-------~--~------------------~------ ;; SYNTAX ;; -------~-------~--~------------------~------ (global-font-lock-mode t) (setq font-lock-maximum-decoration t) ;; -------~-------~--~------------------~------ ;; MISC ;; -------~-------~--~------------------~------ ;; scroll margin (require 'smooth-scrolling) (setq smooth-scroll-margin 10) ;; no... (tool-bar-mode 0) (scroll-bar-mode 0) (menu-bar-mode 0) (blink-cursor-mode 0) (setq make-backup-files nil) (setq auto-save-default nil) ;; show matching parens (show-paren-mode t) ;; no splash (setq inhibit-splash-screen t) ;; hilight current line (global-hl-line-mode 1) ;; indent (setq standard-indent 2) (setq-default tab-width 2) (setq-default indent-tabs-mode nil) ;; always end a file with a newline (setq require-final-newline nil) ;; line numbers (defvar linum-is-relative 1) (toggle-linum) ;; -------~-------~--~------------------~------ ;; WHITESPACE ;; -------~-------~--~------------------~------ (require 'whitespace) (setq whitespace-display-mappings '( (newline-mark 10 [60 10]) ; newlne, < (tab-mark 9 [187 9] [92 9]) ; tab, » )) (setq whitespace-space 'whitespace-space whitespace-tab 'whitespace-tab whitespace-trailing 'whitespace-trailing whitespace-newline 'whitespace-newline whitespace-emtpy 'whitespace-empty) ;; -------~-------~--~------------------~------ ;; YASNIPPET ;; -------~-------~--~------------------~------ (add-to-list 'load-path "~/.emacs.d/modules/yasnippet") (require 'yasnippet) (yas/initialize) (yas/load-directory "~/.emacs.d/modules/yasnippet/snippets") ;; -------~-------~--~------------------~------ ;; TeX ;; -------~-------~--~------------------~------ (load "auctex.el" nil t t) (load "preview-latex.el" nil t t) (require 'whizzytex)