Last active
June 17, 2016 08:50
-
-
Save clojj/660dd7fea50bc557ede7e6a0e3a57228 to your computer and use it in GitHub Desktop.
This file contains 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
(desktop-save-mode 1) | |
;;FiraCode | |
(set-default-font "Fira Code 14") | |
(mac-auto-operator-composition-mode) | |
(require 'package) | |
(add-to-list | |
'package-archives | |
'("melpa" . "http://melpa.org/packages/") t) | |
(package-initialize) | |
;; Intero | |
;(package-install 'intero) | |
(add-hook 'haskell-mode-hook 'intero-mode) | |
;; ErgoEmacs | |
(require 'ergoemacs-mode) | |
(setq ergoemacs-theme nil) ;; Uses Standard Ergoemacs keyboard theme | |
(setq ergoemacs-keyboard-layout "us") ;; Assumes QWERTY keyboard layout | |
(ergoemacs-mode 1) | |
(require 'dired ) | |
(define-key dired-mode-map (kbd "RET") 'dired-find-alternate-file) ; was dired-advertised-find-file | |
(define-key dired-mode-map (kbd "^") (lambda () (interactive) (find-alternate-file ".."))) ; was dired-up-directory | |
(global-linum-mode 1) ; always show line numbers | |
;; Themes | |
(add-to-list 'custom-theme-load-path "~/.emacs.d/themes/") | |
(load-file "~/.emacs.d/themes/monokai-theme.el") | |
(require 'duplicate-thing) | |
(global-set-key (kbd "M-d") 'duplicate-thing) | |
(global-set-key (kbd "M-e") 'flycheck-list-errors) | |
(global-set-key (kbd "M-1") 'neotree-show) | |
(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-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. | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment