<commit_before>(require 'org)

;; Make windmove work in org-mode:
(add-hook 'org-shiftup-final-hook 'windmove-up)
(add-hook 'org-shiftleft-final-hook 'windmove-left)
(add-hook 'org-shiftdown-final-hook 'windmove-down)
(add-hook 'org-shiftright-final-hook 'windmove-right)

(add-hook 'org-mode-hook 'turn-on-visual-line-mode)

(setq org-directory (expand-file-name "~/org")
      org-default-notes-file (expand-file-name "incoming.org" org-directory)
      org-completion-use-ido t
      org-return-follows-link t
      org-use-fast-todo-selection t
      org-refile-use-outline-path t
      org-log-done t)

(setq org-todo-keywords '((sequence "TODO(t)" "NEXT(n)" "|" "DONE")
                          (sequence "WAITING(w)" "|" "CANCELED(c)")))

(setq org-agenda-files (mapcar (lambda (x) (expand-file-name x org-directory))
                               (list "incoming.org" "OpenSource.org"
                                     "NoRedInk.org")))

(setq org-refile-targets (quote ((nil :maxlevel . 2)
                                 (org-agenda-files :maxlevel . 2))))
<commit_msg>add some org-capture-templates<commit_after>(require 'org)

;; Make windmove work in org-mode:
(add-hook 'org-shiftup-final-hook 'windmove-up)
(add-hook 'org-shiftleft-final-hook 'windmove-left)
(add-hook 'org-shiftdown-final-hook 'windmove-down)
(add-hook 'org-shiftright-final-hook 'windmove-right)

(add-hook 'org-mode-hook 'turn-on-visual-line-mode)

(setq org-directory (expand-file-name "~/org")
      org-default-notes-file (expand-file-name "incoming.org" org-directory)
      org-completion-use-ido t
      org-return-follows-link t
      org-use-fast-todo-selection t
      org-refile-use-outline-path t
      org-log-done t)

(setq org-todo-keywords '((sequence "TODO(t)" "NEXT(n)" "|" "DONE")
                          (sequence "WAITING(w)" "|" "CANCELED(c)")))

(setq org-agenda-files (mapcar (lambda (x) (expand-file-name x org-directory))
                               (list "incoming.org" "OpenSource.org"
                                     "NoRedInk.org")))

(setq org-refile-targets
      (quote ((nil :maxlevel . 2)
              (org-agenda-files :maxlevel . 2)))
      org-capture-templates
      (quote (("t" "Todo" entry (file+headline org-default-notes-file "Tasks")
               "* TODO %?\n %U\n  %i\n %a")
              ("n" "Note" entry (file+headline org-default-notes-file "Notes")
               "* %?\n %U\n  %i\n %a"))))

{'fraction_non_alphanumeric': 0.16605316973415132, 'fraction_numerical': 0.0016359918200408998, 'mean_word_length': 2.4019471488178024, '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': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '474225', 'n_tokens_mistral': 886, 'n_tokens_neox': 866, 'n_words': 165}