working system
This commit is contained in:
commit
e0ad4ea627
53 changed files with 2927 additions and 0 deletions
101
init.el
Normal file
101
init.el
Normal file
|
@ -0,0 +1,101 @@
|
|||
;; init.el --- Load the full configuration -*- lexical-binding: t -*-
|
||||
;;; Commentary:
|
||||
|
||||
|
||||
;; This file bootstraps the configuration, which is divided into
|
||||
;; a number of other files.
|
||||
|
||||
;;; Code:
|
||||
|
||||
|
||||
(add-to-list 'load-path (expand-file-name "lisp" user-emacs-directory))
|
||||
|
||||
;; Adjust garbage collection threshold for early startup (see use of gcmh below)
|
||||
(setq gc-cons-threshold (* 128 1024 1024))
|
||||
(defvar cache-dir "~/.local/cache")
|
||||
|
||||
;; Process performance tuning
|
||||
|
||||
(setq read-process-output-max (* 4 1024 1024))
|
||||
(setq process-adaptive-read-buffering nil)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
(setq custom-file (locate-user-emacs-file "custom.el"))
|
||||
|
||||
;; Initialize elpa
|
||||
(require 'init-elpa)
|
||||
|
||||
;; And some exec paths
|
||||
(require 'init-exec-path)
|
||||
|
||||
;; General performance tuning
|
||||
(when (require-package 'gcmh)
|
||||
(setq gcmh-high-cons-threshold (* 128 1024 1024))
|
||||
(add-hook 'after-init-hook (lambda ()
|
||||
(gcmh-mode)
|
||||
(diminish 'gcmh-mode))))
|
||||
|
||||
(setq jit-lock-defer-time 0)
|
||||
|
||||
(require-package 'diminish)
|
||||
;; Packages
|
||||
(require 'init-meow)
|
||||
|
||||
(require 'init-gui-frames)
|
||||
(require 'init-dired)
|
||||
(require 'init-themes)
|
||||
(require 'init-look)
|
||||
(require 'init-isearch)
|
||||
(require 'init-uniquify)
|
||||
;; (require 'init-flymake)
|
||||
;;(require 'init-flycheck)
|
||||
(require 'init-recentf)
|
||||
(require 'init-minibuffer)
|
||||
(require 'init-ibuffer)
|
||||
;;(require 'init-eglot)
|
||||
(require 'init-corfu)
|
||||
;;(require 'init-company)
|
||||
(require 'init-whitespace)
|
||||
(require 'init-editing-utils)
|
||||
(require 'init-paredit)
|
||||
(require 'init-lisp)
|
||||
(require 'init-spelling)
|
||||
(require 'init-folding)
|
||||
(require 'init-modeline)
|
||||
(require 'init-terminal)
|
||||
(require 'init-org)
|
||||
(require 'init-git)
|
||||
|
||||
(require 'init-vc)
|
||||
|
||||
(require 'init-projectile)
|
||||
;;(require 'init-general)
|
||||
|
||||
(require-package 'sudo-edit)
|
||||
(require-package 'gnuplot)
|
||||
(maybe-require-package 'tldr)
|
||||
(maybe-require-package 'dotenv-mode)
|
||||
|
||||
|
||||
|
||||
(require 'init-direnv)
|
||||
(when (and (require 'treesit nil t)
|
||||
(fboundp 'treesit-available-p)
|
||||
(treesit-available-p))
|
||||
(require 'init-treesitter))
|
||||
|
||||
|
||||
(require 'init-locales)
|
||||
|
||||
(require 'init-local nil t)
|
||||
|
||||
(provide 'init)
|
||||
|
||||
;; Local Variables:
|
||||
;; coding: utf-8
|
||||
;; no-byte-compile: t
|
||||
;; End:
|
||||
;;; init.el ends here
|
Loading…
Add table
Add a link
Reference in a new issue