From 2fb274f4921d4a2e8fa2fd228a714fcbff96d95c Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Wed, 12 Feb 2025 17:37:25 -0500 Subject: Add and configure vertico and friends Thanks to Prot's post for inspiration to try these excellent packages: Emacs: a basic and capable configuration https://protesilaos.com/codelog/2024-11-28-basic-emacs-configuration/ --- .emacs.d/lisp/bandali-misc.el | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to '.emacs.d/lisp/bandali-misc.el') diff --git a/.emacs.d/lisp/bandali-misc.el b/.emacs.d/lisp/bandali-misc.el index 5390615..eccee15 100644 --- a/.emacs.d/lisp/bandali-misc.el +++ b/.emacs.d/lisp/bandali-misc.el @@ -108,5 +108,22 @@ (require 'debian-copyright) (require 'readme-debian)) +;; `eat' +(b/keymap-global-set "C-c e a t" #'eat) + +;; `embark' +(b/keymap-global-set "C-c ." #'embark-act) +(let ((m minibuffer-local-map)) + (b/keymap-set m "C-c C-c" #'embark-collect) + (b/keymap-set m "C-c C-e" #'embark-export)) + +;; `wgrep' +(with-eval-after-load 'grep + (require 'wgrep) + (let ((m grep-mode-map)) + (b/keymap-set m "e" #'wgrep-change-to-wgrep-mode) + (b/keymap-set m "C-x C-q" #'wgrep-change-to-wgrep-mode) + (b/keymap-set m "C-c C-c" #'wgrep-finish-edit))) + (provide 'bandali-misc) ;;; bandali-misc.el ends here -- cgit v1.2.3-83-g751a