Thank you!

You may also find this function useful. I wrote it for Unreal Script
code, but it should be simple enough to modify it for other types.

What it does is open a function definition in the preview window when
pressing `f' with the cursor over a function call name.

function! GetUTFunc()
   normal wb"zyw
   let f = 'function.*' . @z . '.*('
   set ignorecase
exe "silent! psearch /" . f . "/" set noignorecase
endfun

map f :call GetUTFunc()<CR>

Dave.

-- gary furash | [email protected], 520-907-2470

On Tue, Aug 4, 2015 at 6:57 PM, David Woodfall <[email protected]> wrote:

2. can anyone recommend a script/plugin that gives me a window with a list
of (configurable) elements from the main window - for example, SQR
functions start with the word "function..." it would be cool to be able to
see all of the functions on the right side or at the bottom and I can click
on them and navigate to that location - this would be source code, not
compiled.


There is also this:

http://www.vim.org/scripts/script.php?script_id=3681

Works on functions defined using `function ...'

D.


--
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to