file format - How do I search for "\n" without a preceding "\r" in vim? -


If incompatible row appears in the end, then the vim file format will not be changed

Zero-width look-back claim

"Without preceding" \ r "in Vim, for" \ n " How do I search? "

  / \ r \ @  

"\ r \ n"?

 :% s / \ r \ @  

If you want to accept every match without any confirmation, the last "C" Get rid of.

EDIT: However, if you want an answer, how can you remember without it? View the answer of Jackson Miller, using the back / back of a billion views. Sometimes it's better to make your problem easier and use those tools, which are not required to be read manually;)


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -