Emacs: configure eshell-toggle
Alan Pearce alan@alanpearce.eu
Thu, 15 Aug 2019 15:38:34 +0200
1 files changed, 4 insertions(+), 0 deletions(-)
jump to
M emacs/.emacs.d/main.el → emacs/.emacs.d/main.el
@@ -466,6 +466,9 @@ :custom ((eshell-prompt-function (lambda () (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 @@ ;;; Take me to my leader (my-leader-def "" nil + "`" #'eshell-toggle "h" '(:keymap ehelp-map :package ehelp) "w" '(:keymap evil-window-map :package evil) "x" '(:keymap ctl-x-map)