-
Install tern (
sudo
maybe required):$ npm install -g tern
-
Install these pip packages (
sudo
maybe required):$ pip install jedi flake8 importmagic autopep8 yapf
-
Install powerline-compatible fonts:
$ git clone https://github.com/powerline/fonts.git $ fonts/install.sh
-
Backup your .emacs file:
$ cp ~/.emacs ~/.emacs.backup
-
Copy this file to ~/.emacs
$ cp /path/to/this/file/.emacs ~/.emacs
-
Open Emacs. You will see some errors/warnings.. Ignore them!
-
M-x package-install <RET> powerline <RET>
-
M-x package-install <RET> speedbar <RET>
-
M-x package-install <RET> sr-speedbar <RET>
-
M-x package-install <RET> js2-mode <RET>
-
M-x package-install <RET> tern <RET>
-
M-x package-install <RET> elpy <RET>
(M
: Alt Key, <RET>
: Enter Key)
- Restart Emacs
- Enjoy... ;)