Hi
Is there any way to get vim to show the line where the matching start
bracket is placed (or the line above if line only contains bracket)
whenever a closing bracket is pressed. 
e.g.,
if( foo == bar )
{
        bla bla
}
should show "if( foo == bar ) {" when the } is inserted. 

Emacs has this feature and I think that it is quite useful when
programming, and would love to have it in Vim.
I am not looking for showmatch, and dont want to jump to the line - i
simply want a preview at the bottom of the script. 

If this is not possible directly in Vim, I an planning to write a
script for this - any ideas are welcome. 
In gvim I was thinking of using baloonexpr to show it on mouse over
also. 


-- 
Kim Schulz    | Private :  http://www.schulz.dk
[EMAIL PROTECTED] | Business:  http://www.devteam.dk
+45 5190 4262 | Sparetime: http://www.fundanemt.com

Reply via email to