SSHuv
SSHuv

Reputation: 75

How to search special character ^ in Vim?

^ stands for start of a line in Vim. But what if I does want to search for the character ^ itself but not start of lines? I have tried \^ but it seemed not work.

Upvotes: 2

Views: 2089

Answers (1)

Red Cricket
Red Cricket

Reputation: 10480

In you vim session type /\^. It works see :)

enter image description here

Upvotes: 4

Related Questions