Skip to content

Instantly share code, notes, and snippets.

@igorsobreira
Created March 7, 2012 16:35
Show Gist options
  • Save igorsobreira/1994237 to your computer and use it in GitHub Desktop.
Save igorsobreira/1994237 to your computer and use it in GitHub Desktop.
(setq make-backup-files nil)
(setq inferior-lisp-program "clisp")
(add-to-list 'load-path "~/elisp")
(add-to-list 'load-path "~/elisp/emacs-nav")
(require 'magit)
(require 'actionscript-mode)
(require 'go-mode-load)
(require 'ess-site)
(require 'puppet-mode)
(require 'lua-mode)
(require 'php-mode)
(require 'nav)
(require 'markdown-mode)
(require 'yaml-mode)
(load "~/elisp/haskell-mode/haskell-site-file")
(setq-default indent-tabs-mode nil)
(setq-default tab-width 4)
(setq-default truncate-lines "please don't")
;; always update buffer if file was modified on disk without
;; asking for confirmation
(setq-default revert-without-query '(".*"))
(global-auto-revert-mode 1)
(add-to-list 'auto-mode-alist '("Vagrantfile$" . ruby-mode))
(add-to-list 'auto-mode-alist '("Capfile$" . ruby-mode))
(add-to-list 'auto-mode-alist '("\\.pp$" . puppet-mode))
(add-to-list 'auto-mode-alist '("\\.lua$" . lua-mode))
(add-to-list 'auto-mode-alist '("\\.es$" . javascript-mode))
(add-to-list 'auto-mode-alist '("\\.asc$" . javascript-mode))
(add-to-list 'auto-mode-alist '("\\.as$" . actionscript-mode))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment