On Thu, 24 Mar 2005, Aaron wrote:
HI all,
I am trying to make a script to run within vim, I need a way to search
for \notes yank it delete the line it is on and then put it back.
I can't quite figure out how to search for \ in vim I tried /^\notes^
but it didn't work I then tried /^\^notes but it also didn't like it.
so I tried /^\notes but it really didn't like it.
Hi Aaron,
^ searches at the begining of the line so \ and notes can't both be at
the begining. You did not indicate where the string \notes is in the
document. if \notes is in the beginning of the line then /^\notes should
work. It the string is in the middle of a line then try //\notes
--
- Josh
GPG: 445F 7FB3 3D99 EE8C 99A4 4313 352D FFD4 02B2 C7F3
Any suggestions
Thanks
Aaron
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]