Skip to content

Instantly share code, notes, and snippets.

@jackdreilly
Created January 4, 2012 06:23
Show Gist options
  • Save jackdreilly/1558782 to your computer and use it in GitHub Desktop.
Save jackdreilly/1558782 to your computer and use it in GitHub Desktop.
(add-to-list 'load-path "~/.emacs.d/el-get/el-get")
(unless (require 'el-get nil t)
(url-retrieve
"https://raw.github.com/dimitri/el-get/master/el-get-install.el"
(lambda (s)
(end-of-buffer)
(eval-print-last-sexp))))
(el-get 'sync)
(add-to-list 'load-path "~/.emacs.d/jack")
(setq ipython-command "/usr/local/share/python/ipython")
(setq py-python-command-args '("-colors" "LightBG"))
(require 'ipython)
(setq py-shell-name "ipython")
(setq python-python-command-args '())
;;;; customizations
(custom-set-variables
'(coffee-tab-width 2)
'(python-indent 2))
(global-set-key "\C-cc" 'mode-compile)
(autoload 'mode-compile-kill "mode-compile"
"Command to kill a compilation launched by `mode-compile'" t)
(global-set-key "\C-ck" 'mode-compile-kill)
(color-theme-zen-and-art)
(setq auto-mode-alist
(cons '("\\.PY\\'" . python-mode) auto-mode-alist))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment