Are there support groups for emacs addicts?

This commit is contained in:
Henrik Lissner 2014-12-13 19:37:04 -05:00
parent e40c4dc6da
commit 230b707413
5 changed files with 26 additions and 10 deletions

View file

@ -103,10 +103,21 @@
(evil-normal-state)
(evil-visual-restore)))
(defun my--enable-linum ()
(interactive)
(linum-mode 1)
(add-hook 'pre-command-hook 'my--disable-linum))
(defun my--disable-linum ()
(interactive)
(linum-mode 0)
(remove-hook 'pre-command-hook 'my--disable-linum))
(bind 'god my-mode-map
;; <localleader>
"\\" 'neotree-toggle
":" 'linum-mode
";" 'linum-mode
"=" 'toggle-transparency
"e" 'evil-emacs-state