Dave Sherohman wrote: > On Sat, Dec 23, 2000 at 04:35:03AM +0000, q wrote: > > (my apologies...it's on my list of projects. i use vi. the posts i > > see for this issue seem to be for vim. (anyone know how to line wrap > > in _vi_?)) > > Don't know if this is the answer you keep getting, but, in elvis, ":set > textwidth=NN" causes it to wrap at NN columns.
If it's nvi (the default vi on Debian), you want "set wraplen=NN" in your $HOME/.exrc. But nvi is pretty slim on features-- it doesn't even have multi-level undo. Better to just install vim & vim-rt and put "set textwidth=NN" in your $HOME/.vimrc. brian