tmux-plugins / tmux-copycat

A plugin that enhances tmux search
MIT License
1.1k stars 63 forks source link

Multiple occurences in same line not shown #96

Open doylefermi opened 8 years ago

doylefermi commented 8 years ago

thu mar 24 20 21 42 ist 2016

Copycat does'nt search though the occurences in the same line.

Eg (from the above screencast) I wished to highlight all the "100.00" texts in the terminal. However copycat only highlights the 1st occurence it sees and on hitting "n", instead of going to the next occurence in the same line, it still highlights the 1st one that occured in the line.

nkh commented 8 years ago

a text like

an an5 an4 an3 an2 an an1

matches: an[[:digit]], and does mach: an, multiple times but the selection is not highlighted properly

Alt Text

MateuszKubuszok commented 4 years ago

Maybe it would be possible to remember not only last line but also column matched and so calculate next jump in the same line by finding next matching after this matched column as offset?