Документ взят из кэша поисковой машины. Адрес оригинального документа : http://comet.sai.msu.ru/UNIXhelp/vi/six.1.html
Дата изменения: Fri Jan 17 12:43:27 1997
Дата индексирования: Mon Oct 1 21:37:29 2012
Кодировка:
Repeat parts of the text

Repeat parts of the text

You can re-use a piece of text in another part of the file by yanking it into a temporary buffer and then putting the contents of this buffer back into the file.

The command y yanks the text into the temporary buffer.

Combined with other commands that are used to move around text objects, the yank command can be used to pull any part of a file into the buffer.

The command p pastes the contents of the temporary buffer back into the file immediately after the cursor.


[Home] [Search] [Index]