csv.vim
csv.vim copied to clipboard
SearchInColumn "hits" in multiple columns, highlighting doesn't always happen
I tried :SearchInColumn for csv in my last bug, it has false hit for a cell that is not in column passed to the command. In the screenshots below, SearchInColumn 1 /Alex/ should not have hi-lighted Sir and Alex on line number 5. Also, the highlight doesn't really happen when :SearchInColumn 1 /Alex/<CR> is entered the first time; and only starts highlighting entering :SearchInColumn 2 /Alex/<CR>n
The same problem does not occur when search is repeated in column-2:
First ;Last ;Primary Email
Alex ;Alex ;[email protected]
Alex ;Bram ;[email protected]
Bram ;Moolenar;[email protected]
Sir ;Alex ;[email protected]
Adriel;Zimmer ;[email protected]
Maddy ;Daddy ;[email protected]
Erica ;Acire ;[email protected]
Panhan;Jiabao ;[email protected]