From 248969cd2fbb9417598c1ce9420a2d5beb101cb2 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 22 Sep 2023 19:31:14 +0200 Subject: Emacs: install expand-region, bound to SPC in visual mode --- user/emacs/init.el | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'user/emacs') diff --git a/user/emacs/init.el b/user/emacs/init.el index 275cd1b8..4ddcd8d9 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -725,6 +725,10 @@ _p_rev _u_pper _=_: upper/lower _r_esolve conf-xdefaults-mode-hook) #'rainbow-mode)) +(use-package expand-region + :general (:states 'visual + "SPC" #'er/expand-region)) + ;;; Major modes (setq major-mode-remap-alist '((c-mode . c-ts-mode) -- cgit 1.4.1