From ae2cc8c4747b393f158e2dfa4304505775895df2 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 16 Jun 2023 17:05:06 +0200 Subject: Emacs: install forked version of consult-ghq --- user/emacs/init.el | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'user/emacs') diff --git a/user/emacs/init.el b/user/emacs/init.el index f41c4942..8cb4b77c 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -899,14 +899,21 @@ _p_rev _u_pper _=_: upper/lower _r_esolve (use-package project :general (:keymaps 'project-prefix-map - "s" #'project-search - "o" #'consult-ghq-switch-project) + "s" #'project-search) :config (progn (with-eval-after-load 'evil-ex (evil-ex-define-cmd "pesh[ell]" #'project-eshell) (evil-ex-define-cmd "pb" #'project-switch-to-buffer) (evil-ex-define-cmd "psw[itch]" #'project-switch-project)))) +(use-package consult-ghq + ;; :load-path "~/projects/github.com/tomoya/consult-ghq" + :general (:keymaps 'project-prefix-map + "o" #'consult-ghq-switch-project) + :config (progn + (setq consult-ghq-grep-function #'consult-grep + consult-ghq-find-function #'consult-find))) + (use-package envrc :defer 2 :config (progn -- cgit 1.4.1