Searchstring with tilde in vi

From: hans van der heide (hans.vanderheide@bdl.ch)
Date: Wed Sep 25 2002 - 09:36:14 EDT


Hello folks,

I am struggling with the following:

How can I search with "vi" for the character "~" (tilde). I do not know of a
way escaping this character (implemented in vi as a shortcut for saved last
searchresult): the backslash doesn't work for tilde, i cannot use a [.-.] or
[^.-.] sequence as a trick because tilde is the last printable below 0x7F.

Anybody know a trick?

Greetings,

Hans van der Heide ( mailto:hans.vanderheide@bdl.ch )



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:48:54 EDT