aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-10-16 16:46:44 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-10-16 16:46:44 +0100
commit68bfa1c0f8850ebb6ca87618cfec4b5b5933d909 (patch)
treeab7bf2c106f5831552c99338bfe92c99bbfa4cbd /Emacs/.config/emacs
parentb364db866d1b258844370b9b87a64a5cd9a71ba5 (diff)
downloaddotfiles-68bfa1c0f8850ebb6ca87618cfec4b5b5933d909.tar.gz
dotfiles-68bfa1c0f8850ebb6ca87618cfec4b5b5933d909.tar.bz2
dotfiles-68bfa1c0f8850ebb6ca87618cfec4b5b5933d909.zip
Some changes to completion
completion-styles, vertico and minibuffer binds.
Diffstat (limited to 'Emacs/.config/emacs')
-rw-r--r--Emacs/.config/emacs/config.org16
1 files changed, 8 insertions, 8 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org
index 1c7a3bc..99ef47a 100644
--- a/Emacs/.config/emacs/config.org
+++ b/Emacs/.config/emacs/config.org
@@ -698,7 +698,7 @@ in it.
:states '(normal insert)
:keymaps 'minibuffer-local-map
"<backtab>" #'switch-to-completions
- "C-M-j" #'exit-minibuffer
+ "RET" #'exit-minibuffer
"M-j" #'next-line-or-history-element
"M-k" #'previous-line-or-history-element))
#+end_src
@@ -754,11 +754,11 @@ outperforming ~icomplete~ consistently when displaying results.
(general-def
:state '(normal insert)
:keymaps 'vertico-map
- "M-j" #'vertico-next
- "M-k" #'vertico-previous
- "RET" #'vertico-exit
- "TAB" #'minibuffer-complete
- "SPC" #'self-insert-command))
+ "M-j" #'vertico-next
+ "M-k" #'vertico-previous
+ "RET" #'vertico-exit
+ "TAB" #'minibuffer-complete
+ "SPC" #'self-insert-command))
#+end_src
*** Consult
Consult provides some improved replacements for certain inbuilt
@@ -827,10 +827,10 @@ things ever.
:straight t
:after vertico
:config
- (setq completion-styles '(substring orderless basic)
+ (setq completion-styles '(orderless substring basic)
completion-category-defaults nil
completion-category-overrides
- '((file (styles initials substring partial-completion)))))
+ '((file (styles flex partial-completion substring)))))
#+end_src
*** Company
Company is the auto complete system I use. I don't like having heavy