Hi,
On 10/19/06, Kim Schulz <[EMAIL PROTECTED]> wrote:
On Thu, 19 Oct 2006 15:18:12 +0200
"A.J.Mechelynck" <[EMAIL PROTECTED]> wrote:
[snip]
>
> Instead of calling the program "vim", call it "rview". Then you won't
> be able to write anything, nor to use a shell command. Is that safe
> enough? Maybe ":help starting.txt" will give you other ideas.
except that this is not what I want. I would like to have a preview
window that shows the position of decleration whenever I move the
cursor on top of a function name, variable etc. It should ofcause use
tags to find the right place.
Source browsers like Source Insight has a feature like this and I love
the way it gives you a superb overview of the code when reading through
it.
You can use the detailed example code under ":help CursorHold-example".
It uses the ":ptag" command and the cursorhold autocmd to jump
to the tag under the cursor in the preview window and highlight the
line.
- Yegappan