summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/emacs/init.el4
-rw-r--r--user/settings/emacs.nix1
2 files changed, 5 insertions, 0 deletions
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)
diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix
index 09cdc04a..348395a5 100644
--- a/user/settings/emacs.nix
+++ b/user/settings/emacs.nix
@@ -118,6 +118,7 @@ in
         evil-space
         evil-surround
         evil-textobj-tree-sitter
+        expand-region
         eyebrowse
         fish-mode
         feature-mode