summaryrefslogtreecommitdiffhomepage
path: root/custom
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2026-08-10 10:45:08 +0100
committerjao <jao@gnu.org>2026-08-10 10:45:08 +0100
commitf3f77a4e6d2677d4e0bc644c9fca751b5fc24aac (patch)
tree9b82693bc3134d6fbe5d940fd78c8b72c3929bd2 /custom
parent333b3de2ea39e3ea0462213da50a0d819af46be9 (diff)
downloadelibs-f3f77a4e6d2677d4e0bc644c9fca751b5fc24aac.tar.gz
elibs-f3f77a4e6d2677d4e0bc644c9fca751b5fc24aac.tar.bz2
ffap recovered
Diffstat (limited to 'custom')
-rw-r--r--custom/jao-custom-completion.el9
1 files changed, 3 insertions, 6 deletions
diff --git a/custom/jao-custom-completion.el b/custom/jao-custom-completion.el
index 3631617..629ed53 100644
--- a/custom/jao-custom-completion.el
+++ b/custom/jao-custom-completion.el
@@ -1,6 +1,6 @@
;; -*- lexical-binding: t; -*-
-;;; builtin completion
+;;; builtin completion and ffap
(setq tab-always-indent 'complete
read-extended-command-predicate #'command-completion-default-include-p
completion-auto-select 'second-tab
@@ -21,6 +21,8 @@
(variable (styles initials substring partial-completion)))
completion-wrap-movement t)
+(ffap-bindings)
+
;;; crm indicator
(defun jao-completion--crm-indicator (args)
"Add prompt indicator to `completing-read-multiple' filter ARGS."
@@ -127,7 +129,6 @@
("C-c s" . consult-line)
("C-x r x" . consult-register)
("C-x r b" . consult-bookmark)
- ("C-x C-f" . jao-find-file)
("M-g b" . consult-bookmark)
("M-g m" . consult-mark)
("M-g e" . consult-error)
@@ -153,10 +154,6 @@
(setq completion-in-region-function #'jao-consult--completion-in-region)
- (defun jao-find-file (arg)
- (interactive "P")
- (call-interactively (if arg 'consult-file-externally 'find-file)))
-
(define-key consult-narrow-map (vconcat consult-narrow-key "?")
#'consult-narrow-help)