Skip to content

Repository files navigation

README

#+AUTHOR TakaObsid

Summary

This is my personal maintained emacs configs. This profile mainly runs on macOS so other platforms may have some strange behavious.

Prerequisite

  • git
  • fonts
    • BlexMono Nerd Font Mono
    • Symbola
    • Noto Color Emoji
    • LXGW WenKai
  • rg
  • fd
  • grip for markdown preview
  • LSP backends that you need
  • GTK3 build for some xwidgets features.

Installation

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.d

Then generate a custom.el file under ~/.emacs.d:

touch ~/.emacs.d/custom.el

Upon starting up Emacs for the first time, further third-party packages will be automatically downloaded and installed.

Program

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.

Updates

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.

Secrets

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 -k

to get the fingerprint first, then use

sops --gpg fingerprint -e lisp/init-secrets.el > lisp/init-secrets-encoded.el

To decode the file, use

sops -d lisp/init-secrets-encoded.el > lisp/init-secrets.el

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages