tools/eshell: no hl-line in insert mode

This commit is contained in:
Henrik Lissner 2017-12-04 21:36:49 -05:00
parent 85645b386c
commit 82141f866a
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -67,10 +67,6 @@ redefines its keys every time `eshell-mode' is enabled."
[remap +workspace/close-window-or-workspace] #'eshell-life-is-too-much))
(add-hook 'eshell-mode-hook #'+eshell|init-keymap)
(add-hook! eshell-mode
(add-hook 'evil-insert-state-exit-hook #'hl-line-mode nil t)
(add-hook 'evil-insert-state-entry-hook (lambda () (hl-line-mode -1)) nil t))
;; Aliases
(setq eshell-command-aliases-list
'(("q" "exit")