Show filepath as the preview title?
lougreenwood opened this issue ยท 5 comments
Really nice addon! It's helping me on my transition away from VSCode.
I wonder, did you consider showing the path to the file in the preview window "title" area?
Thanks again! ๐
Hi, I'm glad you're enjoying it!
So, what exactly do you mean by the "window title area"?
In my workflow if I need to know the filename of the buffer currently being previewed I just hit CTRL-G and that prints the current file name in my statusline.
I see. This is technically possible, though maybe not how you'd expect. A floating window doesn't have a "title" property or anything like that afaik, telescope just draws its borders like that.
goto-preview would have to draw its borders differently per window, which it doesn't currently support but could.
I can see this being useful but there are also some annoyances like handling "long paths" and how to show that, one could maybe use shorten path to make this work I suppose.
Hello,
Any update to this issue? It would be great help for seeing files names on those references, that with such thing for example usage of searching through telescope references is enabled and other stuff also. Thank you!