I would like to add a hook, so that each time I open a new file, projectile is enabled. However, I don't know where to add it so that emacs will read it. Any hints?
Emacs can also look in an XDG-compatible location for init. el , the default is the directory ~/. config/emacs .
Prelude is an Emacs distribution that aims to enhance the default Emacs experience. Prelude alters a lot of the default settings, bundles a plethora of additional packages and adds its own core library to the mix.
This must surely be in Prelude's documentation? If not, I suggest you write to the author to suggest that it be added.
I note the following in its init.el
file:
(defvar prelude-personal-dir (concat prelude-dir "personal/")
"Users of Emacs Prelude are encouraged to keep their personal configuration
changes in this directory. All Emacs Lisp files there are loaded automatically
by Prelude.")
Therefore you should create a personal
sub-directory if it doesn't already exist, and create any *.el
filename you like in that directory, for your own customisations.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With