>I've a little problem, I do remote box A with console A using putty
>(under MS) then using vim open file A, I do copy a line with yy in
>file A, so I do remote to box B with console B using putty (under MS),
>then open file B, the question how to do paste to file B in console B
>without mouse (I do usually using mouse to block line then copy to
>another file)

If you want to do what I think you want to do, you can copy to/from the
"system clipboard" or whatever it's called.  I do that to reply normally
from the braindead top-posting crap that's enforced on LookOut (as co.
policy; can be selected via menu options) to toss into 'vim', add
leading '>'s, then 'gqap' to reflow/reformat the text, then move it back
to the reply window.  Worx like a charm..

Anyhoo, if ^c/^x/^v (copy/cut/paste, respectively) don't float yer boat
(and ^v will crash into a literal-character escape in 'vi' variants,
incl 'vim'), then ^ins will be the equivalent of copy, ^del the
equivalent of cut, and sh-ins the equivalent of paste.

Sooo, you can highlight your line visually with 'v' and then arrow
around to select however much of it you want, hit ^ins to copy it, then
on the remote machine, sh-ins it to put it into the file.

Reply via email to