Emacs 配置
2021/10/19 23:13:15
本文主要是介绍Emacs 配置,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
;;生活必需品 (setq-default cursor-type 'bar) ;;竖线光标 (setq c-basic-offset 4) (setq default-tab-width 4) ;;设置缩进及tab键 (global-linum-mode t) ;;显示行号 (global-hl-line-mode t) ;;高亮当前行 (global-set-key [f9] 'compile) ;;快捷编译 (global-set-key [f10] 'shell) ;;快捷shell ;;生活次需品 (setq default-directory "~/codes/") ;;设置默认目录 (setq inhibit-splash-screen t) ;;关闭欢迎界面 (setq ring-bell-function 'ignore) ;;关闭提示音 (set-frame-parameter (selected-frame) 'alpha (list 75 75)) (add-to-list 'default-frame-alist (cons 'alpha (list 75 75))) ;;透明窗口 (tool-bar-mode -1) ;;不显示工具栏 (column-number-mode 1) ;;显示光标行列 ;;生活自带品 (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. '(ansi-color-faces-vector [default default default italic underline success warning error]) '(ansi-color-names-vector ["black" "#d55e00" "#009e73" "#f8ec59" "#0072b2" "#cc79a7" "#56b4e9" "white"]) '(custom-enabled-themes (quote (deeper-blue))) '(show-paren-mode t)) (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. '(default ((t (:family "Ubuntu Mono" :foundry "DAMA" :slant normal :weight normal :height 203 :width normal)))))
这篇关于Emacs 配置的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2025-01-09CMS内容管理系统是什么?如何选择适合你的平台?
- 2025-01-08CCPM如何缩短项目周期并降低风险?
- 2025-01-08Omnivore 替代品 Readeck 安装与使用教程
- 2025-01-07Cursor 收费太贵?3分钟教你接入超低价 DeepSeek-V3,代码质量逼近 Claude 3.5
- 2025-01-06PingCAP 连续两年入选 Gartner 云数据库管理系统魔力象限“荣誉提及”
- 2025-01-05Easysearch 可搜索快照功能,看这篇就够了
- 2025-01-04BOT+EPC模式在基础设施项目中的应用与优势
- 2025-01-03用LangChain构建会检索和搜索的智能聊天机器人指南
- 2025-01-03图像文字理解,OCR、大模型还是多模态模型?PalliGema2在QLoRA技术上的微调与应用
- 2025-01-03混合搜索:用LanceDB实现语义和关键词结合的搜索技术(应用于实际项目)