[Emacs] Add shortcut to eshell
This commit is contained in:
parent
312a7ebf2d
commit
bdc4e543cf
@ -2675,9 +2675,10 @@ As this is a new category, let’s declare its prefix:
|
||||
(spacemacs/declare-prefix "oa" "applications")
|
||||
#+END_SRC
|
||||
|
||||
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.
|
||||
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 ~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
|
||||
|
Loading…
Reference in New Issue
Block a user