Re: searching for a char in vim

2005-03-24 Thread Aaron
>Thanks I couldn't figure how to find the escape character in vim. > Try: > > /\\notes. > > A backslash (\) serves as the escape character and if you want to include it > verbatim you need to escape it with \ - \\. > > A good way to play with search is to set "set incsearch". in .vimr

Re: searching for a char in vim

2005-03-24 Thread Josh Zlatin-Amishav
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 a

I have a crush on backslash, help me find her! (was: Re: searching for a char in vim)

2005-03-24 Thread Omer Zak
On Thu, 24 Mar 2005, Aaron wrote: > 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 i

Re: searching for a char in vim

2005-03-24 Thread Shlomi Fish
On Thursday 24 March 2005 12:29, 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 the

searching for a char in vim

2005-03-24 Thread Aaron
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 /