diff options
author | Alan Pearce | 2015-06-21 13:07:53 +0200 |
---|---|---|
committer | Alan Pearce | 2015-06-21 13:07:53 +0200 |
commit | 99e2d7be633ce4b6ef3517b9aded303b3b71c07f (patch) | |
tree | 92ccc57879111ef43c4ca8c8fd890ec26a6cfedc | |
parent | e02cc4654d04b7efd5232c23c26a96aff2997b0c (diff) | |
download | dotfiles-99e2d7be633ce4b6ef3517b9aded303b3b71c07f.tar.lz dotfiles-99e2d7be633ce4b6ef3517b9aded303b3b71c07f.tar.zst dotfiles-99e2d7be633ce4b6ef3517b9aded303b3b71c07f.zip |
Emacs: Optimise startup
-rw-r--r-- | tag-emacs/emacs.d/init.el | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 7350062..90bc811 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -48,6 +48,7 @@ (require 'req-package) (setq use-package-verbose t) (req-package pallet + :defer 5 :config (pallet-mode 1)) (req-package paradox @@ -290,6 +291,7 @@ (put 'dired-find-alternate-file 'disabled nil))) (req-package dired-k + :require dired :init (progn (add-hook 'dired-initial-position-hook #'dired-k)) :config (progn @@ -945,6 +947,7 @@ mouse-1: Display Line and Column Mode Menu")))))) (setq go-projectile-switch-gopath 'maybe))) (req-package ggtags + :commands turn-on-ggtags-mode :config (progn (bind-key "q" #'ggtags-navigation-mode-abort ggtags-navigation-mode-map)) :init (progn @@ -974,6 +977,7 @@ mouse-1: Display Line and Column Mode Menu")))))) ;;;; Projects (req-package dash + :demand t :init (setq dash-enable-fontlock t) :config (progn (dash--enable-fontlock 'dash-enable-font-lock t))) @@ -1030,9 +1034,9 @@ mouse-1: Display Line and Column Mode Menu")))))) (req-package editorconfig) (req-package perspective - :demand t :bind (("s-p" . persp-switch)) - :config (persp-mode)) + :init (progn + (add-hook 'projectile-switch-project-hook #'persp-mode))) (req-package persp-projectile :require (projectile perspective)) @@ -1223,6 +1227,7 @@ symbol, not word, as I need this for programming the most." (bind-key "C-=" #'helm-multi-swoop-all-from-helm-swoop))) (req-package multiple-cursors + :defer 1 :config (progn (bind-key "C-." #'mc/mark-next-like-this) (bind-key "C-," #'mc/mark-previous-like-this) @@ -1452,6 +1457,7 @@ symbol, not word, as I need this for programming the most." (add-hook restclient-mode-hook #'imenu-restclient-sections))) (req-package tern + :commands ap/enable-tern :config (progn (setq tern-command (list (executable-find "tern"))) (defun ap/enable-tern () |