<commit_before>(require 'package)
(setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/")
                         ("melpa" . "http://melpa.org/packages/")))


(package-initialize)

;; Bootstrap `use-package'
(unless (package-installed-p 'use-package)
  (package-refresh-contents)
  (package-install 'use-package))


(load "~/.emacs.d/my-gui.el")
(setq-default indent-tabs-mode nil)


(setf inhibit-splash-screen t)
(setq initial-scratch-message nil)
(delete-other-windows)

(setq visible-bell 1)

(require 'use-package)

(use-package req-package
  :ensure t)

;; TODO: Break each package init into a separate file
(req-package magit
  :bind ("M-`" . magit-status)
  :config
  (setq magit-push-always-verify nil)
  (setq magit-commit-ask-to-stage f))

(req-package ibuffer
  :bind ("<f14>" . ibuffer)
  :config
  (add-hook 'ibuffer-hook (lambda () (hl-line-mode 1))))

(req-package switch-window
  :bind (("S-'" . switch-window)
         ("C-x o" . switch-window)))

(req-package ace-jump-mode
  :bind ("C-c SPC" . ace-jump-mode))

(req-package ag
  :bind ("C-x g" . ag))

(req-package hc-zenburn-theme
  :defer t
  :disabled t)

(req-package darktooth-theme
  :config
  (load-theme 'darktooth t))

(req-package whitespace-cleanup-mode
  :config
  (global-whitespace-cleanup-mode 1)
  (add-hook 'before-save-hook 'whitespace-cleanup))

(req-package smex
  :bind ("M-x" . smex)
  :config
  (smex-initialize))

(req-package flx-ido)

(req-package ido-ubiquitous
  :require ido
  :config
    (ido-ubiquitous-mode 1))

(req-package ido
  :require ido-vertical-mode flx-ido
  :config
  (setq ido-create-new-buffer 'always)
  (setq ido-enable-flex-matching t)
  (setq ido-everywhere t)
  (ido-mode 1)
  (ido-vertical-mode 1)
  (setq ido-vertical-define-keys 'C-n-C-p-up-down-left-right)
  (flx-ido-mode 1))

(req-package ido-vertical-mode)

(req-package occur-x
  :defer t
  :config
  (add-hook 'occur-mode-hook 'turn-on-occur-x-mode))

(req-package iedit
  :bind ("C-;" . iedit-mode))

(req-package avy)

(req-package-finish)<commit_msg>Add remember-theme<commit_after>(require 'package)
(setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/")
                         ("melpa" . "http://melpa.org/packages/")))


(package-initialize)

;; Bootstrap `use-package'
(unless (package-installed-p 'use-package)
  (package-refresh-contents)
  (package-install 'use-package))


(load "~/.emacs.d/my-gui.el")
(setq-default indent-tabs-mode nil)


(setf inhibit-splash-screen t)
(setq initial-scratch-message nil)
(delete-other-windows)

(setq visible-bell 1)

(require 'use-package)

(use-package req-package
  :ensure t)

;; TODO: Break each package init into a separate file
(req-package magit
  :bind ("M-`" . magit-status)
  :config
  (setq magit-push-always-verify nil)
  (setq magit-commit-ask-to-stage f))

(req-package ibuffer
  :bind ("<f14>" . ibuffer)
  :config
  (add-hook 'ibuffer-hook (lambda () (hl-line-mode 1))))

(req-package switch-window
  :bind (("S-'" . switch-window)
         ("C-x o" . switch-window)))

(req-package ace-jump-mode
  :bind ("C-c SPC" . ace-jump-mode))

(req-package ag
  :bind ("C-x g" . ag))

(req-package hc-zenburn-theme
  :defer t
  :disabled t)

(req-package darktooth-theme
  :config
  (load-theme 'darktooth t))

(req-package whitespace-cleanup-mode
  :config
  (global-whitespace-cleanup-mode 1)
  (add-hook 'before-save-hook 'whitespace-cleanup))

(req-package smex
  :bind ("M-x" . smex)
  :config
  (smex-initialize))

(req-package flx-ido)

(req-package ido-ubiquitous
  :require ido
  :config
    (ido-ubiquitous-mode 1))

(req-package ido
  :require ido-vertical-mode flx-ido
  :config
  (setq ido-create-new-buffer 'always)
  (setq ido-enable-flex-matching t)
  (setq ido-everywhere t)
  (ido-mode 1)
  (ido-vertical-mode 1)
  (setq ido-vertical-define-keys 'C-n-C-p-up-down-left-right)
  (flx-ido-mode 1))

(req-package ido-vertical-mode)

(req-package occur-x
  :defer t
  :config
  (add-hook 'occur-mode-hook 'turn-on-occur-x-mode))

(req-package iedit
  :bind ("C-;" . iedit-mode))

(req-package avy)

(req-package remember-theme
  :load-path "vendor"
  :config
  (remember-theme-load)
  (add-hook 'kill-emacs-hook 'remember-theme-save))


(req-package-finish)
{'fraction_non_alphanumeric': 0.1719082525419721, 'fraction_numerical': 0.00425632537242847, 'mean_word_length': 3.3608247422680413, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '427252', 'n_tokens_mistral': 1722, 'n_tokens_neox': 1671, 'n_words': 345}