[SGVLUG] vim paste

nopbin at gmail.com nopbin at gmail.com
Mon Jan 14 09:51:05 PST 2013


On Mon, Jan 14, 2013 at 9:25 AM, Braddock Gaskill <braddock at braddock.com> wrote:
> On Mon, 14 Jan 2013 09:18:04 -0800, "nopbin at gmail.com" <nopbin at gmail.com>
> wrote:
>>> How do I cut from the vim terminal when running over ssh?
>>
>> The way I've being doing it is select the text with the mouse and
>> ctrl-shift-c.  The text is then in the local gnome paste buffer.
>
> This never works for me under gnome-terminal over ssh.  When within vim,
> vim seems to be handling the visual mode highlighting and gnome-terminal's
> ctrl-shift-c cut does not work.  I'm on Ubuntu 12.04., vim 7.3,
> gnome-terminal 3.4.1.1.
>
> If it works for you, please let me know what your setup is.  This is a
> daily source of pain for me.

I have used this under the same configuration with the exception that
I ssh'ed from Ubuntu Desktop to Ubuntu Server rather than localhost to
confirm it.  I see a distinction between visual highlighting with vim
(v + cursor movement) and terminal highlighting (for lack of a better
description) with the mouse.  I can seemingly have the both
independently active.

I think the configuration is pretty stock -- nothing that affects
selection at least.



More information about the SGVLUG mailing list