Steve Purcell 的配置的前 34 行几乎可以照抄,除了其中一行(require 'init-benchmarking)中使用了他定义在~/.emacs.d/lisp/init_benchmarking.el中的逻辑来测量启动时间,读者酌情加入 : (let((minver"25.1"))(when(version<emacs-versionminver)(error"Your Emacs is too old -- this config requires v%s o...
(add-hook'racket-mode-hook #'racket-mode-xref-backend-function) (add-hook'racket-xp-mode-hook #'racket-xp-xref-backend-function) (add-hook'racket-repl-mode-hook #'racket-repl-xref-backend-function) (use-package paredit :ensure t :config (dolist (m'(emacs-lisp-mode-hooklisp-mode-hook ...
Jonathan Hayaseemacs-configeviluse-package25.1+✔a lot of weird stuff you might not see in other configs Joost Diepenmaatemacs-literal-configclassic✔package✔programming, org-babel Jordon Biondo.emacs.dkey chords, classicuse-package25+✔ ...
If you are using Linux, you may prefer an XDG-compatible location, please use #Please make sure ~/.emacs.d, ~/.emacs and ~/.emacs.el don't existgit clone --depth 1 https://github.com/seagle0128/.emacs.d.git$XDG_CONFIG_HOME/emacs or extract the zip package to$XDG_CONFIG_HOME/e...
config.status: creating Makefile config.status: creating lib/Makefile config.status: creating lib-src/Makefile config.status: creating oldXMenu/Makefile config.status: creating doc/emacs/Makefile config.status: creating doc/misc/Makefile
(use-package org-roam :ensure t :after org :init (setq org-roam-v2-ack t) ;; Acknowledge V2 upgrade :config (org-roam-setup) ;;--- ;; Handling file properties for ‘LAST_MODIFIED’ ;;--- (defun pv/org-find-time-file-property (property &optional anywhere) "Return the position of...
:config (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")) (unless (bound-and-true-p package--initialized) (package-initialize))) 如果你对use-package有更多的选项配置,其实也可以一起写在这里。 关于内置包
Check my `delight.sh' shell script for more." (when-let* ((file "~/.config/prot-xtwm-active-theme") ((file-exists-p file))) (string-match-p "dark" (with-temp-buffer (insert-file-contents file) (buffer-string))) (defun prot-emacs-theme-environment-dark-p () "Return non-nil...
在ftp里找到最新版本,比如现在最新版本是26.1,下载emacs-26.1.tar.gz或者emacs-26.1.tar.xz。 安装 解压: 代码语言:javascript 代码运行次数:0 运行 AI代码解释 tar-zxvf emacs-26.1.tar.gz 或者 xz-d emacs-26.1.tar.xz tar-xvf emacs.26.1.tar
Tips on Managing Emacs Config Files Table of Contents 1Handle Complex Configurations 1.1.emacs.d/init.elandversion control When you split your config code into several files under the directory.emacs.d/, you may leave an.emacsfile alone outside this.emacs.d/directory which is not friendly tove...