I am using
davidhalter/jedi-vim plugin to navigate through Python definitions. If a definition is in the same file, the cursor is placed at the top or bottom of the screen. In these cases I usually press
zz to center the view. I wonder is it possible to automatically execute
zz after each jump?
Jedi-vim has this option:
let g:jedi#goto_command = "<leader>d"
But I guess its not the place where I should do the change to add
zz after that command.