How can I search for a ~ (tilde) in vim?
I tried /\~
and / \~
as /~
does not work.
Thanks for your help!
How can I search for a ~ (tilde) in vim?
I tried /\~
and / \~
as /~
does not work.
Thanks for your help!
Copyright © 2021 Jogjafile Inc.
/\~
works here. (withmagic
as default)There are other ways,
/[~]
nomagic
mode/\M~
very nomagic
mode/\V~