Recent versions of Vim have text balloons that can show information on mouse-over. These balloons should work in non-graphical terminals, too, using the following settings: set mouse=a set ttymouse=sgr set updatetime=1500 set balloondelay=300 set ballooneval set balloonevalterm However, this functionality doesn't seem to be working in Konsolepart-based terminal emulators like Konsole and Yakuake. STEPS TO REPRODUCE 1. Enable govim or any other vim extension that uses balloon pop-ups; 2. Open some source code; 3. Hover a keyword. OBSERVED RESULT On mouse-over, nothing happens in konsole or yakuake; no balloon appears. Keyboard shortcuts do show the text balloon with information, so the problem is with vim not noticing the mouse pointer is located over a keyword. Mouse movements do not seem to be detected; basic mouse functionality such as clicks and selection work fine, though. EXPECTED RESULT I expect that when moving the mouse pointer over a keyword, vim triggers a text balloon to be shown. This functionality works by default in other terminals, e.g. Alacritty. My guess is that the terminal emulation code doesn't report mouse movements to vim, either because it's not supported or because the terminfo entry isn't complete. Alternatively, I could have somehow managed to mess up the settings so Konsole would have disabled some terminal functionality. ADDITIONAL INFORMATION In short: no vim text balloons on mouse-over in Konsole while they show up in other terminal applications.
Git commit b5d174385529e5ba3551406bb8d90fa317b5bf00 by Tomaz Canabrava, on behalf of Luis Javier Merino Morán. Committed on 07/06/2021 at 18:03. Pushed by tcanabrava into branch 'master'. Support DECSET 1003 mouse move tracking Mode 1003 reports all mouse movement. Support it in Konsole. Related: bug 391967, bug 423333 M +7 -3 src/Vt102Emulation.cpp M +5 -4 src/terminalDisplay/TerminalDisplay.cpp https://invent.kde.org/utilities/konsole/commit/b5d174385529e5ba3551406bb8d90fa317b5bf00