Eshell: fix keys and terminfo

This commit is contained in:
MitchMarq42 2022-11-27 14:39:32 -09:00
parent 2099ab6242
commit f4d8aa0176
2 changed files with 7 additions and 5 deletions

View File

@ -40,6 +40,11 @@
"b" (general-key "C-c C-e")
"r" (general-key "C-c C-v r")
"s" 'eshell)
;; eshell fixes
(general-define-key
:states 'normal
:maps 'eshell-mode-map
"I" 'eshell-evil-insert-line)
(provide 'mitch-keybinds)
;;; mitch-keybinds.el ends here

View File

@ -139,8 +139,6 @@
(eshell-scroll-to-bottom-on-input t)
(eshell-hist-ignoredups t)
:config
;; (evil-collection-define-key 'insert 'eshell-mode-map
;; (kbd "C-c") 'eshell-interrupt-process)
(add-to-list 'eshell-modules-list 'eshell-rebind)
(defun eshell-evil-insert-line (count &optional vcount)
(interactive "p")
@ -169,9 +167,8 @@ This is taken from a website that I can't remember at the moment."
(insert "sudo ")))))))
(use-package eat
:straight (:repo "https://codeberg.org/akib/emacs-eat"
;; :files ("*.el" "dir" "*.info" "*.texi" "*.ti" ("e" "e/*"))
)
:hook (eshell-first-time-mode . eat-eshell-mode))
:files ("*.el" "dir" "*.info" "*.texi" "*.ti" ("e" "e/*")))
:hook (eshell-mode . eat-eshell-visual-command-mode))
;; (use-package eshell-vterm
;; :after eshell
;; :custom (eshell-destroy-buffer-when-process-dies t)