FS#50355 - [vim] cannot copy or paste text from X
Attached to Project:
Arch Linux
Opened by Vyacheslav Stetskevych (tskevy) - Thursday, 11 August 2016, 14:56 GMT
Last edited by Anatol Pomozov (anatolik) - Monday, 22 August 2016, 17:03 GMT
Opened by Vyacheslav Stetskevych (tskevy) - Thursday, 11 August 2016, 14:56 GMT
Last edited by Anatol Pomozov (anatolik) - Monday, 22 August 2016, 17:03 GMT
|
Details
Description:
copy or paste using a mouse middle button to/from vim running in KDE's konsole terminal results in text that was previously in the buffer to be inserted. This started on Aug 05 when 7.4.2143 was installed. Additional info: * package version(s) vim-7.4.2143-1 -- broken vim-7.4.1910-1 (and any previous version) -- works This issue hinders my productivity a lot. Thank you. |
This task depends upon
I'm not sure if that's only applicable to the X clipboard or if primary selection as well.
Using gvim is not an option when not having a $DISPLAY.
For simple copy'n'paste just press and hold the shift key...
Not sure whether or not to like this being the default behaviour myself. :-p
" In many terminal emulators the mouse works just fine. By enabling it you
" can position the cursor, Visually select and scroll with the mouse.
if has('mouse')
set mouse=a
endif
As I hate it too, I wanted to disable it for all users in /etc/vimrc. I found that is not possible because the defaults.vim override the setting. Setting "set mouse=" in $HOME/.vimrc works.
I consider that behavior a bug as it is not possible to override default settings using /etc/vimrc.
The new mouse mode is ok for me. Pressing the shift key works.
The one thing I'd love to see is this to be explained in vim package post-install notes (and maybe in the wiki), to remove some confusion from this world :)
As far as I'm concerned, this issue may be closed.
I also suggest to post your questions to vim_dev maillist. The vim devs can provide more context on this behavior change.