aboutsummaryrefslogtreecommitdiff
path: root/Doom/.config
diff options
context:
space:
mode:
authordx <aryadevchavali1@gmail.com>2020-07-18 00:56:52 +0100
committerdx <aryadevchavali1@gmail.com>2020-07-18 00:56:52 +0100
commit77985fb2622a4cbd63a6be71d70d566ac5303634 (patch)
tree09ab1f44f621ee2b6dc32c056b2c15a5b7e45a07 /Doom/.config
parent357afbf0e09644d4753cd7b9a9027e1c879d7712 (diff)
downloaddotfiles-77985fb2622a4cbd63a6be71d70d566ac5303634.tar.gz
dotfiles-77985fb2622a4cbd63a6be71d70d566ac5303634.tar.bz2
dotfiles-77985fb2622a4cbd63a6be71d70d566ac5303634.zip
~remap completing-read to ido-completing-read
Diffstat (limited to 'Doom/.config')
-rw-r--r--Doom/.config/doom/modules/private/completion/config.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/Doom/.config/doom/modules/private/completion/config.el b/Doom/.config/doom/modules/private/completion/config.el
index 58a5467..633ac96 100644
--- a/Doom/.config/doom/modules/private/completion/config.el
+++ b/Doom/.config/doom/modules/private/completion/config.el
@@ -21,8 +21,11 @@
(defun +completion/recentf()
(interactive)
(find-file (completing-read "Recentf: " recentf-list)))
+
(define-key!
- [remap recentf-open-files] #'+completion/recentf)
+ [remap recentf-open-files] #'+completion/recentf
+ [remap completing-read] #'ido-completing-read)
+
(map!
:map (ido-common-completion-map ido-file-completion-map ido-buffer-completion-map)
"C-k" #'ido-prev-match