On Fri, July 15, 2011 4:38 am, ZyX wrote: > Christian Brabandt: >> According to the help \%V is only available, if Vim is compiled as small >> built (or larger), cause it needs +visual. > I don't see this in the help.
Well, it's not directly written there. But since \%V matches the visual area, you need +visual and according to :h +feature-list you need at least a small build of Vim for +visual (Not sure, why my tiny vim contains +visual. Can anybody reproduce this?) > If you go to regexp.c and search for `case 'V'' you will see that it > is not surrounded by #ifdef. So you can disable visual mode, but you > can't disable \%V atom (maybe it will just always match). Well you looked at the wrong place. In your place you found that Vim will search for the RE_VISUAL atom. But if you look further down you'll find 'case RE_VISUAL' which is the place where Vim tries to actually match what it is looking for (regmatch() function in regexp.c) And this place is surrounded by #ifdef FEAT_VISUAL. This means, that a build of vim without +visual won't match anything. regards, Christian -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
