Easy python mode configuration
Install required python packages: autopep8, flake8 and virtualenv.
Clone repository:
mkdir -p ~/.emacs.d/config git clone https://github.com/Difrex/emacs-python ~/.emacs.d/config/python
Add to your init.el:
(package-install use-package) (add-to-list 'load-path "~/.emacs.d/config/python") (require 'python-config) (configure-python-packages)
That’s all ;)
- C-c M-i company-complete
- C-j indent-new-comment-line
- M-j electric-newline-and-maybe-indent
- M-,* anaconda-mode-go-back