dots

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 2d76e9de739eced77c737d755b1cd4d493e85893
parent af6d2294bd83ef1c5c03d0070cf7008408e933b9
Author: Gabriel G. de Brito <me@gboncoffee.dev.br>
Date:   Mon, 30 Mar 2026 21:02:03 -0300

Counsel/Ivy/Swiper > Consult.

Diffstat:
Memacs/config.org | 46++++++++++++----------------------------------
1 file changed, 12 insertions(+), 34 deletions(-)

diff --git a/emacs/config.org b/emacs/config.org @@ -160,22 +160,18 @@ No default command a keybind, colorize the buffer. Makes the minibuffer much nicer. #+BEGIN_SRC emacs-lisp -(use-package vertico - :init (vertico-mode)) - -(use-package vertico-directory - :after vertico - :ensure nil - :bind (:map vertico-map - ("RET" . vertico-directory-enter) - ("DEL" . vertico-directory-delete-char) - ("M-DEL" . vertico-directory-delete-word)) - :hook (rfn-eshadow-update-overlay . vertico-directory-tidy)) - -(use-package vertico-mouse - :after vertico - :ensure nil - :init (vertico-mouse-mode 1)) +(use-package ivy + :init + (ivy-mode 1) + (setopt ivy-use-virtual-buffers t) + (setopt enable-recursive-minibuffers t) + (setopt ivy-use-selectable-prompt t)) + +(use-package counsel + :init + (counsel-mode 1)) + +(use-package swiper) (use-package orderless :init @@ -209,24 +205,6 @@ Move windows with meta. Makes C-v and M-v to move by half pages instead of full (global-set-key (kbd "M-v") #'scroll-down-half) #+END_SRC -*** Consult -Makes it easy to search anything. - -#+BEGIN_SRC emacs-lisp -(use-package consult - :after vertico - :bind ( - ("C-x b" . consult-buffer) - ("M-y" . consult-yank-from-kill-ring) - ("M-g M-g" . consult-goto-line) - ("C-s" . consult-line) - ("C-c /" . consult-grep)) - :config - (setq xref-show-xrefs-function #'consult-xref) - (setq xref-show-definitions-function #'consult-xref)) - -#+END_SRC - ** Editor configuration *** Basics Show trailing whitespaces, but not on some weird buffers of course. Display line numbers and fill column in all actual editing modes. Scroll nicely. Save history and recent files.