From b6d164b032b255767b04a73e8ac0e04b61991048 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Wed, 24 Apr 2024 17:02:30 +0300 Subject: emacs: Replace vterm with shell --- .emacs.d/init.el | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to '.emacs.d/init.el') diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 5c9b748..392a5ec 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -605,13 +605,18 @@ :hook ((emacs-lisp-mode . (lambda () (flycheck-mode) (flycheck-package-setup))))) ;; Shells -(use-package vterm +;; (use-package vterm +;; :defer t +;; :bind (("C-c v" . vterm) +;; :map vterm-mode-map +;; ("M-&" . 'async-shell-command) +;; ("C-c C-y" . 'vterm-copy-mode)) +;; :hook ((vterm-mode . (lambda () (display-line-numbers-mode -1))))) + +(use-package shell :defer t - :bind (("C-c v" . vterm) - :map vterm-mode-map - ("M-&" . 'async-shell-command) - ("C-c C-y" . 'vterm-copy-mode)) - :hook ((vterm-mode . (lambda () (display-line-numbers-mode -1))))) + :bind (("C-c v" . shell)) + :hook ((shell-mode . (lambda () (display-line-numbers-mode -1))))) (defvar thanos/aliases '((g . magit) -- cgit v1.2.3