Wednesday, September 28, 2016

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

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

iQIcBAEBCgAGBQJX7GxFAAoJENZCakLuo2TNQWkP/Rx1X/e4ueEiiSG47V7Fhfw6
L1Y92/Lt0XzNr9eyNQZL6giYcxl1DyA/4Ylh7ZSFlS2eXNQtEH5xfpRn1VtBE2aK
1TiDCt0uBpFKOvN+E4+WViFa4rBZ6NPUjstsik3d2RwF8E70mB8uz9FIuoQT7CNy
G2NUKs0FbZdeAterlbf0Q+wYNtwbsSLfmExChP04fKboPtWfLka2VR52BaHzizD3
uFphZ4Z3iFXBymkhVcLP9C9WZkDM0fDtDK/GADBYWs4g7JYuE6fCCDq64P5JwWzg
9Vfnvkgd6dGs8LaLnKbKI4MwbFuyHhXfkZEvlcZMlBWqDb/HLqzizUlYhkYVs3fn
oDrukX2Y/mnzyedxynBFaEj+o+wTFmih+65aOe6AwtIrZdiQH9w3fGFxRXC8Jw6b
hU30c3XfJCPkiATe+6/fSyzdJrfqbHfHTP/TQCzmviQ5417Xo8Xn9Zp2co3sqz4E
Dq8/eU1gmcSgamSUl7pyaOr85rBh6EdBc7Zq5ktICfV8o7CfNWFBXcdJ4AtV1HB+
KPx+msguRb5ocG87LfiW82IcHS5pp1rqaLIPau732ShOCj11Mjp7JnMQhDk8PNky
Et8EuaOyZryKLPhCZmAbicwlmzy6gLaJFnFGF+yKm+CYhhTv/BHNam/QU0EoOMAe
hxXQPfAquBvm8uWZ+jIh
=Fnle
-----END PGP SIGNATURE-----
Hi Nicola

On 9/28/16 6:33 PM, Nicola wrote:

>> On 9/22/16 2:28 PM, 张正宇 wrote:
>>
>> As I said, I struggled to write a plugin. Request for comment!
>>
>> https://github.com/freemandealer/CodeCoverFlow
>
> You've brilliantly solved your own problem, so this may be a bit late, but…
> using the commands and mappings described in :h preview-window might get
> you close to your workflow. Off the top of my head, assuming you start from
> a single window:
>
> :ptag or <c-w>} or <c-w>g} (to open a tag in the preview window)
> <c-w><c-x> (to exchange windows)
> :se nopreviewwindow (to turn the preview window into a normal window)
> <c-w><c-o> (to close the other window)
>
> and repeat.
>

Thanks for your reply. It is never to late to know new things :)

My plugin is just a simple wrapper of something similar to preview
window - most of my want is a new window, isn't it? The rest is to
create a bidirectional flow between these windows.


All the best!
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: