commit c15ccb6fbfe0074287a71f6a514b808e6222abd2
parent 61d77f04f7692b36d4db02c61bb0fd7f0f554e5e
Author: andsy10 <andsy1016@gmail.com>
Date: Sat, 29 Aug 2026 21:03:47 +0800
Add consult-ghostel integration
Diffstat:
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/lisp/init-kbd.el b/lisp/init-kbd.el
@@ -81,7 +81,8 @@
"k" #'consult-kmacro
"o" #'consult-outline
"i" #'consult-info
- "s" #'consult-focus-lines)
+ "s" #'consult-focus-lines
+ "t" #'consult-ghostel)
;; p for project
(general-def
@@ -249,6 +250,7 @@
(general-def ghostel-semi-char-mode-map
"M-o" nil
+ "C-c h" #'consult-ghostel-history
"C-k" #'my-ghostel-send-C-k-and-kill)
;; embark
diff --git a/lisp/init-package.el b/lisp/init-package.el
@@ -84,6 +84,14 @@ Like normal Emacs `C-k'. Kill to end of line and put content in kill-ring."
(setq eshell-destroy-buffer-when-process-dies t)
(defalias 'eshell/v 'eshell/ghostel))
+(use-package consult-ghostel
+ :straight
+ (consult-ghostel :type git
+ :files
+ ("extensions/consult-ghostel/")
+ :host github
+ :repo "dakra/ghostel"))
+
;; eshell-syntax-highlighting
(use-package eshell-syntax-highlighting
:hook