vi find
usually when searching we just use "/search_string"
but if I want to find a "\n" string, can't seemed to do so. "/\n" will search for any place which have an "enter key" anyway to find a string which compose of "\n"? |
havent u tried with grep??
i dont understand what you want to do |
The \<n\> search string (add a slash in front to actually use the command) is what is generated when I try to search for \n in a file. You know you can search for occurances of the word under the cursor just by typing an asterisk ( * ) in command mode, right?
Håkan |
Try something like:
/\\n This also works with other characters that have special meanings in vi (like ^ and $). |
All times are GMT -5. The time now is 04:51 PM. |