https://github.com/difrex/emacs-python
GNU Emacs python-mode configuration
https://github.com/difrex/emacs-python
Last synced: 3 months ago
JSON representation
GNU Emacs python-mode configuration
- Host: GitHub
- URL: https://github.com/difrex/emacs-python
- Owner: Difrex
- Created: 2017-11-01T10:22:56.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-01T10:49:07.000Z (over 8 years ago)
- Last Synced: 2025-03-11T05:32:01.609Z (over 1 year ago)
- Language: Emacs Lisp
- Size: 1.95 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
README
* emacs-python
Easy python mode configuration
* Quick start
Install required python packages: *autopep8*, *flake8* and *virtualenv*.
Clone repository:
#+BEGIN_SRC
mkdir -p ~/.emacs.d/config
git clone https://github.com/Difrex/emacs-python ~/.emacs.d/config/python
#+END_SRC
Add to your *init.el*:
#+BEGIN_SRC
(package-install use-package)
(add-to-list 'load-path "~/.emacs.d/config/python")
(require 'python-config)
(configure-python-packages)
#+END_SRC
That's all ;)
* Key bindings
- *C-c M-i* company-complete
- *C-j* indent-new-comment-line
- *M-j* electric-newline-and-maybe-indent
- *M-,** anaconda-mode-go-back