<commit_before>;;; Package Setup
;; el-get directory
(add-to-list 'load-path "~/.emacs.d/el-get/el-get")

;; load
(unless (require 'el-get nil t)
  (url-retrieve
   "https://raw.github.com/dimitri/el-get/master/el-get-install.el"
   (lambda (s)
     (goto-char (point-max))
     (eval-print-last-sexp))))

;; init directory
(setq-default el-get-user-package-directory "~/.emacs.d/init-files/")

;; Sync
(el-get 'sync)

;;; Customizations
;; Custom panel setup and maximize
(add-to-list 'load-path "~/.emacs.d/custom")
(require 'rmg-panels)
(require 'rmg-maximize)
(global-set-key (kbd "C-x C-1") 'rmg-setup-windows)

;; Load eshell
(require 'eshell)
(setq eshell-directory-name "~/.emacs.d/eshell/")
(setq eshell-login-script "~/.emacs.d/eshell/login")
(setq eshell-rc-script "~/.emacs.d/eshell/profile")

;; Magit Projects
(setq magit-repo-dirs '("~/Projects"))

;; Hotkeys to move back and forth between frames
(global-set-key (kbd "C-o") 'other-window)
(defun rmg-prev-window ()
  (interactive)
  (other-window -1))
(global-set-key (kbd "M-o") 'rmg-prev-window)

;;; General
;; Backup
(setq backup-directory-alist `(("." . "~/.emacs.d/backup"))
  backup-by-copying t   ; Don't delink hardlinks
  version-control t     ; Use version numbers on backups
  delete-old-version t  ; Automatically delete excess backups
  kept-new-versions 20  ; how many of the newest versions to keep
  kept-old-versions 5   ; and how many of the old
  )

;; Auto-save
(setq auto-save-file-name-transforms
  `((".*" ,"~/.emacs.d/auto-save/" t)))
<commit_msg>Auto-install packages, and add ~/.emacs.d to magit list.<commit_after>;;; Package Setup
;; el-get directory
(add-to-list 'load-path "~/.emacs.d/el-get/el-get")

;; load
(unless (require 'el-get nil t)
  (url-retrieve
   "https://raw.github.com/dimitri/el-get/master/el-get-install.el"
   (lambda (s)
     (goto-char (point-max))
     (eval-print-last-sexp))))

;; init directory
(setq-default el-get-user-package-directory "~/.emacs.d/init-files/")

;; sync
(el-get 'sync)

;; packages
(el-get-install "auto-complete-yasnippet")
(el-get-install "color-theme-twilight")
(el-get-install "google-c-style")
(el-get-install "js-comint")
(el-get-install "js2-mode")
(el-get-install "magit")

;;; Customizations
;; Custom panel setup and maximize
(add-to-list 'load-path "~/.emacs.d/custom")
(require 'rmg-panels)
(require 'rmg-maximize)
(global-set-key (kbd "C-x C-1") 'rmg-setup-windows)

;; Load eshell
(require 'eshell)
(setq eshell-directory-name "~/.emacs.d/eshell/")
(setq eshell-login-script "~/.emacs.d/eshell/login")
(setq eshell-rc-script "~/.emacs.d/eshell/profile")

;; Magit Projects
(setq magit-repo-dirs '("~/Projects"
                        "~/.emacs.d"))

;; Hotkeys to move back and forth between frames
(global-set-key (kbd "C-o") 'other-window)
(defun rmg-prev-window ()
  (interactive)
  (other-window -1))
(global-set-key (kbd "M-o") 'rmg-prev-window)

;;; General
;; Backup
(setq backup-directory-alist `(("." . "~/.emacs.d/backup"))
  backup-by-copying t   ; Don't delink hardlinks
  version-control t     ; Use version numbers on backups
  delete-old-version t  ; Automatically delete excess backups
  kept-new-versions 20  ; how many of the newest versions to keep
  kept-old-versions 5   ; and how many of the old
  )

;; Auto-save
(setq auto-save-file-name-transforms
  `((".*" ,"~/.emacs.d/auto-save/" t)))

{'fraction_non_alphanumeric': 0.1884272997032641, 'fraction_numerical': 0.0032640949554896144, 'mean_word_length': 3.5554054054054056, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '1227103', 'n_tokens_mistral': 1329, 'n_tokens_neox': 1300, 'n_words': 285}