summaryrefslogtreecommitdiff
path: root/tw/home/files
diff options
context:
space:
mode:
Diffstat (limited to 'tw/home/files')
-rw-r--r--tw/home/files/emacs-init.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/tw/home/files/emacs-init.el b/tw/home/files/emacs-init.el
index 64a29a04..dbc66c45 100644
--- a/tw/home/files/emacs-init.el
+++ b/tw/home/files/emacs-init.el
@@ -135,11 +135,15 @@
:config (counsel-mode +1)
:diminish counsel-mode)
+(use-package dash-docs)
+
(defun tw/counsel-dash-is-help ()
"Install `counsel-dash-at-point' as `evil-lookup-func'."
(setq-local evil-lookup-func #'counsel-dash-at-point))
(use-package counsel-dash
+ :after (dash-docs)
+ :commands (counsel-dash-at-point) :demand t
:bind (("<leader>K" . counsel-dash-at-point) ; TODO: just install as `evil-lookup-func'?
("<leader>dK" . counsel-dash)
("<leader>di" . counsel-dash-install-docset)