<commit_before>;; Note: I’m an Emacs noob, I don’t know what I’m doing

;; el-get
(add-to-list 'load-path "~/.emacs.d/el-get/el-get")

(unless (require 'el-get nil 'noerror)
  (with-current-buffer
      (url-retrieve-synchronously
       "https://raw.githubusercontent.com/dimitri/el-get/master/el-get-install.el")
    (goto-char (point-max))
    (eval-print-last-sexp)))

(add-to-list 'el-get-recipe-path "~/.emacs.d/el-get-user/recipes")
(el-get 'sync)

;; el-get packages
(setq my:el-get-packages
      '(tuareg-mode
        scala-mode2))

(el-get 'sync my:el-get-packages)

;; real meta key on OSX
;; http://stackoverflow.com/a/3378391/735926
(setq mac-option-modifier nil
      mac-command-modifier 'meta
      x-select-enable-clipboard t)

;; line numbers
(global-linum-mode t)

;; auto-close parentheses/braces/quotes/etc
(electric-pair-mode t)

;; ???
(setq tab-always-indent 'complete)
(add-to-list 'completion-styles 'initials t)<commit_msg>[emacs] smartparens added<commit_after>;; Note: I’m an Emacs noob, I don’t know what I’m doing

;; el-get
(add-to-list 'load-path "~/.emacs.d/el-get/el-get")

(unless (require 'el-get nil 'noerror)
  (with-current-buffer
      (url-retrieve-synchronously
       "https://raw.githubusercontent.com/dimitri/el-get/master/el-get-install.el")
    (goto-char (point-max))
    (eval-print-last-sexp)))

(add-to-list 'el-get-recipe-path "~/.emacs.d/el-get-user/recipes")
(el-get 'sync)

;; el-get packages
(setq my:el-get-packages
      '(tuareg-mode ; Tuareg Mode
        scala-mode2 ; Scala
        smartparens ; vim-endwise -like for emacs
        ))

(el-get 'sync my:el-get-packages)

;; real meta key on OSX
;; http://stackoverflow.com/a/3378391/735926
(setq mac-option-modifier nil
      mac-command-modifier 'meta
      x-select-enable-clipboard t)

;; line numbers
(global-linum-mode t)

;; auto-close parentheses/braces/quotes/etc
(electric-pair-mode t)

;; ???
(setq tab-always-indent 'complete)
(add-to-list 'completion-styles 'initials t)
{'fraction_non_alphanumeric': 0.1699248120300752, 'fraction_numerical': 0.014035087719298246, 'mean_word_length': 3.3297180043383947, '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': '1701613', 'n_tokens_mistral': 810, 'n_tokens_neox': 775, 'n_words': 147}