Add restart-emacs package & commands
This commit is contained in:
parent
d1068723e4
commit
0bd88b8414
5 changed files with 22 additions and 1 deletions
|
@ -623,7 +623,7 @@ loads MODULE SUBMODULE's packages.el file."
|
|||
;;
|
||||
|
||||
(defun doom//reload ()
|
||||
"Reload your Doom config."
|
||||
"Reload your Doom config. Experimental!"
|
||||
(interactive)
|
||||
(load (concat doom-emacs-dir "init.el") nil nil 'nosuffix)
|
||||
(doom//reload-load-path))
|
||||
|
|
|
@ -250,6 +250,10 @@ DEFAULT is non-nil, set the default mode-line for all buffers."
|
|||
:hook (lisp-mode . rainbow-delimiters-mode)
|
||||
:config (setq rainbow-delimiters-max-face-count 3))
|
||||
|
||||
(def-package! restart-emacs
|
||||
:commands restart-emacs
|
||||
:config (setq restart-emacs--args (list "--restore")))
|
||||
|
||||
;; For a distractions-free-like UI, that dynamically resizes margins and can
|
||||
;; center a buffer.
|
||||
(def-package! visual-fill-column
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
(package! nlinum-relative))
|
||||
(package! rainbow-delimiters)
|
||||
(package! visual-fill-column)
|
||||
(package! restart-emacs)
|
||||
|
||||
;; core-editor.el
|
||||
(package! ace-link)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue