Skip to content

Instantly share code, notes, and snippets.

@isido
Created January 23, 2014 12:10
Show Gist options
  • Save isido/8577584 to your computer and use it in GitHub Desktop.
Save isido/8577584 to your computer and use it in GitHub Desktop.
Emacs configuration at work
(add-to-list 'load-path "/usr/local/Cellar/ledger/2.6.3/share/emacs")
(require 'ledger)
(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.
'(inhibit-default-init nil)
'(inhibit-startup-screen t))
(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.
)
(setq default-input-method "MacOSX")
(setq mac-command-modifier 'meta)
(setq mac-option-modifier 'none)
(require 'package)
(add-to-list 'package-archives
'("marmalade" . "http://marmalade-repo.org/packages/"))
(add-to-list 'package-archives
'("melpa" . "http://melpa.milkbox.net/packages/"))
;(require 'inf-ruby)
(add-to-list 'load-path "/usr/local/share/emacs/site-lisp")
(require 'tex-site)
(add-to-list 'load-path "~/.emacs.d/ensime/elisp")
(require 'ensime)
(add-hook 'scala-mode-hook 'ensime-scala-mode-hook)
(add-hook 'clojure-mode-hook 'paredit-mode)
(require 'ps-ccrypt)
;; Haskell-mode
(add-hook 'haskell-mode-hook 'turn-on-haskell-doc-mode)
(add-hook 'haskell-mode-hook 'turn-on-haskell-indent)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment