From d407e9de54081e61727c6fec1fba7facad8f8234 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Thu, 22 Apr 2021 17:15:32 -0500 Subject: Add bind to toggle eshell --- init.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index 49e1e6b..362e0e1 100644 --- a/init.el +++ b/init.el @@ -436,10 +436,12 @@ (if (and (eolp) (looking-back eshell-prompt-regexp)) (eshell-life-is-too-much) (delete-forward-char arg))) + + (global-set-key (kbd "") #'eshell) (hook-defun eshell-setup 'eshell-mode-hook - (define-key eshell-mode-map (kbd "C-d") - #'eshell-quit-or-delete-char) + (define-key eshell-mode-map (kbd "") #'bury-buffer) + (define-key eshell-mode-map (kbd "C-d") #'eshell-quit-or-delete-char) (when (boundp 'simple-modeline--mode-line) (setq mode-line-format '(:eval simple-modeline--mode-line))))) -- cgit 1.4.1-21-gabe81