Tuesday, September 20, 2016

vim & ctags: how to jump to the definition in new window

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJX4fVOAAoJENZCakLuo2TN9ywQAICbzrF/bTj9bCx+4Hk/p7SW
DsGOPVrpeP2HTiep5Gvd+vkwRy279Ka7WDEu0bw0hvYgi7ZG2UGcEOQiEy56aFQK
gP66NlJrSEvhZzoxLcgcMAbxEe2L89bQjxuN0T9kSXqT6LENL2z1D8yIXelgmkWg
1bNqLkOM4382OG0wjO1CM4ykA8PobEsXyj1vj9YVfW0y/4J1tjjOoYOPdByiDCFL
Yy3L3Z3PO3ZwiqQlonxvAIcmTzIbUc0wIs/j7i+qC6fy+WXz34EdRK5x2PkskZdd
GwgFLfTrtYOHptc4wVIXdyunXw9nxs3vFtQ1wpP0FqQ//MOOiKnOQlG31rjBODwC
iaQ6w4EtNMyWXAEjclvdG7eq0H2JWddVvbO/ztoncJVDW7cKDtK7ZcCyeziJ7dtu
wOF0Rt1uEUprtEHfIeClk4CB4oTO+ibKMZOODpxs+UWmDHtFh9naMyCUeGF0qIwV
mHYjcStGkvv/aWaYrP7OakzY8q96YETwceFns9UyoyO5qUAcZQAS/1jc/LCG7M3P
5zL4qGEmr5PeRpNquqVssbUy1R/Mo4gOS8w2UPaJvaqSckTuzjG90/0yqrQVQnV4
Fe4al3KfyMe+yWgZWZKODQiHjcy1VTaP7nbyTcVp5xr4JE3RUmO01NI0+aXufh5Q
YBEMzLgjQkPdpZ3KwOE0
=qq2s
-----END PGP SIGNATURE-----
Hello list!

I am reading some source code with vim & ctags these days. You know
sometimes people just forget those input/output parameters while diving
into functions ...

So, is there some good way to open a new window to view the definition
after I press 'G+] ' while keep the previous file shown?

All I want is a 'Cover Flow' style. For example, after I press 'G+]' in
file A, a new window split up from A's to show file B. When I press
'G+]' again in file B, file A is hidden and replaced by B, while a new
file C will show up in B's former window. And file D,E,F,G...


Thanks!
zzy

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment