[emacs] use ^ ivy prefix for epkg-describe-package
authorAmin Bandali <bandali@gnu.org>
Sun, 23 Dec 2018 20:26:20 +0000 (15:26 -0500)
committerAmin Bandali <bandali@gnu.org>
Sun, 23 Dec 2018 20:26:48 +0000 (15:26 -0500)
init.org

index acab132..3508f2d 100644 (file)
--- a/init.org
+++ b/init.org
@@ -270,7 +270,11 @@ database, low-level functions for querying the database, and a
   :bind
   (("C-c b d" . epkg-describe-package)
    ("C-c b p" . epkg-list-packages)
-   ("C-c b u" . epkg-update)))
+   ("C-c b u" . epkg-update))
+  :config
+  (with-eval-after-load 'ivy
+    (add-to-list
+     'ivy-initial-inputs-alist '(epkg-describe-package . "^") t)))
 #+end_src
 
 ** No littering in =~/.emacs.d=