A python web developer's .emacs.d
curl -fsSkL https://raw.github.com/cask/cask/master/go | python
git clone https://github.com/dongweiming/emacs.d .emacs.d
cd .emacs.d
cask install
sudo pip install epc jedi pep8 autopep8 flake8
# or use virtualenv
virtualenv venv
source ~/venv/bin/activate
pip install jedi pep8 autopep8 flake8
# Start jedi Server
M-x jedi:install-server
Keybinding | Description |
---|---|
C-c h | helm-mini |
M-x | smex |
M-l | helm-locate |
M-t | helm-top |
c-x h | emacs-bindings-help. |
C-x o | switch-window |
M-h | mark-paragraph |
M-{ | backward-paragraph |
M-} | forward-paragraph |
C-c SPC | ace-jump-word-mode |
C-c TAB | ace-jump-line-mode |
C-c m | mc/mark-next-like-this |
C-c N | mc/mark-previous-like-this |
C-c ; | edit-lines |
M-% | anzu-query-replace |
C-M-% | anzu-query-replace-regexp |
M-e | eshell |
C-c e | run-ipython |
C-x C-b | ibuffer |
C-x C-a | ag-project |
C-c x | expand-region |
M-TAB | zencoding-expand-line |
C-x C-f | helm-find-files |
C-z | undo |
C-c b | switch-to-previous-buffer |
M-n | hold-line-scroll-up |
M-p | hold-line-scroll-down |
C-c v | A simple python tablist |
C-c w | hs-hide-block |
C-c W | hs-show-block |
C-c s | hs-hide-all |
C-c S | hs-show-all |
C-c l | hs-hide-level |
C-c c | hs-toggle-hiding |
C-x C-f | helm-find-files |
C-tab | helm-select-4th-action |
M-l | helm-eshell-history |
C-x o | switch-window |
C-x C-r | open-recentf-file |
C-x C-a | ag-project |
C-x C-c | smart-down |
C-x C-c | smart-up |
C-x C-c | smart-backward |
C-x C-c | smart-forward |
C-c t | isend-send |
C-c y | isend-associate |
M-i | change-inner |
M-o | change-outer |
C-x | windmove-up |
C-x | windmove-down |
C-x | windmove-left |
C-x | windmove-right |
M | drag-code-block-up |
M | drag-code-block-down |
C-c v | func/class list |
C-c f | toggle-fullscreen ; Only for GUI |
C-c G | search github |
C-c g | search google |
C-c q | search douban code |
C-c j | add or delete comment |
C-c k | align-text by = |
C-c w | hs-hide-block |
C-c W | hs-show-block |
C-c s | hs-hide-all |
C-c S | hs-show-all |
C-c c | hs-toggle-hiding |
C-z | undo |
M-/ | hippie-expand |