On Friday, December 25, 2015 at 2:58:06 PM UTC-6, nuliknol@gmail.com wrote:
>
> w1 (window1) has to contain the last 10 files opened, the mostly frequent edited file on the top
>
I'm not sure how to get this. Perhaps the MRU plugin can be configured to stay up. http://www.vim.org/scripts/script.php?script_id=521
> w2 (window2) has to contain the list of global variables of file currently selected on w1
>
> w3 (window3) has to contain all the functions contained in the file currently selected on window 1
>
It's not in 2 separate windows, it's in a single window, but the Tagbar plugin has a separate (foldable!) section for globals variables, functions, types, classes, etc. so I think that will achieve your goals even if it's not EXACTLY what you asked for. https://majutsushi.github.io/tagbar/
> w4 (window4) has to contain the source of the .c file currently selected on w1
>
> click on the global variable on w2 should position the cursor on that variable
>
> click on the function on w3 should position the cursor on the definition of that function
>
With Tagbar, this is Enter or Double-Click rather than single click. But you can probably map single-click to it.
> Alt-1,Alt-2,Alt-N to select a file on window1
>
This would require a mapping on your end but it shouldn't be too hard. Just map it to go to the specified line and press Enter.
--
--
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.
Sunday, December 27, 2015
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment