From e6ea1aecbb50e7c201ccde58558a25d6eda8b8cf Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Sat, 17 Apr 2021 12:48:30 +0200 Subject: [PATCH] [Emacs] Better shortcut for terminals, remove reduntant ones Shortcut `SPC o '' now launches `eshell-new' instead of just plain `eshell', a new shortcut invokes `vterm', and the shortcut for `helm-man-woman' is removed in favor of the default one in Spacemacs --- org/config/emacs.org | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/org/config/emacs.org b/org/config/emacs.org index 6fd48c8..87c5dc9 100644 --- a/org/config/emacs.org +++ b/org/config/emacs.org @@ -4175,19 +4175,18 @@ As this is a new category, let’s declare its prefix: Now, let’s also declare the keybindings in this category. ~oac~ will invoke Emacs’ calculator, while ~oac~ invokes the calendar, ~oae~ invokes the Eww web -browser, ~oaw~ invokes ~woman~ (actually ~helm-man-woman~), and ~oaW~ invokes -the weather forecast. Lastly, the apostrophe in ~o'~ will invoke Eshell -directly, without any popup window as with ~,'~ while ~oan~ will open a new -eshell buffer if another one already exists. +browser, and ~oaw~ invokes the weather forecast. Lastly, the apostrophe in ~o'~ +will invoke Eshell directly, without any popup window as with ~SPC '~ while +~oan~ will open a new eshell buffer if another one already exists. ~ov~ will +also open a vterm terminal. #+BEGIN_SRC emacs-lisp (spacemacs/set-leader-keys - "o'" 'eshell + "o'" 'eshell-new + "ov" 'vterm "oac" 'calc "oaC" 'calendar "oae" 'eww - "oan" 'eshell-new - "oaw" 'helm-man-woman - "oaW" 'wttrin) + "oaw" 'wttrin) #+END_SRC **** Image mode