<commit_before>#+title:  Expand Code Regions Incrementally
#+author: <NAME>
#+email:  <EMAIL>
#+date:   2020:05:27
#+STARTUP: fold

=expand-region= operates by incrementally expanding the currently selected
textual region to broader and broader scopes as you continue to press the
prescribed selection key.

*NOTE:* I defined a hydra for expand-region for convenience.  See =my-hydra.org=
for keybindings for my expand-region hydra.

#+begin_src emacs-lisp
  (use-package expand-region
    :demand t)
#+end_src<commit_msg>emacs: = and + expand/contract region in visual<commit_after>#+title:  Expand Code Regions Incrementally
#+author: <NAME>
#+email:  <EMAIL>
#+date:   2020:05:27
#+STARTUP: fold

=expand-region= operates by incrementally expanding the currently selected
textual region to broader and broader scopes as you continue to press the
prescribed selection key.

*NOTE:* I defined a hydra for expand-region for convenience.  See =my-hydra.org=
for keybindings for my expand-region hydra.

#+begin_src emacs-lisp
  (use-package expand-region
    :after evil-collection
    :demand t
    :general
    (general-def 'visual
      "=" 'er/expand-region
      "+" 'er/contract-region))
#+end_src
{'fraction_non_alphanumeric': 0.10066555740432612, 'fraction_numerical': 0.013311148086522463, 'mean_word_length': 4.518348623853211, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5443302', 'n_tokens_mistral': 404, 'n_tokens_neox': 378, 'n_words': 133}