From 26fea31177f57e36fc9c9f06ab1aa1ae6d9aecaf Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 15 Aug 2019 15:38:34 +0200 Subject: Emacs: configure eshell-toggle --- emacs/.emacs.d/main.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el index 7a23a224..1017be87 100644 --- a/emacs/.emacs.d/main.el +++ b/emacs/.emacs.d/main.el @@ -466,6 +466,9 @@ With two prefix arguments, write out the day and month name." (concat (eshell/pwd) "\n$ "))) (eshell-prompt-regexp "^[$][[:blank:]]"))) +(use-package eshell-toggle + :custom ((eshell-toggle-use-projectile-root t))) + (use-package esh-autosuggest :ghook ('eshell-mode-hook)) @@ -696,6 +699,7 @@ With two prefix arguments, write out the day and month name." (my-leader-def "" nil + "`" #'eshell-toggle "h" '(:keymap ehelp-map :package ehelp) "w" '(:keymap evil-window-map :package evil) "x" '(:keymap ctl-x-map) -- cgit 1.4.1