On 23/03/09 09:01, greenfish wrote:
>
> When writing C file, I like to use '%'  to jump from a '{' to '}'.
>
> but like this code
>
> if {
>        // if {
> }
>
> When jump '}' to '{', it doesn't avoid the commet text.

Try installing matchit |matchit-install|, it extends the power of the % 
command, and in particular it doesn't jump from "outside comments" to 
"inside comments" or vice-versa.


Best regards,
Tony.
-- 
THEOREM: VI is perfect.
PROOF: VI in roman numerals is 6.  The natural numbers < 6 which divide 
6 are
1, 2, and 3. 1+2+3 = 6.  So 6 is a perfect number.  Therefore, VI is 
perfect.
QED
                                                    -- Arthur Tateishi

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui