This is my emacs configuration. I have use Doom Emacs a long time, but recently I am a little dislike it, so I am going to roll my own configuration from scratch.
First backup emacs config files:
mv ~/.emacs.d ~/.emacs.bakThen clone this repository:
git clone --depth=1 https://github.com/ypcodes/ymacs.git ~/.emacs.dUser’s configuration should be located in $HOME/.ymacs.d/config.el,
which should look like this:
;; your code here
(provide 'config)Note that a better way for PDF reading or music playing etc is a package called Emacs Application Framework, but I don’t use it because of my gentoo.