csv.vim icon indicating copy to clipboard operation
csv.vim copied to clipboard

SearchInColumn "hits" in multiple columns, highlighting doesn't always happen 

Open poetaman opened this issue 4 years ago • 0 comments

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

Screen Shot 2021-02-22 at 2 15 45 AM

The same problem does not occur when search is repeated in column-2:

Screen Shot 2021-02-22 at 2 16 06 AM
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] 

poetaman avatar Feb 22 '21 10:02 poetaman