Created
February 24, 2011 12:05
-
-
Save sometimesfood/842092 to your computer and use it in GitHub Desktop.
OS X minimal .emacs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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