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

2016-09-21 Thread 张正宇
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

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

2016-09-21 Thread Marc Weber
s then use :tjump or such -> you can write a mapping easily such as :nnoremap s:tjump Marc Weber -- -- 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 ---

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

2016-09-21 Thread Bryan Richter
On Wed, Sep 21, 2016 at 10:49:48AM +0800, 张正宇 wrote: > 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

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

2016-09-21 Thread 张正宇
Hi Bryan & Marc On 9/21/16 9:30 PM, Bryan Richter wrote: > On Wed, Sep 21, 2016 at 10:49:48AM +0800, 张正宇 wrote: >> 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 ...

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

2016-09-28 Thread 张正宇
On 9/22/16 2:28 PM, 张正宇 wrote: > Hi Bryan & Marc > > On 9/21/16 9:30 PM, Bryan Richter wrote: >> On Wed, Sep 21, 2016 at 10:49:48AM +0800, 张正宇 wrote: >>> Hello list! >>> >>> I am reading some source code with vim & ctags these days. You know >>> sometimes people just forget those input/output pa

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

2016-09-28 Thread Nicola
On 2016-09-28 08:26:47 +, 张正宇 said: On 9/22/16 2:28 PM, 张正宇 wrote: Hi Bryan & Marc On 9/21/16 9:30 PM, Bryan Richter wrote: On Wed, Sep 21, 2016 at 10:49:48AM +0800, 张正宇 wrote: Hello list! I am reading some source code with vim & ctags these days. You know sometimes people just forget

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

2016-09-28 Thread 张正宇
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 comm