;; Allows sytanx-driven coloring in several modes (global-font-lock-mode t) (setq font-lock-maximum-decoration t) ;; Turns on auto-fill on file open (add-hook 'find-file-hooks 'turn-on-auto-fill) ;;; Global key bindings (global-set-key "\C-cc" 'compile) (global-set-key "\C-cg" 'goto-line) (global-set-key "\C-c#" 'comment-region) ;;; Setting up comint (interatcive command) mode (require 'comint) ;;; Removes annoying Ctrl-M's from shell output (setq comint-output-filter-functions (append (list 'comint-strip-ctrl-m) comint-output-filter-functions))