From ae71fc459cb95d90d9f219861242b1f73c6fdf17 Mon Sep 17 00:00:00 2001 From: laurensmiers Date: Mon, 9 Sep 2019 13:11:40 +0200 Subject: [PATCH] Add smart-eshell mode --- config.org | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/config.org b/config.org index bdcb7a8..a7135e4 100644 --- a/config.org +++ b/config.org @@ -99,6 +99,23 @@ This will ensure things/commands/... called in eshell/shell that use $EDITOR, wi (add-hook 'eshell-mode-hook 'with-editor-export-editor))) #+END_SRC +** 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 + * Resize frame Minor-mode to easily resize frames (works with EXWM (firefox, ...)).