~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.
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
(ocaml +lsp)
|
(ocaml +lsp)
|
||||||
(rss +elfeed)
|
(rss +elfeed)
|
||||||
(narrow)
|
(narrow)
|
||||||
;;(completion)
|
(completion)
|
||||||
|
|
||||||
:input
|
:input
|
||||||
;;chinese
|
;;chinese
|
||||||
|
|||||||
@@ -18,7 +18,10 @@
|
|||||||
(setq icomplete-separator "\t|\t")
|
(setq icomplete-separator "\t|\t")
|
||||||
(setq icomplete-in-buffer t)
|
(setq icomplete-in-buffer t)
|
||||||
|
|
||||||
(after! projectile
|
(define-key!
|
||||||
(setq projectile-completion-system 'default))
|
[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)
|
(add-hook 'doom-first-input-hook #'icomplete-mode)
|
||||||
|
|||||||
@@ -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)
|
|
||||||
@@ -552,15 +552,6 @@ General keymap
|
|||||||
:desc "Choose Buffer frame" "n" #'display-buffer-other-frame
|
:desc "Choose Buffer frame" "n" #'display-buffer-other-frame
|
||||||
:desc "Switch frames" "o" #'other-frame)
|
:desc "Switch frames" "o" #'other-frame)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** Remaps
|
|
||||||
Many modules remap key functions in Emacs to other functions.
|
|
||||||
Most I agree with, some I don't.
|
|
||||||
So I'll remap some back.
|
|
||||||
|
|
||||||
#+BEGIN_SRC elisp
|
|
||||||
(define-key!
|
|
||||||
[remap compile] #'compile)
|
|
||||||
#+END_SRC
|
|
||||||
** Other
|
** Other
|
||||||
*** Leader
|
*** Leader
|
||||||
- Miscellaneous leader bindings that don't really fit into any particular item
|
- Miscellaneous leader bindings that don't really fit into any particular item
|
||||||
|
|||||||
Reference in New Issue
Block a user