On 24/10/08 04:14, Aman Jain wrote:
> Hi
>
> When I browse code, I need to see opening and closing parenthesis/
> brackets, and pressing "%" seems unproductive.
>
> I tried :set showmatch, but it makes the cursor jump back and forth
> when you type in a bracket.
> But what to do if I am browsing already written code.
>
> Thanks
> Aman Jain
> India
The matchparen plugin (see ":help matchparen") normally works when the
cursor is on a ( [ { } ] or ) to show you its mate (if it's on-screen,
of course) in a distinctive colour. If you earlier disabled it, you can
reenable it by removing the line ":let loaded_matchparen = 1" from your
vimrc.
Best regards,
Tony.
--
The people of Halifax invented the trampoline. During the
Victorian period the tripe-dressers of Halifax stretched tripe across a
large wooden frame and jumped up and down on it to `tender and dress'
it. The tripoline, as they called it, degenerated into becoming the
apparatus for a spectator sport.
The people of Halifax also invented the harmonium, a device for
castrating pigs during Sunday service.
-- Mike Harding, "The Armchair Anarchist's Almanac"
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---