Fix: Use the default function for consult-project-function
This commit is contained in:
parent
653284df9c
commit
1a3189fc0e
2 changed files with 74 additions and 76 deletions
|
@ -2149,7 +2149,7 @@ Also check: [[#h:e0f9c30e-3a98-4479-b709-7008277749e4][The =unravel-search.el= m
|
|||
:ensure t
|
||||
:hook (completion-list-mode . consult-preview-at-point-mode)
|
||||
:bind
|
||||
(:map global-map
|
||||
( :map global-map
|
||||
;; Prot's bindings
|
||||
("M-K" . consult-keep-lines) ; M-S-k is similar to M-S-5 (M-%)
|
||||
("M-F" . consult-focus-lines) ; same principle
|
||||
|
@ -2198,7 +2198,6 @@ Also check: [[#h:e0f9c30e-3a98-4479-b709-7008277749e4][The =unravel-search.el= m
|
|||
"-path */.git* -prune "
|
||||
"-or -path */.cache* -prune )"))
|
||||
(setq consult-preview-key 'any)
|
||||
(setq consult-project-function nil) ; always work from the current directory (use `cd' to switch directory)
|
||||
|
||||
(add-to-list 'consult-mode-histories '(vc-git-log-edit-mode . log-edit-comment-ring))
|
||||
;; the `imenu' extension is in its own file
|
||||
|
|
|
@ -212,7 +212,7 @@
|
|||
:ensure t
|
||||
:hook (completion-list-mode . consult-preview-at-point-mode)
|
||||
:bind
|
||||
(:map global-map
|
||||
( :map global-map
|
||||
;; Prot's bindings
|
||||
("M-K" . consult-keep-lines) ; M-S-k is similar to M-S-5 (M-%)
|
||||
("M-F" . consult-focus-lines) ; same principle
|
||||
|
@ -261,7 +261,6 @@
|
|||
"-path */.git* -prune "
|
||||
"-or -path */.cache* -prune )"))
|
||||
(setq consult-preview-key 'any)
|
||||
(setq consult-project-function nil) ; always work from the current directory (use `cd' to switch directory)
|
||||
|
||||
(add-to-list 'consult-mode-histories '(vc-git-log-edit-mode . log-edit-comment-ring))
|
||||
;; the `imenu' extension is in its own file
|
||||
|
|
Loading…
Reference in a new issue