summaryrefslogtreecommitdiff
path: root/init.org
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-03-13 21:46:01 +0100
committerRicardo Wurmus <rekado@elephly.net>2023-03-13 21:46:01 +0100
commit49a680401079f705c322e7d66f0ba0d4142f10d8 (patch)
tree64442b3740387824f6c09799d9a41095e96a11db /init.org
parent3b1bb2f2d59d0e799e51992490599d3005ea1ab7 (diff)
Replace ivy with vertico.
Diffstat (limited to 'init.org')
-rw-r--r--init.org15
1 files changed, 5 insertions, 10 deletions
diff --git a/init.org b/init.org
index 5d8e4c4..6cb41c7 100644
--- a/init.org
+++ b/init.org
@@ -174,16 +174,11 @@ Here are a few more simple tweaks:
I don’t use Helm because it’s too “busy” but I do want a more intelligent way to select buffers and find files.
#+BEGIN_SRC elisp
-(require 'ivy)
-(ivy-mode 1)
-(require 'ivy-posframe)
-(setq ivy-posframe-display-functions-alist '((t . ivy-posframe-display-at-frame-top-center)))
-#+END_SRC
-
-Enter a directory when RET is hit.
-
-#+BEGIN_SRC elisp
-(define-key ivy-minibuffer-map (kbd "<return>") 'ivy-alt-done)
+(require 'use-package)
+(use-package vertico
+ :ensure t
+ :init
+ (vertico-mode))
#+END_SRC
Also tell Emacs that I want to have a separate file for all other customisations that are handled through =M-x customize=.