diff options
-rw-r--r-- | .emacs.d/modules/thanos-shells.el | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/.emacs.d/modules/thanos-shells.el b/.emacs.d/modules/thanos-shells.el index fdca336..57fd8dc 100644 --- a/.emacs.d/modules/thanos-shells.el +++ b/.emacs.d/modules/thanos-shells.el @@ -36,15 +36,15 @@ (require 'pcomplete) (require 'eshell) -(setf eshell-visual-commands '()) +(setf eshell-visual-commands + '("vi" "vim" "screen" "tmux" "top" "htop" "less" + "more" "lynx" "links" "ncftp" "mutt" "pine" "tin" + "trn" "elm")) -(use-package eat - :straight t - :hook - (eshell-mode . eat-eshell-mode) - (eshell-mode . eat-eshell-visual-command-mode) - :config - (setf eat-term-name "xterm")) +(require 'eat) +(add-hook 'eshell-mode-hook #'eat-eshell-visual-command-mode) +;; (add-hook 'eshell-mode-hook #'eat-eshell-mode) +(setf eat-term-name "xterm") ;;;; doas completion (defun pcomplete/doas () @@ -166,7 +166,10 @@ ;; Keybindings (define-key global-map (kbd "C-c e") 'eshell) + +(require 'vterm) (define-key global-map (kbd "C-c v") 'vterm) +(define-key vterm-mode-map (kbd "M-&") #'async-shell-command) (provide 'thanos-shells) |