commit 055ac4ef52bd1b81aee70bad06be0397dc9e9bc0
parent 589eb6b4e40b84015554cb76e3f03cc9ea55d47c
Author: Alex Balgavy <alex@balgavy.eu>
Date: Mon, 26 Jul 2021 09:40:21 +0200
emacs: expand-region
Diffstat:
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/emacs/config.org b/emacs/config.org
@@ -237,6 +237,14 @@ Then, select it.
(sr-speedbar-select-window)))
#+end_src
+** expand-region
+Expand the selected region semantically.
+
+#+begin_src emacs-lisp
+ (use-package expand-region
+ :bind ("C-=" . er/expand-region))
+#+end_src
+
* Interface
** Messages
Hide some messages I don't need.
diff --git a/emacs/custom.el b/emacs/custom.el
@@ -8,7 +8,7 @@
'(default-input-method "czech-qwerty")
'(package-hidden-regexps '("^I"))
'(package-selected-packages
- '(elpher sr-speedbar 2048-game vterm notmuch magit lean-mode markdown-mode anki-connect anki-editor doom-themes all-the-icons use-package-ensure which-key use-package org-bullets helm exec-path-from-shell)))
+ '(expand-region elpher sr-speedbar 2048-game vterm notmuch magit lean-mode markdown-mode anki-connect anki-editor doom-themes all-the-icons use-package-ensure which-key use-package org-bullets helm exec-path-from-shell)))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.