gnunn1 / tilix

A tiling terminal emulator for Linux using GTK+ 3
https://gnunn1.github.io/tilix-web
Mozilla Public License 2.0
5.38k stars 293 forks source link

cannot follow links inside vi/vim when window size make it wrap on the next line #2120

Open ilmanzo opened 1 year ago

ilmanzo commented 1 year ago

to reproduce, create an url.txt file with a long URL inside. Then

$ vi url.txt resize window so the URL wraps to the next line

cannot follow the URL by CTRL+click since only the first part of the URL is underlined

cmndrsp0ck commented 1 year ago

I see what you're saying. I tried a 1999 character URL. It worked at first but once I shrank the terminal window, the URL was either cut off or mangled a bit. Maybe a limitation of the view port. I will say this though, if you're using vim/nvim, you can put the cursor anywhere on the URL and type in 'gx' and it will be opened in your default browser.