Created
January 4, 2013 17:19
-
-
Save ethanmick/4454310 to your computer and use it in GitHub Desktop.
My .emacs file on OS X
This file contains hidden or 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
(require 'ido) | |
; ido settings | |
(setq ido-enable-flex-matching t) | |
(setq ido-everywhere t) | |
(ido-mode 1) | |
(custom-set-variables | |
;; custom-set-variables was added by Custom. | |
;; If you edit it by hand, you could mess it up, so be careful. | |
;; Your init file should contain only one such instance. | |
;; If there is more than one, they won't work right. | |
'(custom-enabled-themes (quote (tango-dark))) | |
'(uniquify-buffer-name-style (quote post-forward) nil (uniquify))) | |
(custom-set-faces | |
;; custom-set-faces was added by Custom. | |
;; If you edit it by hand, you could mess it up, so be careful. | |
;; Your init file should contain only one such instance. | |
;; If there is more than one, they won't work right. | |
) | |
(global-set-key "\M-r" 'shell-command) | |
; no menus | |
(menu-bar-mode 0) | |
(tool-bar-mode 0) | |
(add-to-list 'load-path "~/.emacs.d/") | |
(require 'package) | |
(add-to-list 'package-archives | |
'("marmalade" . | |
"http://marmalade-repo.org/packages/")) | |
(package-initialize) | |
;; Replace $RSENSE_HOME with the directory where RSense was installed in full path | |
;; Example for UNIX-like systems | |
;; (setq rsense-home "/home/tomo/opt/rsense-0.2") | |
;; or | |
;; (setq rsense-home (expand-file-name "~/opt/rsense-0.2")) | |
;; Example for Windows | |
;; (setq rsense-home "C:\\rsense-0.2") | |
(setq rsense-home "/Users/ethan/.emacs.d/rsense") | |
(add-to-list 'load-path (concat rsense-home "/etc")) | |
(require 'rsense) | |
(setenv "PATH" (concat "/usr/local/bin:" (getenv "PATH"))) | |
(global-set-key "\C-c\k" 'gimme-cat) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment