This is my emacs configuration which I use both on my work laptop (running OS X) as well as personal laptop (running Ubuntu).
For emacs installation and system-wide dependencies, refer to Setup.org.
-
~/.emacs.d/init.elfile just loads theinit.elfile inside this repo and does nothing else. So no symlinking and such other things. I am managing~/.emacs.d/init.eland~/.emacs.d/early-init.elas dotfiles using stow. You can find them in my dotfiles repo on github. -
Customize is set to write to a separate
custom.elfile and notinit.elitself. -
The new method for package management is via
use-package. -
Single file 3rd party modes that are not found in popular and reliable package repositories are added to
libdir. -
Functions and modes written by me are added to
naiquevindir. (Note:sphinx-doc.elfile in this dir is a symlink since it's convenient for me to actively work on it as the author of that mode. If you get an error related to this, just install it separately from MELPA). -
All files inside the
configdirectory contain language/mode wise configuration and are loaded by load-dirs.el using theafter-init-hook -
Themes are added to
themes. -
The repo also provides some scripts which can be found under
bindirectory. These may have to be copied to relevant locations. Refer to the Setup.org file for instructions. -
The
naiquevindir contains utils and snippets written by me. -
The
privdir is empty but is meant for adding any files that we don't want to track in git. For eg. snippets relevant to my employer that I use at work. -
The
vendordir can be ignored. It was used in the past for cloning other repos as submodules. It's not being used any more.