From c72199b57d305eef132cbb74762f12091fab368f Mon Sep 17 00:00:00 2001 From: Muneeb Shaikh Date: Tue, 20 Oct 2015 16:02:06 +0530 Subject: [PATCH] Add restart-emacs on `SPC q r` --- layers/+distribution/spacemacs-base/packages.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/layers/+distribution/spacemacs-base/packages.el b/layers/+distribution/spacemacs-base/packages.el index 1eeeee735..ab5e155d3 100644 --- a/layers/+distribution/spacemacs-base/packages.el +++ b/layers/+distribution/spacemacs-base/packages.el @@ -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