A reasonable Emacs config
git clone https://github.com/vgist/dot-emacs.git ~/.config/emacs
Upon starting up Emacs for the first time, further third-party
packages will be automatically downloaded and installed. If you
encounter any errors at that stage, try restarting Emacs, and possibly
running M-x package-refresh-contents
before doing so.
Update the config with git pull
. You'll probably also want/need to update
the third-party packages regularly too:
M-x package-list-packages, then U followed by x.
You should usually restart Emacs after pulling changes or updating packages so that they can take effect.
Warning (treesit): Cannot activate tree-sitter, because language grammar for rust is unavailable (not-found)
M-x treesit-install-language-grammar RET rust
more: https://www.masteringemacs.org/article/how-to-get-started-tree-sitter