<commit_before>(use-package org
  :ensure t
  :config
  (progn

    ;; Load org mode when opening .org files
    (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))

    ;; keys
    (defun org-keys ()
      "Clear lots of org mode keys that mess with my keybinds"
      (interactive)
      ;; (local-set-key (kbd "C-c") 'nil)
      (local-set-key (kbd "C-y") 'nil)
      (local-set-key (kbd "C-e") 'nil)
      (local-set-key (kbd "C-t") 'org-todo)
      (local-set-key (kbd "C-.") 'org-time-stamp-inactive)
      (local-set-key (kbd "C-'") 'nil)
      (local-set-key (kbd "C-a") nil)
      )

    (add-hook 'org-mode-hook 'org-keys)

    ;; Pretty indents
    (add-hook 'org-mode-hook 'org-indent-mode)


    (setq org-link-frame-setup (quote ((vm . vm-visit-folder-other-frame)
                                       (vm-imap . vm-visit-imap-folder-other-frame)
                                       (gnus . org-gnus-no-new-news)
                                       (file . find-file-other-frame)
                                       (wl . wl-other-frame)))))
  )

;; (defun aggressive-fill-paragraph ()
;;   (interactive)
;;   (unless (dont-fill-if)))

;; (defun set-auto-fill-hook()
;;   (interactive)
;;   ;; (add-hook 'after-change-functions #'fill-paragraph nil t)
;;   (add-hook 'post-command-hook #'fill-paragraph nil t))

;; (add-hook 'org-mode-hook 'set-auto-fill-hook)<commit_msg>Remove M-e binding in org<commit_after>(use-package org
  :ensure t
  :config
  (progn
    (require 'org)

    ;; Load org mode when opening .org files
    (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))

    ;; keys
    (define-key org-mode-map  (kbd "C-y") nil)
    (define-key org-mode-map  (kbd "C-e") nil)
    (define-key org-mode-map  (kbd "C-'") nil)
    (define-key org-mode-map  (kbd "C-a") nil)
    (define-key org-mode-map (kbd "M-e") nil)

    (define-key org-mode-map  (kbd "C-t") #'org-todo)
    (define-key org-mode-map  (kbd "C-.") #'org-time-stamp-inactive)


    ;; Pretty indents
    (add-hook 'org-mode-hook 'org-indent-mode)


    (setq org-link-frame-setup (quote ((vm . vm-visit-folder-other-frame)
                                       (vm-imap . vm-visit-imap-folder-other-frame)
                                       (gnus . org-gnus-no-new-news)
                                       (file . find-file-other-frame)
                                       (wl . wl-other-frame)))))
  )

;; (defun aggressive-fill-paragraph ()
;;   (interactive)
;;   (unless (dont-fill-if)))

;; (defun set-auto-fill-hook()
;;   (interactive)
;;   ;; (add-hook 'after-change-functions #'fill-paragraph nil t)
;;   (add-hook 'post-command-hook #'fill-paragraph nil t))

;; (add-hook 'org-mode-hook 'set-auto-fill-hook)
{'fraction_non_alphanumeric': 0.18035779481562614, 'fraction_numerical': 0.0, 'mean_word_length': 1.8541666666666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7364863', 'n_tokens_mistral': 1026, 'n_tokens_neox': 990, 'n_words': 199}