Skip to content

Instantly share code, notes, and snippets.

@sometimesfood
Created February 24, 2011 12:05
Show Gist options
  • Save sometimesfood/842092 to your computer and use it in GitHub Desktop.
Save sometimesfood/842092 to your computer and use it in GitHub Desktop.
OS X minimal .emacs
(defun macosx-p()
(string= "darwin" system-type))
(when (macosx-p)
(setq mac-option-key-is-meta nil)
(setq mac-command-key-is-meta t)
(setq mac-command-modifier 'meta)
(setq mac-option-modifier nil)
(set-default-font "Menlo-Regular-14")
(blink-cursor-mode 1)
;; use UTF-8
(set-terminal-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8)
(prefer-coding-system 'utf-8))
(add-to-list 'load-path "~/.emacs.d/elisp/color-theme")
(require 'color-theme)
(eval-after-load "color-theme"
'(progn
(color-theme-initialize)
(color-theme-vibrant-ink)
;; (color-theme-feng-shui)
))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment