Hi,
Please see this thread:
http://tech.groups.yahoo.com/group/vim/message/79080
On 4/30/07, madiyaan <[EMAIL PROTECTED]> wrote:
Hello all,
I want to know if there is a way for me to configure Vim such that when
editing *.cc *.c *.cpp *.h files, when I type in:
if (bla == bla1) { <cursor is here>
it types in:
if (bla == bla1)
{
<cursor is here>
}
I don't know if I explained this well, but if you look at this webpage:
http://www.aivosto.com/codesmart/net.html
Search for "autobrackets" you will see the behavior as a screenshot.
Similar (but not the same as I describe) behavior can be seen here:
http://www.wholetomato.com/
Can anyone tell me if I can have my Vim configured as this? I recently
switched to Vim from Visual Studio and only thing I miss is these
autobrackets and auto-completion (that cute Intellisense pop-up that pops up
when you press . or -> I know Vim has omni-complete, but somehow it's not as
smart as Intellisense (i.e. lists non-member variables for class structures
as well as other junk alphabets that were previously typed)).
Regards,
--
View this message in context:
http://www.nabble.com/Auto-bracket-Auto-brace-for-Vim-%28automatic-insertion-formatting-of-curly-braces%29-tf3672124.html#a10260958
Sent from the Vim - General mailing list archive at Nabble.com.