about summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dotfiles/.emacs36
1 files changed, 21 insertions, 15 deletions
diff --git a/dotfiles/.emacs b/dotfiles/.emacs
index 3ff6c9c..e711dc0 100644
--- a/dotfiles/.emacs
+++ b/dotfiles/.emacs
@@ -101,31 +101,37 @@
   :config
   (direnv-mode))
 
-;; TODO: Use vertico
-(use-package helm
-  :ensure t)
-
-(use-package helm-ag
+(use-package vertico
   :ensure t
   :init
-  (setq helm-ag-fuzzy-match t))
+  (vertico-mode))
 
-(use-package projectile
+(use-package marginalia
   :ensure t
   :init
-  (setq projectile-project-search-path '("~/src/"))
-  :config
-  (projectile-mode +1))
+  (marginalia-mode))
 
-(use-package helm-projectile
+(use-package consult
   :ensure t
   :config
-  (helm-projectile-on)
+  (setq consult-async-min-input 2)
   :bind
   (:map evil-normal-state-map
-    ("C-S-f" . helm-occur)
-    ("C-p" . helm-projectile-find-file)
-    ("C-S-p" . helm-projectile-ag)))
+  ("C-S-f" . consult-line)
+  ("C-p" . consult-find)
+  ("C-S-p" . consult-ripgrep)))
+
+(use-package savehist
+  :ensure t
+  :init
+  (savehist-mode))
+
+(use-package projectile
+  :ensure t
+  :init
+  (setq projectile-project-search-path '("~/src/"))
+  :config
+  (projectile-mode +1))
 
 (use-package company
   :ensure t