Add restart-emacs on SPC q r

This commit is contained in:
Muneeb Shaikh 2015-10-20 16:02:06 +05:30 committed by syl20bnr
parent da394374de
commit c72199b57d

View file

@ -42,6 +42,7 @@
projectile
quelpa
recentf
restart-emacs
savehist
saveplace
spacemacs-theme
@ -1253,6 +1254,12 @@ ARG non nil means that the editing style is `vim'."
(setq recentf-auto-cleanup 'never)
(setq recentf-auto-save-timer (run-with-idle-timer 600 t 'recentf-save-list))))
(defun spacemacs-base/init-restart-emacs()
(use-package restart-emacs
:defer t
:init
(evil-leader/set-key "qr" 'restart-emacs)))
(defun spacemacs-base/init-savehist ()
(use-package savehist
:init