Are there support groups for emacs addicts?
This commit is contained in:
parent
e40c4dc6da
commit
230b707413
5 changed files with 26 additions and 10 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue