Текст копии от Vim 7.2, работающего в xterm к буферу обмена окон

Если Вы действительно хотите, чтобы мы только продолжили, где Вы кончили, Вы могли сделать:

if (fieldNameElement)
    fieldNameElement.innerHTML = 'some HTML';
5
задан TCSGrad 9 December 2009 в 09:31
поделиться

2 ответа

Попробуйте

"+3yy
"*3yy

"+p
"*p
2
ответ дан 15 December 2019 в 06:28
поделиться

If you were running vim locally, then either

"+p
"*p

would work, as mentioned by hacker. Since you're sshed into another box, these will just copy text to the clipboard of the box you're sshed into.

What you need is the putty method of copying text, which is just highlighting the text you want to copy with the mouse.

While sshed into vim though, I usually use ALT + highlight with the mouse (for block selection), as I usually have line numbers on.

Hope this helps!

1
ответ дан 15 December 2019 в 06:28
поделиться
Другие вопросы по тегам:

Похожие вопросы: