Elpy: Can't jump back after [M-.] elpy-goto-definition

Created on 28 Mar 2016  路  2Comments  路  Source: jorgenschaefer/elpy

After I press [M-.] to jump to definition, but I can't press [M-,] to jump back.

Question

Most helpful comment

If you want to jump back you need to call pop-tag-mark which is bound to M-*.

If you want to use M-,, you need to bind it like this

(define-key elpy-mode-map (kbd "M-,") 'pop-tag-mark)

All 2 comments

If you want to jump back you need to call pop-tag-mark which is bound to M-*.

If you want to use M-,, you need to bind it like this

(define-key elpy-mode-map (kbd "M-,") 'pop-tag-mark)

@ChillarAnand thanks

Was this page helpful?
0 / 5 - 0 ratings