summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--tag-emacs/emacs.d/init.el10
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 ()