Looking for Scripts

40 views
Skip to first unread message

Gary Furash

unread,
Aug 4, 2015, 3:11:40 PM8/4/15
to vim_use
1. can anyone recommend a script/lugin that allows me to make a list of favorite paramerized ! commands (e.g., run the current script using a particular python from the command line)

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.

Matteo Cavalleri

unread,
Aug 4, 2015, 5:02:09 PM8/4/15
to vim_use

> 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.

something like this?

https://github.com/majutsushi/tagbar

David Woodfall

unread,
Aug 4, 2015, 9:57:56 PM8/4/15
to vim_use
>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.

Gary Furash

unread,
Aug 4, 2015, 10:04:54 PM8/4/15
to vim...@googlegroups.com
Thank you!

-- gary furash | furas...@gmail.com, 520-907-2470




--
--
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 a topic in the Google Groups "vim_use" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vim_use/28F41PLKS5w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vim_use+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

David Woodfall

unread,
Aug 6, 2015, 4:40:07 PM8/6/15
to vim...@googlegroups.com
>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.
Reply all
Reply to author
Forward
0 new messages