commit 46fe323e1fcfeae93c52a725ec1751e432d91aad
parent fdfd8f33a157b889f975b7d00b0a6238705253bd
Author: Yuval Langer <yuval.langer@gmail.com>
Date: Sun, 6 Nov 2016 14:28:56 +0200
Update emacs dotfile
Diffstat:
M | emacs/emacs | | | 44 | ++++++++++++++++++++++++++++++++++++++++++-- |
1 file changed, 42 insertions(+), 2 deletions(-)
diff --git a/emacs/emacs b/emacs/emacs
@@ -1,6 +1,46 @@
(require 'package)
-(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
+(add-to-list
+ 'package-archives
+ '("melpa" . "https://melpa.org/packages/"))
+(when (< emacs-major-version 24) (add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")))
+(package-initialize)
+
-(add-to-list 'load-path "~/.emacs.d/evil")
(require 'evil)
(evil-mode 1)
+
+
+(require 'helm-config)
+(global-set-key (kbd "M-x") 'helm-M-x)
+
+
+(require 'sublimity)
+(require 'sublimity-scroll)
+(require 'sublimity-map)
+
+
+(elpy-enable)
+
+(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.
+ '(column-number-mode t)
+ '(display-battery-mode t)
+ '(electric-indent-mode nil)
+ '(elpy-rpc-python-command "python3")
+ '(haskell-hoogle-url "https://www.fpcomplete.com/hoogle?q=%s")
+ '(haskell-stylish-on-save t)
+ '(haskell-tags-on-save t)
+ '(indent-tabs-mode nil)
+ '(proof-autosend-enable t)
+ '(proof-electric-terminator-enable t)
+ '(proof-shell-quiet-errors nil)
+ '(python-check-command "flake8"))
+(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.
+ )