summary refs log tree commit diff stats
path: root/emacs/.emacs.d
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d')
-rw-r--r--emacs/.emacs.d/main.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 7a23a22..1017be8 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)