mirror of
https://github.com/srid/nixos-config.git
synced 2026-07-16 22:01:33 +08:00
emacs: emoji & autosave
This commit is contained in:
parent
e8486437bc
commit
2a11b5e912
3 changed files with 13 additions and 2 deletions
|
|
@ -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 " ")
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue