emacs - How to make jedi:goto-definition open definition in split buffer -


jedi:goto-definition works wonderfully, opens definition in same buffer i'm editing in. looking references me better if opened definition of function in split pane , kept cursor is.

is there simple way of doing this?

you advise jedi:goto-definition emacs splits frame before running jedi:goto-definition, , goes buffer afterwards.

(defadvice jedi:goto-definition (around definition-in-other-window activate)   "goto definition in different window."   (interactive)   ;; remove current frame splits   (delete-other-windows)   ;; split frame vertically   (split-window-right)   ;; switch focus window on right   (other-window 1)   ad-do-it   ;; switch window on left   (other-window 1)) 

Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -