From caf08093ddffa08e6c5885e4b2bd378443298cc4 Mon Sep 17 00:00:00 2001 From: Laurens Miers Date: Tue, 24 Sep 2024 20:44:32 +0200 Subject: [PATCH] ADD eshell plan9/smart-mode settings --- config_new.org | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/config_new.org b/config_new.org index 83529a9..90bcdd7 100644 --- a/config_new.org +++ b/config_new.org @@ -515,6 +515,21 @@ Operate on the current line if no region is active. #+end_src * Terminal +** Eshell +*** Smart mode + +Plan 9 smart terminal features, for more info: +https://www.masteringemacs.org/article/complete-guide-mastering-eshell + +#+BEGIN_SRC emacs-lisp +(require 'eshell) +(require 'em-smart) +(setq eshell-where-to-jump 'begin) +(setq eshell-review-quick-commands nil) +(setq eshell-smart-space-goes-to-end t) + +(add-hook 'eshell-mode-hook 'eshell-smart-initialize) +#+END_SRC ** Toggle between char- and line-mode