1 Star 2 Fork 0

Sniper/emacs.d

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
init-mini.el 1.39 KB
一键复制 编辑 原始数据 按行查看 历史
Sniper 提交于 2022-05-17 15:08 . update theme...
;;; init-mini.el --- The minimal configuration -*- lexical-binding: t -*-
;;; Commentary:
;;
;; Emacs minimal configuration for debugging.
;;
;; Command: `emacs -Q -l init-mini.el'.
;;; Code:
(require 'package)
(setq package-archives
'(("melpa" . "https://melpa.org/packages/")
("gnu" . "https://elpa.gnu.org/packages/")
("nongnu" . "https://elpa.nongnu.org/nongnu/")))
(package-initialize)
;; Bootstrap `use-package'
(unless (package-installed-p 'use-package)
(package-refresh-contents)
(package-install 'use-package))
(eval-and-compile
(setq use-package-always-ensure nil)
(setq use-package-always-defer nil)
(setq use-package-always-demand nil)
(setq use-package-expand-minimally nil)
(setq use-package-enable-imenu-support t))
(eval-when-compile
(require 'use-package))
(setq debug-on-error t)
(setq-default lexical-binding t)
(add-to-list 'load-path (file-name-as-directory (locate-user-emacs-file "lisp")))
(setq custom-file (locate-user-emacs-file "custom.el"))
(require 'init-base)
;; Incremental complete in minibuffer
(use-package icomplete
:ensure nil
:hook (emacs-startup . icomplete-mode)
:custom
(icomplete-vertical-mode t)
(icomplete-prospects-height 10)
(icomplete-hide-common-prefix nil)
(icomplete-show-matches-on-no-input nil))
(when (file-exists-p custom-file)
(load custom-file))
(provide 'init-mini)
;;; init-mini.el ends here
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Lisp
1
https://gitee.com/e190/emacs.d.git
git@gitee.com:e190/emacs.d.git
e190
emacs.d
emacs.d
lite

搜索帮助