由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - how to copy/paste texts between 2 files in vi?
相关主题
请教如何在两个打开VIM的SSH窗口之间拷贝文本。Re: exceed&windows: copy& paste
[转载] Hidden character in a fileregular expression question
vi tutorial 2请问在unix下copy/paste如何用键盘操作?
vi tutorial 3HP laserjet 5M 打印机不能打印ps/pdf文件,怎么办呀?
can't copy&paste chinese into netscapehow to print the first paragraph of a text file?
paste command 里面的 -how to get part of a big text file?
Any email client to use under cxterm?A question for highhands..
exceed&windows: copy& pastehow to print the last 2 columns of a text file?
相关话题的讨论汇总
话题: vi话题: texts话题: paste话题: copy话题: files
进入Unix版参与讨论
1 (共1页)
j***y
发帖数: 2074
1
i searched in reference, but couldn't find the correct
method.
thanks,
w*****n
发帖数: 94
2
y command to yank(copy), as yw yy 10yy
p/P to paste
q***e
发帖数: 90
3
Some versions of vi do not keep un-named
buffer when you start editing a new file. Better
use named buffer(it is always kept during one sessoin).
so a safe way is:
:"a y
:"a p
where y is a valid yank command.

【在 w*****n 的大作中提到】
: y command to yank(copy), as yw yy 10yy
: p/P to paste

1 (共1页)
进入Unix版参与讨论
相关主题
how to print the last 2 columns of a text file?can't copy&paste chinese into netscape
[转载] perl: regexpaste command 里面的 -
[转载] Redhat9.0怎么启动不进入graphicsAny email client to use under cxterm?
bash script question: read in textexceed&windows: copy& paste
请教如何在两个打开VIM的SSH窗口之间拷贝文本。Re: exceed&windows: copy& paste
[转载] Hidden character in a fileregular expression question
vi tutorial 2请问在unix下copy/paste如何用键盘操作?
vi tutorial 3HP laserjet 5M 打印机不能打印ps/pdf文件,怎么办呀?
相关话题的讨论汇总
话题: vi话题: texts话题: paste话题: copy话题: files