Документ взят из кэша поисковой машины. Адрес оригинального документа : http://comet.sai.msu.ru/UNIXhelp/examples/vi5.html
Дата изменения: Fri Jan 17 12:43:16 1997
Дата индексирования: Mon Oct 1 23:13:41 2012
Кодировка:

Поисковые слова: arp 220
Examples of setting vi options temporarily

Examples of setting vi options temporarily

To set the wrapmargin:

   :set wm=5

This sets the wrapmargin to five characters. In insert mode, text will automatically wrap to a new line when the cursor is five characters from the right edge of the screen.


To display line numbers:

   :set number

This causes vi to display a line number (starting at 1) at the start of every line of text.


[Home] [Search] [Index]