[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:
parent
e53e019306
commit
e6ea1aecbb
@ -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
|
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
|
Emacs’ calculator, while ~oac~ invokes the calendar, ~oae~ invokes the Eww web
|
||||||
browser, ~oaw~ invokes ~woman~ (actually ~helm-man-woman~), and ~oaW~ invokes
|
browser, and ~oaw~ invokes the weather forecast. Lastly, the apostrophe in ~o'~
|
||||||
the weather forecast. Lastly, the apostrophe in ~o'~ will invoke Eshell
|
will invoke Eshell directly, without any popup window as with ~SPC '~ while
|
||||||
directly, without any popup window as with ~,'~ while ~oan~ will open a new
|
~oan~ will open a new eshell buffer if another one already exists. ~ov~ will
|
||||||
eshell buffer if another one already exists.
|
also open a vterm terminal.
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(spacemacs/set-leader-keys
|
(spacemacs/set-leader-keys
|
||||||
"o'" 'eshell
|
"o'" 'eshell-new
|
||||||
|
"ov" 'vterm
|
||||||
"oac" 'calc
|
"oac" 'calc
|
||||||
"oaC" 'calendar
|
"oaC" 'calendar
|
||||||
"oae" 'eww
|
"oae" 'eww
|
||||||
"oan" 'eshell-new
|
"oaw" 'wttrin)
|
||||||
"oaw" 'helm-man-woman
|
|
||||||
"oaW" 'wttrin)
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
**** Image mode
|
**** Image mode
|
||||||
|
Loading…
Reference in New Issue
Block a user