21
4
In Vim normal mode, the 0
command takes you to the first column on the line and ^
takes you to the logical start of line (e.g. the first non-whitespace character). In the regex world, ^
matches the first character on the line, whitespace or not. Does Vim have a pattern that behaves like its '^' command--matching the logical beginning of a line?
I think ^ in a regex normally matches the start of the line, not the first character. ^. will match the start and then the first character, not the start and then the second character. – bdsl – 2014-12-19T11:28:45.433