1834391 Members
2016 Online
110066 Solutions
New Discussion

vi editor

 
Kiat leong Len
Occasional Contributor

vi editor

Hi,

How can i wrap/unwrap the sentences in vi editor?

Thanks.

Len
1 REPLY 1
Paul Bouchie
Occasional Advisor

Re: vi editor

Try setting " wrapmargin " while in vi.

e.g. (ESC)
:set wm=10
The number 10 means the number of spaces from the right side of the screen.

Also use ":set all" to see a list of all vi commands.
42