[Emacs] Add shortcut to eshell

This commit is contained in:
Lucien Cartier-Tilet 2020-12-02 17:29:37 +01:00
parent 312a7ebf2d
commit bdc4e543cf
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
1 changed files with 2 additions and 1 deletions

View File

@ -2675,9 +2675,10 @@ As this is a new category, lets declare its prefix:
(spacemacs/declare-prefix "oa" "applications")
#+END_SRC
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.
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 ~oa'~ will invoke Eshell directly, without any popup window as with ~,'~.
#+BEGIN_SRC emacs-lisp
(spacemacs/set-leader-keys
"oa'" 'eshell
"oac" 'calc
"oaC" 'calendar
"oae" 'eww