python: sort key bindings
This commit is contained in:
parent
8f79abc7f3
commit
920a6f6075
|
@ -382,21 +382,21 @@ Send code to hy REPL commands:
|
|||
|---------------+------------------------------------------------------------------------------|
|
||||
| ~SPC m =~ | Reformat the buffer according to PEP8 using [[https://github.com/google/yapf][YAPF]] |
|
||||
| ~SPC m d b~ | toggle a breakpoint using =wdb=, =ipdb=, =pudb= or =pdb= |
|
||||
| ~SPC m g g~ | go to definition using =anaconda-mode-find-definitions= (~C-o~ to jump back) |
|
||||
| ~SPC m g a~ | go to assignment using =anaconda-mode-find-assignments= (~C-o~ to jump back) |
|
||||
| ~SPC m g b~ | jump back |
|
||||
| ~SPC m g g~ | go to definition using =anaconda-mode-find-definitions= (~C-o~ to jump back) |
|
||||
| ~SPC m g u~ | navigate between usages with =anaconda-mode-find-references= |
|
||||
| ~SPC m h d~ | look for documentation using =helm-pydoc= |
|
||||
| ~SPC m h h~ | quick documentation using anaconda |
|
||||
| ~SPC m h H~ | open documentation in =firefox= using [[https://github.com/tsgates/pylookup][pylookup]] |
|
||||
| ~SPC m v a~ | activate a virtual environment in any directory |
|
||||
| ~SPC m v d~ | deactivate active virtual environment |
|
||||
| ~SPC m v s~ | set a pyenv environment with [[https://github.com/pyenv/pyenv][pyenv]] |
|
||||
| ~SPC m v u~ | unset a pyenv environment with [[https://github.com/pyenv/pyenv][pyenv]] |
|
||||
| ~SPC m v w~ | work on virtual environment in =WORKON_HOME= |
|
||||
| ~SPC m v a~ | activate a virtual environment in any directory |
|
||||
| ~SPC m v d~ | deactivate active virtual environment |
|
||||
| ~SPC m v p a~ | activate pipenv in current project |
|
||||
| ~SPC m v p d~ | deactivate pipenv in current project |
|
||||
| ~SPC m v p s~ | launch pipenv shell in current project |
|
||||
| ~SPC m v p o~ | open pipenv module in buffer |
|
||||
| ~SPC m v p i~ | install module into pipenv environment |
|
||||
| ~SPC m v p o~ | open pipenv module in buffer |
|
||||
| ~SPC m v p s~ | launch pipenv shell in current project |
|
||||
| ~SPC m v p u~ | uninstall module from pipenv environment |
|
||||
|
|
|
@ -199,9 +199,9 @@
|
|||
(spacemacs/set-leader-keys-for-major-mode 'python-mode
|
||||
"vpa" 'pipenv-activate
|
||||
"vpd" 'pipenv-deactivate
|
||||
"vps" 'pipenv-shell
|
||||
"vpo" 'pipenv-open
|
||||
"vpi" 'pipenv-install
|
||||
"vpo" 'pipenv-open
|
||||
"vps" 'pipenv-shell
|
||||
"vpu" 'pipenv-uninstall))))
|
||||
|
||||
(defun python/init-pip-requirements ()
|
||||
|
|
Loading…
Reference in a new issue