Add key binding for going back in anaconda mode

There are keybindings `C-o` and `M-*` to go back already, but it could
be a good idea to add an entry to `SPC m g` (or `, g`) menu where the
other movement commands are.
This commit is contained in:
Jaakko Luttinen 2015-11-25 11:21:44 +02:00 committed by Eivind Fonn
parent 003b26ed83
commit 34df7b03b0
2 changed files with 2 additions and 0 deletions

View File

@ -220,6 +220,7 @@ Live coding is provided by the [[https://github.com/donkirkby/live-py-plugin][li
| ~SPC m d b~ | toggle a breakpoint |
| ~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 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 |

View File

@ -51,6 +51,7 @@
"hh" 'anaconda-mode-show-doc
"gg" 'anaconda-mode-find-definitions
"ga" 'anaconda-mode-find-assignments
"gb" 'anaconda-mode-go-back
"gu" 'anaconda-mode-find-references)
(evilified-state-evilify anaconda-mode-view-mode anaconda-mode-view-mode-map
(kbd "q") 'quit-window)