tmux-copycat icon indicating copy to clipboard operation
tmux-copycat copied to clipboard

Git status - Long file names are not detected properly

Open dylan-chong opened this issue 7 years ago • 1 comments

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.

screen shot 2017-12-23 at 8 39 27 pm


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.

dylan-chong avatar Dec 23 '17 07:12 dylan-chong

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

bruno- avatar Jan 10 '18 15:01 bruno-