Skip to content

Instantly share code, notes, and snippets.

@yanbe
Created November 22, 2008 07:08
Show Gist options
  • Save yanbe/27764 to your computer and use it in GitHub Desktop.
Save yanbe/27764 to your computer and use it in GitHub Desktop.
My .emacs file
(if window-system
(progn
(set-background-color "Black")
(set-foreground-color "LightGray")
(set-cursor-color "Gray")
(set-frame-parameter nil 'alpha 80)))
(setenv "PATH"
(concat "/usr/local/flex3sdk/bin:"
"/usr/local/bin:"
"/opt/local/bin:" (getenv "PATH")))
(setenv "JAVA_OPTIONS" "-Duser.language=en")
(setq load-path
(append '("~/.emacs.d/site-lisp"
"~/.emacs.d/site-lisp/w3m"
"~/.emacs.d/site-lisp/navi2ch") load-path))
(autoload 'actionscript-mode "actionscript-mode" "actionscript" t)
(add-to-list 'auto-mode-alist '("\\.as$" . actionscript-mode))
(require 'anything-config)
(require 'auto-complete)
(require 'color-moccur)
(require 'flymake-config)
(require 'git-emacs)
(require 'global-set-key)
(require 'navi2ch)
(require 'pycomplete)
(require 'saveplace)
(require 'w3m)
(require 'wash-out-color)
(require 'yasnippet-bundle)
(custom-set-variables
'(ac-modes
(append '(actionscript-mode
css-mode
javascript-mode) ac-modes))
'(auto-save-default nil)
'(browse-url-browser-function 'w3m-browse-url)
'(c-default-style '((java-mode . "java") (other . "linux")))
'(c-basic-offset 2)
'(column-number-mode t)
'(css-indent-offset 2)
'(display-time-mode t)
'(dmoccur-recursive-search t)
'(exec-path
(append '("/usr/local/flex3sdk/bin"
"/usr/local/bin"
"/opt/local/bin") exec-path))
'(global-auto-complete-mode t)
'(indent-tabs-mode nil)
'(Info-additional-directory-list '("~/.emacs.d/info"))
'(ipython-command "ipython2.5")
'(javascript-indent-level 2)
'(make-backup-files nil)
'(py-indent-offset 2)
'(py-python-command "python2.5")
'(py-shell-switch-buffers-on-execute nil)
'(moccur-split-word t)
'(scheme-program-name "gosh")
'(recentf-mode t)
'(show-paren-mode t)
'(tab-width 2)
'(tool-bar-mode nil)
'(transient-mark-mode t)
'(w3m-default-display-inline-images t)
'(w3m-use-cookies t))
(require 'ipython)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment