83 lines
2.6 KiB
EmacsLisp
83 lines
2.6 KiB
EmacsLisp
(add-hook 'emacs-startup-hook
|
|
(lambda ()
|
|
(message "tobmacs loaded in %s."
|
|
(emacs-init-time))))
|
|
|
|
(set-default-coding-systems 'utf-8)
|
|
(customize-set-variable 'visible-bell 1)
|
|
(customize-set-variable 'large-file-warning-threshold 100000000)
|
|
|
|
(add-to-list 'load-path (expand-file-name "modules/" user-emacs-directory))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(set-face-attribute 'default nil :font "Iosevka Comfy" :height 140)
|
|
(set-face-attribute 'variable-pitch nil :font "Iosevka" :height 140)
|
|
(setq-default line-spacing 0.2)
|
|
|
|
(add-to-list 'native-comp-eln-load-path (expand-file-name "eln-cache/" user-emacs-directory))
|
|
|
|
(setq modus-themes-variable-pitch-headings t
|
|
modus-themes-org-blocks 'tinted-background
|
|
modus-themes-bold-constructs t
|
|
modus-themes-italic-constructs t
|
|
modus-themes-scale-headings t
|
|
modus-themes-completions 'opinionated
|
|
modus-themes-mode-line '(accented borderless))
|
|
|
|
(load-theme 'modus-vivendi)
|
|
|
|
(setq package-archives
|
|
'(("elpa" . "https://elpa.gnu.org/packages/")
|
|
("elpa-devel" . "https://elpa.gnu.org/devel/")
|
|
("nongnu" . "https://elpa.nongnu.org/nongnu/")
|
|
("melpa" . "https://melpa.org/packages/")))
|
|
|
|
(setq package-archive-priorities
|
|
'(("elpa" . 2)
|
|
("nongnu" . 1)))
|
|
|
|
(package-initialize)
|
|
(unless package-archive-contents
|
|
(package-refresh-contents))
|
|
|
|
(unless (package-installed-p 'use-package)
|
|
(package-install 'use-package))
|
|
|
|
(require 'use-package)
|
|
(setq use-package-always-ensure t)
|
|
|
|
(use-package exec-path-from-shell)
|
|
|
|
(when (memq window-system '(mac ns x))
|
|
(exec-path-from-shell-initialize))
|
|
|
|
(require 'tobmacs-completion)
|
|
(require 'tobmacs-editor)
|
|
(require 'tobmacs-languages)
|
|
(require 'tobmacs-org)
|
|
(require 'tobmacs-vc)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(custom-set-variables
|
|
;; custom-set-variables was added by Custom.
|
|
;; If you edit it by hand, you could mess it up, so be careful.
|
|
;; Your init file should contain only one such instance.
|
|
;; If there is more than one, they won't work right.
|
|
'(custom-safe-themes
|
|
'("183dfa34e360f5bc2ee4a6b3f4236e6664f4cfce40de1d43c984e0e8fc5b51ae" "92d350334df87fe61a682518ff214c773625c6d5ace8060d128adc550bc60c9b" default))
|
|
'(package-selected-packages
|
|
'(dumb-jump dump-jump ef-themes avy electric-pair-mode electric-pair smartparens lsp-sourcekit lsp-mode swift-mode clj-refactor corfu magit projectile projectile-mode rainbow-delimiters parinfer-rust-mode cider modus-themes org-modern marginalia orderless vertico exec-path-from-shell use-package)))
|
|
(custom-set-faces
|
|
;; custom-set-faces was added by Custom.
|
|
;; If you edit it by hand, you could mess it up, so be careful.
|
|
;; Your init file should contain only one such instance.
|
|
;; If there is more than one, they won't work right.
|
|
)
|