What are you trying to accomplish? Since you're trying to match entire
lines, it sounds like you may desired to do something to each of these
lines, or print each of these lines, in which case the :v command may
serve you more simply.

I was trying to delete all the lines that didn't include "CODE". In other words, I want to be left with only lines containing the word CODE.

I suppose I could have "grep \\bCODE\\b myfile.map", but where is the fun in that?

Actually, I'm kinda kicking myself for not doing that in the first place. Sheesh.

James

--
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

Reply via email to