summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--completion.org7
1 files changed, 4 insertions, 3 deletions
diff --git a/completion.org b/completion.org
index 0f2b468..7869b46 100644
--- a/completion.org
+++ b/completion.org
@@ -158,7 +158,7 @@
("C-c s" . consult-line)
("C-x r x" . consult-register)
("C-x r b" . consult-bookmark)
- ("C-x C-F" . consult-file-externally)
+ ("C-x C-f" . jao-find-file)
("M-g b" . consult-bookmark)
("M-g m" . consult-mark)
("M-g e" . consult-error)
@@ -176,8 +176,9 @@
:config
- ;; (advice-add #'completing-read-multiple
- ;; :override #'consult-completing-read-multiple)
+ (defun jao-find-file (arg)
+ (interactive "P")
+ (call-interactively (if arg 'consult-file-externally 'find-file)))
(require 'jao-compilation)
(defun jao-consult-project-root ()