How to search ^A in vim?

Viewed 66

I have a text in vim like :

28473^A1619497837375
28473^A1619497837375
28474^A1619497837375
28474^A1619497837375
28474^A1619497837375
28474^A1619497837375

shortcut

How do I search the "^A" ?

2 Answers

Due to the syntax highlighting in the screenshot it looks like ^A is a control character.

If that's the case you can search for it by pressing CtrlvCtrlA after /.

You can search control characters by their decimal value:

/\%x01

See :help \%x and this table.

Related