<commit_before>;; evil-leader
(use-package evil-leader

  :ensure evil
  :ensure evil-commentary

  :config
  (global-evil-leader-mode)
  (evil-leader/set-leader ",")

  (defun my/fully-unindent ()
    "Delete all whitespace preceding visual selection."
    ;; clobbers "m" mark
    (interactive)
    (if evil-visual-state-local-minor-mode nil
      (evil-visual-line))
    (evil-exit-visual-state)
    (evil-goto-mark 062) ; >
    (evil-last-non-blank)
    (evil-set-marker 109) ; m
    (evil-goto-mark 060) ; <
    (evil-beginning-of-line)
    (evil-visual-char)
    (evil-goto-mark 109) ; m
    (evil-ex-call-command "`<,`>" "delete-whitespace-rectangle" nil)
    )

  ;; global
  (evil-leader/set-key
    ;; evil-commentary
    "c" 'evil-commentary-line
    ;; personal
    "<" 'my/fully-unindent<commit_msg>EMACS: add expand-region<commit_after>;; evil-leader
(use-package evil-leader

  :ensure evil
  :ensure evil-commentary
  :ensure expand-region

  :config
  (global-evil-leader-mode)
  (evil-leader/set-leader ",")

  (defun my/fully-unindent ()
    "Delete all whitespace preceding visual selection."
    ;; clobbers "m" mark
    (interactive)
    (if evil-visual-state-local-minor-mode nil
      (evil-visual-line))
    (evil-exit-visual-state)
    (evil-goto-mark 062) ; >
    (evil-last-non-blank)
    (evil-set-marker 109) ; m
    (evil-goto-mark 060) ; <
    (evil-beginning-of-line)
    (evil-visual-char)
    (evil-goto-mark 109) ; m
    (evil-ex-call-command "`<,`>" "delete-whitespace-rectangle" nil)
    )

  ;; global
  (evil-leader/set-key
    ;; evil-commentary
    "c" 'evil-commentary-line
    ;; expand-region
    "e" 'er/expand-region
    ;; personal
    "<" 'my/fully-unindent
{'fraction_non_alphanumeric': 0.16060961313012895, 'fraction_numerical': 0.01406799531066823, 'mean_word_length': 2.7599118942731278, 'pattern_counts': {'":': 0, '<': 9, '<?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': '4434994', 'n_tokens_mistral': 713, 'n_tokens_neox': 622, 'n_words': 108}