Skip to content

Instantly share code, notes, and snippets.

@twalker
Created February 27, 2011 01:56
Show Gist options
  • Save twalker/845831 to your computer and use it in GitHub Desktop.
Save twalker/845831 to your computer and use it in GitHub Desktop.
a minimal emacs setup
(custom-set-variables
;; custom-set-variables added by Custom.
'(cua-mode t nil (cua-base))
'(show-paren-mode t))
(custom-set-faces
;; custom-set-faces added by Custom.
)
;; http://www.emacswiki.org/emacs/EmacsCrashCode
(setq-default indent-tabs-mode t)
(setq-default tab-width 2)
(global-linum-mode 1) ; always show line numbers
(setq delete-by-moving-to-trash t) ; deleting files goes to OS's trash folder
(setq shift-select-mode t) ; “t” for true, “nil” for false
(delete-selection-mode 1) ; make typing override text selection
(menu-bar-mode nil) ; No menu bar
(setq make-backup-files nil) ; No backup files ~
(setq inhibit-splash-screen t)
(setq initial-scratch-message "TOBE: [Ninja | Pirate | Monkey | Robot | Cowboy]")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment