Created
November 6, 2013 15:07
-
-
Save PuercoPop/7337561 to your computer and use it in GitHub Desktop.
minimal virtualenvwrapper and jedi.el emacs configuration.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(setq venv-location "~/.envs/") | |
(venv-initialize-eshell) | |
(venv-initialize-interactive-shells) | |
(setq jedi:setup-keys t | |
jedi:use-shortcuts t) | |
(add-hook 'python-mode-hook | |
'(lambda () | |
(setq fill-column 79) | |
(add-hook 'before-save-hook 'delete-trailing-whitespace) | |
(define-key python-mode-map (kbd "<f5>") 'pep8) | |
(font-lock-add-keywords | |
nil | |
'(("\\<\\(FIXME\\|TODO\\|BUG\\):" 1 font-lock-warning-face t))) | |
(jedi:setup) | |
(jedi:ac-setup))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment