Compare commits
2 Commits
3ff58ad913
...
dcb27e32d2
Author | SHA1 | Date |
---|---|---|
Lucien Cartier-Tilet | dcb27e32d2 | |
Lucien Cartier-Tilet | e8121b452f |
|
@ -36,10 +36,6 @@ It should only modify the values of Spacemacs settings."
|
|||
(let ((org-confirm-babel-evaluate nil))
|
||||
(org-babel-tangle-file phundrak//dotspacemacs-src))
|
||||
(message "Exporting new Emacs configuration from spacemacs.org through org-babel...done"))
|
||||
(when (phundrak/update-config-files-p t)
|
||||
(with-temp-buffer
|
||||
(byte-recompile-directory phundrak//dotspacemacs-src-dir
|
||||
0 t)))
|
||||
(load phundrak//dotspacemacs-si))
|
||||
|
||||
(defun dotspacemacs/layers ()
|
||||
|
|
|
@ -3302,13 +3302,14 @@ 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. Lastly, the apostrophe in ~oa'~ will invoke Eshell directly, without any popup window as with ~,'~.
|
||||
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 ~,'~ while ~oan~ will open a new eshell buffer if another one already exists.
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(spacemacs/set-leader-keys
|
||||
"oa'" 'eshell
|
||||
"oac" 'calc
|
||||
"oaC" 'calendar
|
||||
"oae" 'eww
|
||||
"oan" 'eshell-new
|
||||
"oaw" 'helm-man-woman
|
||||
"oaW" 'wttrin)
|
||||
#+END_SRC
|
||||
|
|
Loading…
Reference in New Issue