From 4a5f3c44f9a142677a7e5526848f8492d263099e Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Fri, 19 Sep 2025 16:51:35 +0200 Subject: [PATCH] Open eshell in current project by default I use this more than opening a non-project eshell, so let's switch keys. --- init.el | 4 ++-- site-lisp/db-customize.el | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/init.el b/init.el index 9b295b8..af970fe 100644 --- a/init.el +++ b/init.el @@ -3087,14 +3087,14 @@ Note that this workaround is incomplete, as explained in this comment." (bind-key "" 'scroll-lock-mode) (bind-key "" #'winner-undo) (bind-key "" #'winner-redo) - (bind-key "" #'magit-status) - (bind-key "" #'db/run-or-hide-eshell) + (bind-key "" #'project-eshell) (bind-key "" #'db/frequently-used-features-prefix) (bind-key "" #'project-find-regexp) (bind-key "" #'text-scale-adjust) (bind-key "" #'dictcc) (bind-key "" #'hydra-org-linking/body) (bind-key "" #'magit-dispatch) + (bind-key "" #'magit-status) (bind-key "C-," #'mc/skip-to-previous-like-this) (bind-key "C-." #'mc/skip-to-next-like-this) (bind-key "C-;" #'iedit-mode) diff --git a/site-lisp/db-customize.el b/site-lisp/db-customize.el index 7512e52..8d6e09f 100644 --- a/site-lisp/db-customize.el +++ b/site-lisp/db-customize.el @@ -155,7 +155,7 @@ in the main agenda view." ("Main Org File" ?o db/find-default-org-file) ("EMMS" ?M emms) ("Shell" ?s project-shell) - ("EShell" ?e project-eshell) + ("EShell" ?e db/run-or-hide-eshell) ("Project" ?p project-switch-project) ("Refile File" ?r db/find-default-refile-file) ("Goto Currnet Clock" ?c db/org-clock-goto-first-open-checkbox)