home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.editors
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!daffy!uwvax!wolf.cs.wisc.edu!cheevers
- From: cheevers@wolf.cs.wisc.edu (John Cheevers)
- Subject: Re: VI - finding lines longer than 80 characters
- Message-ID: <1992Nov20.212000.14999@cs.wisc.edu>
- Sender: news@cs.wisc.edu (The News)
- Organization: University of Wisconsin, Madison -- Computer Sciences Dept.
- References: <1992Nov20.005343.807@pasteur.Berkeley.EDU> <#nz10s#@rpi.edu>
- Distribution: na
- Date: Fri, 20 Nov 1992 21:20:00 GMT
- Lines: 18
-
- In article <#nz10s#@rpi.edu> night@acm.rpi.edu writes:
- >
- >BTW, is there a way to easily re-execute the last ex command in vi?
- >--
- >Trip Martin
- >night@acm.rpi.edu
-
- The "&" key will execute the last substitute command. Strangely, it only
- does it once - If your last command was
-
- :s/recieve/receive/g
-
- Then hitting "&" executes
-
- :s/recieve/receive (without the "g")
-
- John Cheevers
- cheevers@cs.wisc.edu
-