Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!apple!rutgers!uwvax!dave@cs.wisc.edu From: dave@cs.wisc.edu (Dave Cohrs) Newsgroups: comp.emacs Subject: Re: vi feature I miss Message-ID: <7295@spool.cs.wisc.edu> Date: 10 Mar 89 00:05:55 GMT References: <600@usl> Sender: news@spool.cs.wisc.edu Reply-To: dave@cs.wisc.edu (Dave Cohrs) Organization: U of Wisconsin CS Dept Lines: 23 In artivle derrell@retix.retix.retix.com (Derrell Lipman) writes: > In article <600@usl> pml@usl (Patrick Landry) writes: > >> There is one >> feature of vi I miss; the period key. This feature >> repeats the last 'editing' command issued. > >i have often thought about implementing this feature, but i have not >determined who to ascertain the "beginning" and "end" of a command. I would want the unit of "command" to be the same as that of undo. I haven't looked at the undo code, but I don't think it remembers the commands that caused the changes, just the changes that took place. perhaps something that looked at "lossage" would be able to do the trick. dave cohrs -- Dave Cohrs +1 608 262-6617 UW-Madison Computer Sciences Department dave@cs.wisc.edu ...!{harvard,rutgers,ucbvax}!uwvax!dave