Hi everyone,
 I have problem with joining lines in GVim (7.2).
I have wrapped text and I want to unwrap it. Actualy I want to find
each line that start with small letter and join it to previous line,
or find <end of line> followed by [a-z] and replace it with <space>
and that letter.

So because I am not very used to Vim first I tried to find end line
and letter. ( /\n[a-z] ).
This worked fine.
Than I tried to find and replace it with some text ( :s/\n[a-z]/
TEST). This should join two lines with word TEST. But it does'nt work.
It says it can't find text \n[a-z]. I don't know where is the problem.

 (based on my best knowledge, the final command should looks like :%s/
\n\([a-z]\)/ \1 )

Can someone help me to solve this?

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

Reply via email to