[Konsole-devel] TERM=xterm-256color and selection in vim

Jekyll Wu adaptee at gmail.com
Wed May 9 19:13:15 UTC 2012


于 2012年05月10日 02:55, Andriy Gapon 写道:
> Here is my environment:
> - konsole that came with KDE 4.7.4
> - vim 7.X running in konsole
> - TERM is set xterm-256color
>
> If in this setup I set either ctermfg or ctermbg for the Normal group to
> anything either than NONE, then a mouse selection of any text includes a lot of
> space symbols for the empty space beyond ends of lines.  If I leave the Normal
> group alone, then the selection doesn't include anything beyond line ends.  It
> looks like the "untouched"/empty space in vim is not recognized as such when
> Normal properties are modified.  I didn't have this problem when I used
> TERM=xterm or xterm-color.
>
> I tested the same environment by in xterm with 256 color support and the problem
> was not reproduced there.
>

I haven't actually try to reproduce your problem, but you might be 
interested with reading bug 188528[1] and try konsole 2.8+.

Regards
Jekyll

[1] https://bugs.kde.org/show_bug.cgi?id=188528



More information about the konsole-devel mailing list