[Konsole-devel] [Bug 266247] New: Selecting text in vim using the desert256 colorscheme adds trailing whitespace to the clipboard

Daniel Hahler kde-bugzilla at thequod.de
Sun Feb 13 23:39:59 UTC 2011


https://bugs.kde.org/show_bug.cgi?id=266247

           Summary: Selecting text in vim using the desert256 colorscheme
                    adds trailing whitespace to the clipboard
           Product: konsole
           Version: unspecified
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: konsole-devel at kde.org
        ReportedBy: kde-bugzilla at thequod.de


Version:           unspecified (using KDE 4.6.0) 
OS:                Linux

I am using the desert256 color scheme [1] in Vim, and when I select multiple
lines in a Konsole window running Vim, all the whitespace up to the right
terminal border get selected, too.

This makes it quite annoying to paste somewhere else.

This does not happen when using gnome-terminal, or another color scheme (e.g.
"desert" for Vim), so it is likely related to how Konsole detects end-of-lines.

I've noticed something similar before: when using screen and vim remotely, this
happened for the current line before, i.e. when marking/copying lines around
the currently selected line in Vim, only the whitespace at the end of the
current line was added. This feels quite related, but I had not tracked this
down further.

[1]: http://vimcolorschemetest.googlecode.com/svn/colors/desert256.vim

Reproducible: Always

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the konsole-devel mailing list