Skip to content

Instantly share code, notes, and snippets.

@malkia
Created April 11, 2012 22:34
Show Gist options
  • Save malkia/2363217 to your computer and use it in GitHub Desktop.
Save malkia/2363217 to your computer and use it in GitHub Desktop.
.emacs
(server-start)
(require 'package)
(package-initialize)
(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.
'(ansi-color-faces-vector [default bold shadow italic underline bold bold-italic bold])
'(ansi-color-names-vector (vector "#708183" "#c60007" "#728a05" "#a57705" "#2075c7" "#c61b6e" "#259185" "#042028"))
'(background-color "#002b36")
'(background-mode dark)
'(cursor-color "#839496")
'(custom-enabled-themes (quote (sanityinc-tomorrow-blue)))
'(custom-safe-themes (quote ("bf5b179a9e82b3e818b938a041363632a8b4f805" "d14db41612953d22506af16ef7a23c4d112150e5" "7fe1e3de3e04afc43f9a3d3a8d38cd0a0efd9d4c" "b0950b032aa3c8faab4864ae288296dd66b92eca" "1056c413dd792adddc4dec20e8c9cf1907e164ae" default)))
'(foreground-color "#839496")
'(inhibit-startup-screen t)
'(lua-default-application "e:/p/ufo/luajit32.cmd")
'(python-python-command "python.exe")
'(tabbar-mode t nil (tabbar))
'(tool-bar-mode nil))
(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.
)
(add-to-list 'load-path "e:/p/lua-mode/")
(autoload 'lua-mode "lua-mode" "Lua editing mode." t)
(add-to-list 'auto-mode-alist '("\\.lua$" . lua-mode))
(add-to-list 'interpreter-mode-alist '("lua" . lua-mode))
(put 'downcase-region 'disabled nil)
(add-to-list 'load-path "e:/p/markdown-mode/")
(autoload 'markdown-mode "markdown-mode.el" "Major mode for editing Markdown files" t)
(setq auto-mode-alist (cons '("\\.md" . markdown-mode) auto-mode-alist))
(defun my-c-mode-hook ()
(local-set-key "\ec" 'compile) )
(add-hook 'c-mode-hook 'my-c-mode-hook)
;(add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/"))
(setq package-archives
'(("marmalade" . "http://marmalade-repo.org/packages/")
("ELPA" . "http://tromey.com/elpa/")
("gnu" . "http://elpa.gnu.org/packages/")))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment