<commit_before>;;; setup-vc.el --- Version control related config.
;;; Commentary:
;;; Code:

;; Magit is critical for any developer
(use-package magit
  :ensure t
  :bind (("<f8>" . magit-status)
         ("s-t" . magit-status)
         ("C-x g" . magit-status)))

;; This one can't really be up there, because that doesn't load
;; anything until you actually fire up Magit.
(define-key vc-prefix-map (kbd "h") #'magit-log-buffer-file)

;; This is not really version control, but it fits into the category
(use-package projectile
  :ensure t
  :demand
  :config
  (projectile-mode)
  (setq-default projectile-keymap-prefix (kbd "C-c p"))
  (setq projectile-completion-system 'ivy)
  (setq projectile-switch-project-action 'projectile-dired)
  (setq projectile-mode-line '(:eval
                               (when (not (projectile-project-p))
                                   " [-]"))))
<commit_msg>Set up magit repositories variable<commit_after>;;; setup-vc.el --- Version control related config.
;;; Commentary:
;;; Code:

;; Magit is critical for any developer
(use-package magit
  :ensure t
  :bind (("<f8>" . magit-status)
         ("C-x g" . magit-status))
  :config
  (setq magit-repository-directories '("~/forks")))

;; This one can't really be up there, because that doesn't load
;; anything until you actually fire up Magit.
(define-key vc-prefix-map (kbd "h") #'magit-log-buffer-file)

;; This is not really version control, but it fits into the category
(use-package projectile
  :ensure t
  :demand
  :config
  (projectile-mode)
  (setq-default projectile-keymap-prefix (kbd "C-c p"))
  (setq projectile-completion-system 'ivy)
  (setq projectile-switch-project-action 'projectile-dired)
  (setq projectile-mode-line '(:eval
                               (when (not (projectile-project-p))
                                   " [-]"))))

{'fraction_non_alphanumeric': 0.140625, 'fraction_numerical': 0.0010775862068965517, 'mean_word_length': 2.813141683778234, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2176955', 'n_tokens_mistral': 614, 'n_tokens_neox': 599, 'n_words': 176}