summaryrefslogtreecommitdiffstats
path: root/.emacs.d/lisp/bandali-misc.el
diff options
context:
space:
mode:
authorAmin Bandali <bandali@kelar.org>2025-02-12 17:37:25 -0500
committerAmin Bandali <bandali@kelar.org>2025-02-26 19:17:17 -0500
commit2fb274f4921d4a2e8fa2fd228a714fcbff96d95c (patch)
tree7291da9db765bd3f5ac0aa6c4afa3be5045200b7 /.emacs.d/lisp/bandali-misc.el
parent1c17eb4d7076eb3d942ed85a79caaa691db9b89f (diff)
downloadconfigs-2fb274f4921d4a2e8fa2fd228a714fcbff96d95c.tar.gz
configs-2fb274f4921d4a2e8fa2fd228a714fcbff96d95c.tar.xz
configs-2fb274f4921d4a2e8fa2fd228a714fcbff96d95c.zip
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/
Diffstat (limited to '.emacs.d/lisp/bandali-misc.el')
-rw-r--r--.emacs.d/lisp/bandali-misc.el17
1 files changed, 17 insertions, 0 deletions
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