Refactor bootstrap process

This commit is contained in:
Henrik Lissner 2016-03-26 01:19:31 -04:00
parent b3feea7a4f
commit 89eeba1d97
6 changed files with 83 additions and 60 deletions

View file

@ -227,6 +227,15 @@ to abort the minibuffer."
;; (delete-windows-on "*Completions*"))
(abort-recursive-edit))))
(defun narf-reload ()
"Reload `load-path', in case you updated cask while emacs was open!"
(interactive)
(setq load-path (append (list narf-private-dir narf-core-dir narf-modules-dir narf-packages-dir)
(f-directories narf-core-dir nil t)
(f-directories narf-modules-dir nil t)
(f-directories narf-packages-dir)
narf--load-path)))
(after! evil
(evil-define-command narf:exit-mode-maybe ()
"Exits insert/replace mode using jk without the momentary pause caused by