about summary refs log tree commit diff stats
path: root/.emacs.d/lisp
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2022-10-21 16:15:34 +0100
committerDavid Morgan <djm_uk@protonmail.com>2022-10-21 16:15:34 +0100
commit2b6d450fa37255e664fb64ec034d11d4fbc0be09 (patch)
tree22ee3e3ea3796ecc9e76b17434ad22cd42bb0cb7 /.emacs.d/lisp
parentab76fc25a85b9e3e591f3eb96c8a0627d77bfa19 (diff)
downloaddotfiles-2b6d450fa37255e664fb64ec034d11d4fbc0be09.tar.gz
Add consult-ripgrep-parent to search map
Diffstat (limited to '.emacs.d/lisp')
-rw-r--r--.emacs.d/lisp/init-minibuffer.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-minibuffer.el b/.emacs.d/lisp/init-minibuffer.el
index fb4f1ae..2197880 100644
--- a/.emacs.d/lisp/init-minibuffer.el
+++ b/.emacs.d/lisp/init-minibuffer.el
@@ -290,6 +290,7 @@ DEFS is a plist associating completion categories to commands."
   (define-key search-map (kbd "M-r") 'consult-ripgrep-unrestricted)
   (define-key search-map "*" 'consult-ripgrep-symbol-at-point)
   (define-key search-map "z" 'consult-z-ripgrep)
+  (define-key search-map "^" 'consult-ripgrep-parent)
   (define-key search-map "l" 'consult-line)
   (define-key search-map "L" 'consult-line-multi)
   (define-key search-map "m" 'consult-multi-occur)