On Fri, Jan 14, 2011 at 12:10:10PM EST, Stephen Rasku wrote: > I want to find anything that is not 'E' in the 11th column followed by > an 'R' in 56th column. Is this possible? > > I've tried the following and none have worked: > > /\%11v[^E].*\%56vR > /\%11v[^E]\%56vR > /\%11c[^E].*\%56cR > /\%11c[^E]\%56cR > > I am using vim 7.0. > > Also, what's the difference between a virtual and a "real" column?
I am not sure I have figured that one out completely, but I think that provided your vim was compiled with +virtualedit, you can issue a :set ve command and then you will be able to access any position on the screen, even beyond the end of lines. In this context, a virtual column would be a column that does not correspond to anything in the file associated to the current buffer, while a real column does. Quite useful if you need to duplicate a column to the right of an existing table. Not sure it this makes sense in your context, and s/o correct me if I misunderstood Vim's ‘virtual editing’. cj -- 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
