A convenient repo containing my init file for emacs
virtualenv
texlab
To set up your Emacs installation, do the following:
- Copy the file
init.el
into youremacs.d
directory. - Edit it to set the
myBackupDirectory
variable. - Start Emacs.
- Run
M-x load-file RET <path to this repo>/init-first-time.el
to run a set of one-time commands. - Open the file
interactive-commands.txt
. Run each command in this file usingM-x <line> RET
.
The default Python formatter bundled with elpy
is yapf
. It comes pre-installed in the virtual environment created at ~/.emacs.d/elpy/rpc-venv
. It is, however, incompatible with the latest version of yapf
due to a breaking API update. Until this is fixed, the solution is to install version 0.40.1 or earlier in your virtual environment.