Command-Click on a URL that spans display lines in Vim results in broken URL sent to browser
Thanks for filing an issue! Please answer the questions below so I can help you.
- iTerm2 version: 3.3.12
- OS version: macOS Catalina 10.15.6
- Attach ~/Library/Preferences/com.googlecode.iterm2.plist here (drag-drop from finder into this window) com.googlecode.iterm2.plist
- Attach a debug log, if possible. Instructions at https://iterm2.com/debuglog
- Attach a screen capture video if it would make the reproduction steps clearer.
- Are you reporting a performance issue, excessive CPU usage, or a hang? N/A
- Are you reporting a crash? N/A
- Are you reporting excessive memory usage? N/A
PLEASE ATTACH YOUR PLIST FILE FOR BUG REPORTS! Seriously! I'll probably ask you for it if you don’t.
Detailed steps to reproduce the problem:
- open vim and have some text with a URL in there where there are multiple soft lines in one hard line (in other words, the length of the line is longer than the number of characters per line of screen) (see screnshot) -- the point is, we want the URL to span lines of display
- Command-Click on the URL
What happened: iterm2 sends only part of the URL (the part that is all on one display line) to the Web browser. It omits the part that was on the previous display line.
What should have happened: It should have sent the complete URL.
This is with Vim 8.2.
In the attached screenshots, I have the following vim settings to help illustrate the issue:
set number
set list
Edited by Aleksey Tsalolikhin