emacs: emoji & autosave

This commit is contained in:
Sridhar Ratnakumar 2021-09-03 08:54:37 -04:00
parent e8486437bc
commit 2a11b5e912
3 changed files with 13 additions and 2 deletions

View file

@ -25,7 +25,7 @@
;; There are two ways to load a theme. Both assume the theme is installed and
;; available. You can either set `doom-theme' or manually load a theme with the
;; `load-theme' function. This is the default:
(setq doom-theme 'doom-monokai-classic)
(setq doom-theme 'doom-flatwhite)
;; If you use `org' and don't want your org files in the default location below,
;; change `org-directory'. It must be set before org loads!
@ -53,6 +53,15 @@
;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how
;; they are implemented.
;; https://github.com/bbatsov/super-save
(use-package super-save
:ensure t
:config
(super-save-mode +1)
(setq super-save-auto-save-when-idle t
super-save-idle-duration 0.5)
)
(after! markdown-mode
(setq markdown-enable-wiki-links t)
(setq markdown-link-space-sub-char " ")

View file

@ -30,7 +30,7 @@
doom ; what makes DOOM look the way it does
doom-dashboard ; a nifty splash screen for Emacs
doom-quit ; DOOM quit-message prompts when you quit Emacs
;;(emoji +unicode) ; 🙂
(emoji +github +unicode) ; 🙂
;;fill-column ; a `fill-column' indicator
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
;;hydra

View file

@ -5,6 +5,8 @@
;; on the command line, then restart Emacs for the changes to take effect -- or
;; use 'M-x doom/reload'.
(package! super-save)
;; To install SOME-PACKAGE from MELPA, ELPA or emacsmirror:
;(package! some-package)