Re: vi as a text editor
On Sat, Nov 16, 2002 at 01:30:09PM +0530, Sandip P Deshmukh wrote:
> On Sat, Nov 16, 2002 at 01:24:27AM -0600, Rob VanFleet wrote:
> > On Sat, Nov 16, 2002 at 12:18:11PM +0530, Sandip P Deshmukh wrote:
> > > hello all
> > >
> > > one is managing words towards end of line. as i type, towards the end
> > > of the line, it juts cuts the word. it neither hyphanates nor pushes
> > > it to the next line. is there way i could make vi do this?
> >
> > I believe this one's already been answered.
>
> no. someone asked me to use vim instead. i think that is what i am using
> right now! you know, it takes up 12mb space. i would love to eliminate
> it at the earliest! so tell me please. a few keystrokes and 12mb space!!
> ;)
Ah, sorry - I use vim quite a bit and fooled myself into thinking tw was
a standard vi setting. Actually, standard vi word wrap is the reverse.
Instead of textwidth, it's wrapmargin:
:set wm=8 is equivalent to :set tw=72 in vim.
vim is a little over-featured, but some of those features are very nice.
:) The syntax highlighting (in mail as well as code) is something I'm
loath to do without.
As an aside, I primarily use standard vi on Solaris, since Solaris never
seems to understand my remote terminal well enough to allow syntax
highlighting. Does anyone know how to fix that? :)
Rob
Reply to: