Is there a way in Vim (or a plugin) to search for a term and iterate through the search results (as per n
in Vim), by column, rather than row? So if my file was this:
foo1 bar bar
baz baz foo3
baz baz foo4
foo2 bar bar
If I search for foo
I want to iterate through the results in order 1,2,3,4. Normally n
would move me through them in order 1,3,4,2.
I want this for example to browse through search results in a huge fixed-width data file or CSV file, where columns represent fields.
(I'll also settle for a way to do it in Emacs instead. :)