1 Star 1 Fork 0

尧月/cabins-emacs.d

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
init.el 1.55 KB
一键复制 编辑 原始数据 按行查看 历史
Jack 提交于 2023-12-21 16:43 . 使用winm切换窗口‘
;;; init.el --- the entry of emacs config -*- lexical-binding: t -*-
;; Github: https://gitee.com/yaoyue126/emacs.d
;;; Code:
;; set the startup default directory, not essential but recommended.
(setq default-directory "~/")
;; update load-path to make customized lisp codes work
(dolist (folder (directory-files (concat user-emacs-directory "lisp") t directory-files-no-dot-files-regexp))
(add-to-list 'load-path folder))
;; customized functions
(require 'init-fn)
;; change Emacs default settings here, variables only (NOT include built-in packages)
(require 'init-system)
;; settings for Melpa/Elpa/GNU repos for Emacs package manager
(require 'init-elpa)
;; change default Emacs settings with built-in packages
(require 'init-builtin)
;; all the third-part packages configed here
(require 'init-package)
;; different settings depends on os platform
(require 'init-platform)
;; settings for programming languages (include IDE/LSP feature)
(require 'init-lang)
;; other features, such as UI/daemon etc.
(require 'init-feature)
;; windows number
(require 'init-winum)
;; calendar
(require 'init-calendar)
;; email mu4e
(require 'init-mu4e)
;; custom setting
(require 'init-setting)
;; DON'T forget to define and load custom file at last
(setq custom-file (locate-user-emacs-file "custom.el"))
(when (file-exists-p custom-file)
(load custom-file))
(setq debug-on-error t)
(provide 'init)
;;; init.el ends here
;;; Local Variables:
;; coding: utf-8
;; byte-compile-warnings: (not unresolved obsolete)
;; End:
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yaoyue126/cabins-emacs.d.git
git@gitee.com:yaoyue126/cabins-emacs.d.git
yaoyue126
cabins-emacs.d
cabins-emacs.d
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385