#+AUTHOR TakaObsid
This is my personal maintained emacs configs. This profile mainly runs on macOS so other platforms may have some strange behavious.
git- fonts
BlexMono Nerd Font MonoSymbolaNoto Color EmojiLXGW WenKai
rgfdgripfor markdown preview- LSP backends that you need
- GTK3 build for some xwidgets features.
To install, clone this repo to ~/.emacs.d, i.e. ensure that the init.el contained in this repo ends up at ~/.emacs.d/init.el:
git clone https://github.com/QuarterHeaven/emacs.d.git ~/.emacs.dThen generate a custom.el file under ~/.emacs.d:
touch ~/.emacs.d/custom.elUpon starting up Emacs for the first time, further third-party packages will be automatically downloaded and installed.
For most of the programming languages, there are tree-sitter settings in lisp/init-treesitter.el. What you need is <kbd>M-x treesit-install-language-grammar</kdb> and choose the language you need.
Update the config with git pull. You can also use Magit (<kbd>C-x g</kbd> then <kbd>F</kbd>) to pull the config then restart Emacs.
There are some secrets such as api-keys are encoded. You can specify them in the lisp/init-secrets.el. I use SOPS as the encoder and decoder. To encode the file, first get into the .emacs.d directory, then use
gpg -kto get the fingerprint first, then use
sops --gpg fingerprint -e lisp/init-secrets.el > lisp/init-secrets-encoded.elTo decode the file, use
sops -d lisp/init-secrets-encoded.el > lisp/init-secrets.el