<commit_before>;;; local --- Summary
;;; Commentary:
;;;tern
;(add-to-list 'load-path "/home/gabe/.emacs.d/tern/emacs")
;(autoload 'tern-mode "tern.el" nil t)
;(add-hook 'js2-mode-hook (lambda () (tern-mode t)))
;(setenv "PATH" (concat "/usr/bin:" (getenv "PATH")))
;
;(eval-after-load 'tern  '(progn     (require 'tern-auto-complete)     (tern-ac-setup)))
;(setenv "NODE_PATH" (concat         "/home/gabe/.emacs.d/tern/lib" ":"         "/home/gabe/.emacs.d" ":"         (getenv "NODE_PATH")         )        )
;;; Code:
(require 'breadcrumb)
(define-prefix-command 'my-prefix)
(global-set-key (kbd "M-j") 'my-prefix)
(define-key 'my-prefix (kbd "s") 'bc-set)
(define-key 'my-prefix (kbd "p") 'bc-previous)
(define-key 'my-prefix (kbd "n") 'bc-next)
(define-key 'my-prefix (kbd "g") 'magit-status)
(define-key 'my-prefix (kbd "m") 'helm-spotify)
(define-key 'my-prefix (kbd "r") 'rgrep)
(require 'multi)
(require 'helm-spotify)
(require 'pinboard)
(global-linum-mode 1)

;Change auto save behavior
(setq auto-save-default nil)
(setq make-backup-files nil)
(setq temporary-file-directory "~/.emacs.backups")
(setq backup-directory-alist
      `((".*" . ,temporary-file-directory)))
(setq auto-save-file-name-transforms
      `((".*" ,temporary-file-directory t)))

;; [Facultative] Only if you have installed async.
(add-to-list 'load-path "/Users/gabriel/.emacs.d/helm")

(add-to-list 'load-path "/Users/gabriel/.emacs.d/async")
(require 'helm-config)
(global-set-key (kbd "M-x") 'helm-M-x)
(helm-mode 1)
(helm-autoresize-mode 0)
;;;if package is not working
;;; M-x package-refresh-contents
(blink-cursor-mode 0)
(menu-bar-mode 0)
(tool-bar-mode 0)
(scroll-bar-mode -1)

(defun copy-file-name-to-clipboard ()
  "Copy the current buffer file name to the clipboard."
  (interactive)
  (let ((filename (if (equal major-mode 'dired-mode)
                      default-directory
                    (buffer-file-name))))
    (when filename
      (kill-new filename)
      (message "Copied buffer file name '%s' to the clipboard." filename))))


(global-set-key (kbd "M-[") 'paredit-wrap-square)
(require 'virtualenvwrapper)
(venv-initialize-interactive-shells)
(venv-initialize-eshell)
(setq venv-location "~/env")
(defun open-ssec (name)
  (interactive "Domain name: ")
  (let ((string-name (if (stringp name) name (symbol-name name))))
    (let ((base-path (concat "/ssh:<EMAIL>|ssh:gferns@" string-name ".ssec.wisc.edu:")))
      (find-file base-path)
      (shell)
      (insert "activate env"))))

(setq blink-cursor-mode nil)
(provide 'init-local)

(defun mechanics ()
  (interactive)
  (run-scheme
   "/usr/local/scmutils/mit-scheme/bin/scheme --library /usr/local/scmutils/mit-scheme/lib"))

(add-hook 'haskell-mode-hook 'interactive-haskell-mode)
(add-hook 'haskell-mode-hook 'haskell-indentation-mode)
;;; init-local.el ends here<commit_msg>stashing<commit_after>;;; local --- Summary
;;; Commentary:
;;;tern
;(add-to-list 'load-path "/home/gabe/.emacs.d/tern/emacs")
;(autoload 'tern-mode "tern.el" nil t)
;(add-hook 'js2-mode-hook (lambda () (tern-mode t)))
;(setenv "PATH" (concat "/usr/bin:" (getenv "PATH")))
;
;(eval-after-load 'tern  '(progn     (require 'tern-auto-complete)     (tern-ac-setup)))
;(setenv "NODE_PATH" (concat         "/home/gabe/.emacs.d/tern/lib" ":"         "/home/gabe/.emacs.d" ":"         (getenv "NODE_PATH")         )        )
;;; Code:
(require 'breadcrumb)
(define-prefix-command 'my-prefix)
(global-set-key (kbd "M-j") 'my-prefix)
(define-key 'my-prefix (kbd "s") 'bc-set)
(define-key 'my-prefix (kbd "p") 'bc-previous)
(define-key 'my-prefix (kbd "n") 'bc-next)
(define-key 'my-prefix (kbd "g") 'magit-status)
(define-key 'my-prefix (kbd "m") 'helm-spotify)
(define-key 'my-prefix (kbd "r") 'rgrep)
(require 'multi)
(require 'helm-spotify)
(global-linum-mode 1)

;Change auto save behavior
(setq auto-save-default nil)
(setq make-backup-files nil)
(setq temporary-file-directory "~/.emacs.backups")
(setq backup-directory-alist
      `((".*" . ,temporary-file-directory)))
(setq auto-save-file-name-transforms
      `((".*" ,temporary-file-directory t)))

;; [Facultative] Only if you have installed async.
(add-to-list 'load-path "/Users/gabriel/.emacs.d/helm")

(add-to-list 'load-path "/Users/gabriel/.emacs.d/async")
(require 'helm-config)
(global-set-key (kbd "M-x") 'helm-M-x)
(helm-mode 1)
(helm-autoresize-mode 0)
;;;if package is not working
;;; M-x package-refresh-contents
(blink-cursor-mode 0)
(menu-bar-mode 0)
(tool-bar-mode 0)
(scroll-bar-mode -1)

(defun copy-file-name-to-clipboard ()
  "Copy the current buffer file name to the clipboard."
  (interactive)
  (let ((filename (if (equal major-mode 'dired-mode)
                      default-directory
                    (buffer-file-name))))
    (when filename
      (kill-new filename)
      (message "Copied buffer file name '%s' to the clipboard." filename))))


(global-set-key (kbd "M-[") 'paredit-wrap-square)
(require 'virtualenvwrapper)
(venv-initialize-interactive-shells)
(venv-initialize-eshell)
(setq venv-location "~/env")
(defun open-ssec (name)
  (interactive "Domain name: ")
  (let ((string-name (if (stringp name) name (symbol-name name))))
    (let ((base-path (concat "/ssh:gferns@ash.ssec.wisc.edu|ssh:gferns@" string-name ".ssec.wisc.edu:")))
      (find-file base-path)
      (shell)
      (insert "activate env"))))

(setq blink-cursor-mode nil)
(provide 'init-local)

(defun mechanics ()
  (interactive)
  (run-scheme
   "/usr/local/scmutils/mit-scheme/bin/scheme --library /usr/local/scmutils/mit-scheme/lib"))

(add-hook 'haskell-mode-hook 'interactive-haskell-mode)
(add-hook 'haskell-mode-hook 'haskell-indentation-mode)
;;; init-local.el ends here
(set-face-attribute 'default nil :height 117)
{'fraction_non_alphanumeric': 0.1938241451500349, 'fraction_numerical': 0.003314724354501047, 'mean_word_length': 3.6571892770105605, 'pattern_counts': {'":': 4, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '6467061', 'n_tokens_mistral': 2209, 'n_tokens_neox': 2167, 'n_words': 470}