aboutsummaryrefslogtreecommitdiff
path: root/Doom/.doom.d/modules/private/completion
diff options
context:
space:
mode:
authordx <aryadevchavali1@gmail.com>2020-06-11 01:59:16 +0100
committerdx <aryadevchavali1@gmail.com>2020-06-11 01:59:16 +0100
commitbc3436de56910652bc8191d27a91256f089b3cac (patch)
tree13a537524b998f19f758791b64ae3679a5408cc8 /Doom/.doom.d/modules/private/completion
parent6a5d059ddada8b7a156eb4fa64c6a7990edcc884 (diff)
downloaddotfiles-bc3436de56910652bc8191d27a91256f089b3cac.tar.gz
dotfiles-bc3436de56910652bc8191d27a91256f089b3cac.tar.bz2
dotfiles-bc3436de56910652bc8191d27a91256f089b3cac.zip
~use icomplete/ido for some of the functions
For some functions, which I find don't need to have ivy, let's use icomplete instead.
Diffstat (limited to 'Doom/.doom.d/modules/private/completion')
-rw-r--r--Doom/.doom.d/modules/private/completion/config.el7
-rw-r--r--Doom/.doom.d/modules/private/completion/packages.el12
2 files changed, 5 insertions, 14 deletions
diff --git a/Doom/.doom.d/modules/private/completion/config.el b/Doom/.doom.d/modules/private/completion/config.el
index bd1b022..9067764 100644
--- a/Doom/.doom.d/modules/private/completion/config.el
+++ b/Doom/.doom.d/modules/private/completion/config.el
@@ -18,7 +18,10 @@
(setq icomplete-separator "\t|\t")
(setq icomplete-in-buffer t)
-(after! projectile
- (setq projectile-completion-system 'default))
+(define-key!
+ [remap compile] #'compile
+ [remap find-file] #'find-file
+ [remap describe-function] #'counsel-describe-function
+ [remap describe-variable] #'counsel-describe-variable)
(add-hook 'doom-first-input-hook #'icomplete-mode)
diff --git a/Doom/.doom.d/modules/private/completion/packages.el b/Doom/.doom.d/modules/private/completion/packages.el
deleted file mode 100644
index 8a52b73..0000000
--- a/Doom/.doom.d/modules/private/completion/packages.el
+++ /dev/null
@@ -1,12 +0,0 @@
-;; -*- no-byte-compile: t; -*-
-;;; private/completion/packages.el
-
-(package! ivy)
-(package! swiper)
-(package! counsel)
-(package! amx)
-;; (package! counsel-projectile)
-;; (package! ivy-rich)
-;; (package! wgrep)
-;; (package! flx :pin "17f5c9cb2af18aa6f52910ff4a5a63591261ced5")
-;; (package! all-the-icons-ivy)