[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
This commit is contained in:
Lucien Cartier-Tilet 2021-04-17 12:48:30 +02:00
parent e53e019306
commit e6ea1aecbb
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
1 changed files with 7 additions and 8 deletions

View File

@ -4175,19 +4175,18 @@ As this is a new category, lets declare its prefix:
Now, lets 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