Skip to content

Latest commit

 

History

History
76 lines (53 loc) · 1.87 KB

doom-emacs.md

File metadata and controls

76 lines (53 loc) · 1.87 KB

TODO:

Help

(SPC h)

describe-function (SPC h f) displays the full doc of func describe-variable (SPC h v)

Installation

Emacs-git 编译安装与卸载遵循一般模式

[Optional] Backup exiting config

> mv ~/.emacs.d ~/.emacs.d.bkp

Doom

Install

> git clone --depth 1 https://github.com/hlissner/doom-emacs ~/.emacs.d
> fish_add_path ~/.emacs.d/bin
> echo $fish_user_paths
> doom install
> doom doctor

Vterm

needs CMake in the PATH.

Supported project types

https://docs.projectile.mx/projectile/projects.html

See errors from flycheck

https://www.reddit.com/r/DoomEmacs/comments/jca63l/how_to_see_all_of_error_message/

See full errors by SPC c x or :errors

See partially by

;; in ~/.doom.d/config.el
(after! lsp-ui
  (setq lsp-ui-sideline-diagnostic-max-lines 2))

Force load pkgs

(dolist (pkg '(avy expand-region helm lsp-mode))
  (require pkg))

Dir navi

https://www.reddit.com/r/emacs/comments/jws8eh/directory_navigation_in_doom_emacs/

Tricks:

Themes

Configs worth learning from