Compare commits
No commits in common. "87663cee845a7685ce87c8ba8b0c9fed1acd04a2" and "4ba41d5a75797f253122b29340b68f603e43ab1c" have entirely different histories.
87663cee84
...
4ba41d5a75
|
@ -0,0 +1,4 @@
|
|||
etc
|
||||
var
|
||||
|
||||
straight
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
(defvar em-core-dir (file-name-directory load-file-name)
|
||||
"Core files")
|
||||
|
||||
(defvar em-dir (expand-file-name ".." em-core-dir)
|
||||
"Emacs configuration root directory")
|
||||
|
||||
(add-to-list 'load-path em-core-dir)
|
||||
|
||||
|
||||
(provide 'em-init)
|
|
@ -0,0 +1,38 @@
|
|||
;; straight.el: Package management
|
||||
(setq package-enable-at-startup nil)
|
||||
|
||||
(setq straight-vc-git-default-clone-depth 15)
|
||||
|
||||
(defvar bootstrap-version)
|
||||
(let ((bootstrap-file
|
||||
(expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
|
||||
(bootstrap-version 5))
|
||||
(unless (file-exists-p bootstrap-file)
|
||||
(with-current-buffer
|
||||
(url-retrieve-synchronously
|
||||
"https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el"
|
||||
'silent 'inhibit-cookies)
|
||||
(goto-char (point-max))
|
||||
(eval-print-last-sexp)))
|
||||
(load bootstrap-file nil 'nomessage))
|
||||
|
||||
(setq straight-use-package-by-default t)
|
||||
(straight-use-package 'use-package)
|
||||
;; (require 'straight-x)
|
||||
|
||||
;; Garbage collection
|
||||
(setq gc-cons-threshold most-positive-fixnum
|
||||
gc-cons-percentage 0.6)
|
||||
|
||||
(add-hook 'emacs-startup-hook
|
||||
(lambda ()
|
||||
(setq gc-cons-threshold 16777216
|
||||
gc-cons-percentage 0.1)))
|
||||
|
||||
;; Startup
|
||||
(setq frame-inhibit-implied-resize t)
|
||||
(set-language-environment "UTF-8") ; UTF-8 as default
|
||||
(setq default-input-method nil)
|
||||
|
||||
;; GUI
|
||||
(tool-bar-mode -1)
|
|
@ -0,0 +1,12 @@
|
|||
;; TODO Move most of this into core/
|
||||
(setq user-full-name "earnest ma"
|
||||
user-mail-address "me@earne.link"
|
||||
calendar-latitude 43.7682 ; Toronto
|
||||
calendar-longitude -79.4126)
|
||||
|
||||
(use-package no-littering
|
||||
:demand)
|
||||
|
||||
;; Always load newest byte code
|
||||
(setq load-prefer-newer t)
|
||||
(load (concat user-emacs-directory "core/em-init") nil 'nomessage)
|
Loading…
Reference in New Issue