[SGVLUG] vim paste
nopbin at gmail.com
nopbin at gmail.com
Mon Jan 14 09:18:04 PST 2013
> 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.
Likewise, paste is ctrl-shift-v when in input mode. Not sure it is
the best way, but I've been doing it this way for a long time.
On Mon, Jan 14, 2013 at 9:08 AM, Braddock Gaskill <braddock at braddock.com> wrote:
>
> Okay, if someone can answer this one they'd be doing me a huge favor.
>
>
>
> gnome-terminal
>
> ssh localhost
>
> vim
>
>
>
> How do I cut from the vim terminal when running over ssh?
>
>
>
> The normal trick is "+yy or "*yy using the special + or * clipboard, but
>
> this doesn't work over ssh because the vim instance doesn't have access to
>
> X.
>
>
>
> If I try to highlight in the vim window it just goes into visual mode and
>
> gnome-terminal doesn't copy anything to the clipboard.
>
>
>
> -braddock
>
>
>
>
>
More information about the SGVLUG
mailing list