tmux-copycat
tmux-copycat copied to clipboard
Git status - Long file names are not detected properly
How to replicate:
Make your terminal less wide, for exampled by opening a horizontal split
Then run:
git clone https://github.com/dylan-chong/long-filename-test
cd long-filename-test
git reset head~
git status
Now press <prefix><c-g>.
You should get something that looks like a screenshot below:
In the screenshot below, the last long file is not selected because it goes across multiple lines.

This bug is quite annoying because i have files which are in very deeply nested directories, which causes the filename in git status to flow across to the second line.
I confirm this is a bug. I remember I tried solving it when this plugin was initially developed but I was unable to find a proper solution. I'd be ok to add this to the known limitations page https://github.com/tmux-plugins/tmux-copycat/blob/master/docs/limitations.md