removed comint insert hook

This commit is contained in:
ndwarshuis 2019-01-27 16:45:24 -05:00
parent c82eff7017
commit a9a93b6497
1 changed files with 8 additions and 8 deletions

View File

@ -3679,20 +3679,20 @@ REPL. If no SEND-INPUT-CMD then `comint-send-input' is used."
(kbd "RET") (lambda () nd/comint-send-input-evil-insert (kbd "RET") (lambda () nd/comint-send-input-evil-insert
'inferior-ess-send-input)) 'inferior-ess-send-input))
(add-hook 'inferior-ess-mode-hook ;; (add-hook 'inferior-ess-mode-hook
(lambda () ;; (lambda ()
(add-hook 'evil-insert-state-entry-hook ;; (add-hook 'evil-insert-state-entry-hook
'nd/comint-char-mode-evil-insert nil t))) ;; 'nd/comint-char-mode-evil-insert nil t)))
#+END_SRC #+END_SRC
**** intero **** intero
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(evil-define-key 'normal intero-repl-mode-map (evil-define-key 'normal intero-repl-mode-map
(kbd "RET") 'nd/comint-send-input-evil-insert) (kbd "RET") 'nd/comint-send-input-evil-insert)
(add-hook 'intero-repl-mode-hook ;; (add-hook 'intero-repl-mode-hook
(lambda () ;; (lambda ()
(add-hook 'evil-insert-state-entry-hook ;; (add-hook 'evil-insert-state-entry-hook
'nd/comint-char-mode-evil-insert nil t))) ;; 'nd/comint-char-mode-evil-insert nil t)))
#+END_SRC #+END_SRC
*** collection *** collection
Most packages that don't have an evil version are in this one. I don't like surprises so I set =evil-collection-modes-list= with the modes I actually want. Some of these are further configured below. Most packages that don't have an evil version are in this one. I don't like surprises so I set =evil-collection-modes-list= with the modes I actually want. Some of these are further configured below.