2 Star 5 Fork 4

金色飞贼(小米) / Emacs configuration

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

配置文件使用说明

将此文件夹重命名为 .emacs.d 放到家目录下, 即可开始使用.

straight.el 使用方法

关于 Emacs 插件管理, 以及 package.elstraight.el 的介绍, 可以参考我的 B 站视频【省时省力写LaTeX】新手Emacs快速配置与插件管理. 我使用 straight.el 管理和下载插件.

  • 安装插件需要 git. Windows 用户可使用 msys2 安装.
  • early-init.el 文件是必要的, 否则 package.el 会自行启动, 与 straight.el 冲突
  • 第一次启动 Emacs 时, straight 会自动下载并安装所有插件. 大概需要 15 分钟.
  • straight.elpackage.el 的大部分 use-package 代码块可共用. 只有 :straight 关键字需注意. 如: straight.el 时的 :straigt xxx 要改为 package.el:ensure xxx

自动生成 init.el

init.elemacs-config.org 通过 org-babel-tangle 自动生成. 大多数情况下, 在保存任何在 Emacs 中对 ./.emacs.d/emacs-config.org 文件的修改时, .emacs.d/init.el 也会同步更新, 即使因为各种原因 init.el 并未加载完成. 更新也可以通过在 emacs-config.org 缓冲区中执行 M-x org-babel-tangle 触发.

字体

我使用了一些第三方字体进行界面美化, 如 Fira Code, JetBrains Mono 等. 若你的电脑中没有相应的字体, Emacs 仍会使用系统默认字体启动. 你可以后续根据个人喜好选择其它字体.

all-the-icon 字体是 doom-mode-line 用于显示一些图标, 需要在第一次启动后通过 M-x all-the-icons-install-fonts 手动安装.

其它依赖软件

  • epdfinfo: pdf-tools 查看 pdf 文件
  • texlive: LaTeX 文件编译
  • gcc: org-roam 用于编译 emacsql-sqlite, 在 Emacs 29 版本以外不必须
  • ImageMagick: org-download (Windows 下) 调用
  • enchantaspellhunspell 的词典: 用于 flyspelljinx 的拼写检查
  • mu4e, isync: 用于收发邮件
MIT License Copyright (c) 2023 金色飞贼(小米) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

金色飞贼小米的 Emacs 设置分享 展开 收起
Emacs Lisp
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Emacs Lisp
1
https://gitee.com/mickey991/emacs-config.git
git@gitee.com:mickey991/emacs-config.git
mickey991
emacs-config
Emacs configuration
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891