<commit_before>;;; core-helm.el

(use-package helm
  :commands (helm
             helm-etags-select
             helm-show-kill-ring
             helm-bookmarks
             helm-wg
             helm-alive-p
             helm-attrset)
  :init
  (defvar helm-global-prompt ">>> ")
  (setq helm-quick-update t
        helm-idle-delay 0.05
        helm-input-idle-delay 0.05
        helm-reuse-last-window-split-state t
        helm-buffers-fuzzy-matching t
        helm-candidate-number-limit 40
        helm-bookmark-show-location t
        ;; let popwin handle this
        helm-split-window-default-side 'other
        helm-split-window-preferred-function 'narf/helm-split-window)
  :config
  (require 'helm-ag)

  (evil-set-initial-state 'helm-mode 'emacs)

  (add-popwin-rule! "\\`\\*helm.*?\\*\\'" :regexp t :position bottom :height 15)
  (add-unreal-buffer! "^\\*[Hh]elm.*\\*$")
  (after! winner
    ;; Tell winner-mode to ignore helm buffers
    (dolist (bufname '("*helm recentf*"
                       "*helm projectile*"
                       "*helm imenu*"
                       "*helm company*"
                       "*helm buffers*"
                       ;; "*helm tags*"
                       "*helm-ag*"
                       "*Helm Swoop*"))
      (push bufname winner-boring-buffers)))

  (bind! :map helm-map
         "C-w"        'evil-delete-backward-word
         "C-u"        'helm-delete-minibuffer-contents
         "C-r"        'evil-ex-paste-from-register ; Evil registers in helm! Glorious!
         [escape]     'helm-keyboard-quit)
<commit_msg>Aggresively load helm<commit_after>;;; core-helm.el

(use-package helm
  :init
  (defvar helm-global-prompt ">>> ")
  (setq helm-quick-update t
        helm-idle-delay 0.05
        helm-input-idle-delay 0.05
        helm-reuse-last-window-split-state t
        helm-buffers-fuzzy-matching t
        helm-candidate-number-limit 40
        helm-bookmark-show-location t
        ;; let popwin handle this
        helm-split-window-default-side 'other
        helm-split-window-preferred-function 'narf/helm-split-window)
  :config
  (evil-set-initial-state 'helm-mode 'emacs)

  (add-popwin-rule! "\\`\\*helm.*?\\*\\'" :regexp t :position bottom :height 15)
  (add-unreal-buffer! "^\\*[Hh]elm.*\\*$")
  (after! winner
    ;; Tell winner-mode to ignore helm buffers
    (dolist (bufname '("*helm recentf*"
                       "*helm projectile*"
                       "*helm imenu*"
                       "*helm company*"
                       "*helm buffers*"
                       ;; "*helm tags*"
                       "*helm-ag*"
                       "*Helm Swoop*"))
      (push bufname winner-boring-buffers)))

  (bind! :map helm-map
         "C-w"        'evil-delete-backward-word
         "C-u"        'helm-delete-minibuffer-contents
         "C-r"        'evil-ex-paste-from-register ; Evil registers in helm! Glorious!
         [escape]     'helm-keyboard-quit)

{'fraction_non_alphanumeric': 0.14087837837837838, 'fraction_numerical': 0.006756756756756757, 'mean_word_length': 1.6556053811659193, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '2081668', 'n_tokens_mistral': 1011, 'n_tokens_neox': 928, 'n_words': 188}