Skip to content

Instantly share code, notes, and snippets.

@ihodes
Created August 22, 2013 21:39
Show Gist options
  • Save ihodes/6313142 to your computer and use it in GitHub Desktop.
Save ihodes/6313142 to your computer and use it in GitHub Desktop.
;; much stolen from github.com/technomancy/better-defaults
(load-theme 'tango-dark)
(require 'package)
(add-to-list 'package-archives
'("marmalade" . "http://marmalade-repo.org/packages/") t)
(package-initialize)
(progn
(global-undo-tree-mode)
(column-number-mode t)
(ido-mode t)
(setq ido-enable-flex-matching t)
(menu-bar-mode -1)
(when (fboundp 'tool-bar-mode)
(tool-bar-mode -1))
(when (fboundp 'scroll-bar-mode)
(scroll-bar-mode -1))
(require 'uniquify)
(setq uniquify-buffer-name-style 'forward)
(require 'saveplace)
(setq-default save-place t)
(show-paren-mode 1)
(setq-default indent-tabs-mode nil)
(setq apropos-do-all t
save-place-file (concat user-emacs-directory "places")
backup-directory-alist `(("." . ,(concat user-emacs-directory
"backups")))))
(provide 'better-defaults)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment