doom: Add global general-based shortcut for save buffer

C-SPC f s matches evil based doom shortcut and is more convenient on gpd micro
This commit is contained in:
Payas Relekar 2023-11-18 10:09:35 +05:30
parent e3aa823290
commit f7c9345188

View file

@ -354,9 +354,13 @@ Customize Modus-themes a little to make it more peppy and vibrant.
#+begin_src emacs-lisp :lexical t
(use-package! emacs
:config
(map! :leader (:desc "Enlarge window"
:prefix "w"
:g "o" #'doom/window-enlargen)))
(map! :leader
(:desc "Enlarge window"
:prefix "w"
:g "o" #'doom/window-enlargen)
(:desc "+file"
:prefix "f"
:g "s" #'save-buffer)))
#+end_src
* Common
Define global variables that can be used and optionally modified across multiple packages.