diff options
author | Thanos Apollo <[email protected]> | 2023-12-16 01:08:16 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-12-16 01:08:16 +0200 |
commit | 7b2dc5021efa29658afca5b9c4e84971114e7bcc (patch) | |
tree | f30d70b03c859a3018fb9074ea78ea4156cda0ad /.emacs.d | |
parent | ccb8f0546265bd201e9c3755c077a19dab731b3a (diff) |
emacs:(shells) Update eat-eshell config & vterm keys
Diffstat (limited to '.emacs.d')
-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) |