Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://comet.sai.msu.ru/UNIXhelp/didyou/vi.1.html
Дата изменения: Fri Jan 17 12:43:14 1997 Дата индексирования: Mon Oct 1 22:47:45 2012 Кодировка: Поисковые слова: ngc 891 |
For vi, a line is the string of characters between two <RETURN> characters.
Although vi will automatically wrap the text onto a new line when it reaches the right-hand side of the screen, it does not insert a <RETURN> character. Lines of text as they appear on your screen do not necessarily correspond to how vi understands their structure. This can give you problems when you use vi commands to move around the text as you edit it.
Adding a <RETURN> at the end of every line ensures that the appearance of the text on your screen corresponds to vi's understanding of how text is structured.
Setting the wrapmargin option automatically inserts a <RETURN> character whenever vi wraps text.