Search code examples
vimvi

How to search ^A in vim?


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" ?


Solution

  • You can search control characters by their decimal value:

    /\%x01
    

    See :help \%x and this table.