summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.org17
1 files changed, 2 insertions, 15 deletions
diff --git a/config.org b/config.org
index fbc332d..216d3b6 100644
--- a/config.org
+++ b/config.org
@@ -139,13 +139,6 @@ We also want to be able to jump to the bottom of the list by moving up from the
(setopt vertico-cycle t)
#+end_src
-Multiform mode will allow us to set different layouts for different completion categories. For example, after pressing a prefix key, i can press C-h to view a list of all possible following keys. For this, i want vertico to display a grid of choices, rather than one completion per line.
-
-#+begin_src elisp
- (with-eval-after-load 'vertico
- (setopt vertico-multiform-mode t))
-#+end_src
-
And of course, i want to be able to interact with vertico with the mouse.
#+begin_src elisp
@@ -397,11 +390,6 @@ Replace the default spellcheck binding with jinx
Show the corrections in a grid, so i can see more of them at once.
-#+begin_src elisp
- (add-to-list 'vertico-multiform-categories
- '(jinx grid (vertico-grid-annotate . 20)))
-#+end_src
-
*** Add corrected words to abbrev
This is a cool function i took from the jinx wiki. It automatically creates an abbrev for words i correct, so if i make the same error again, it gets fixed without me having to do anything!
@@ -477,9 +465,8 @@ Embark indicators give us visual indication of what embark will do. The minimal
As mentioned in the vertico configuration above, we can set vertico to use a different layout when completing different things. In this case, we set embark to take control of showing bindings help and of the prefix help, which is pressing C-h after pressing a prefix. Then we ensure we get a grid layout, so that we can see more commands on screen at a time.
#+begin_src elisp
-(global-set-key [remap describe-bindings] #'embark-bindings)
-(setopt prefix-help-command #'embark-prefix-help-command)
-(add-to-list 'vertico-multiform-categories '(embark-keybinding grid))
+ (global-set-key [remap describe-bindings] #'embark-bindings)
+ (setopt prefix-help-command #'embark-prefix-help-command)
#+end_src
Because i use consult, it's recommended to have this package installed.