Date: Tue, 7 Dec 1999 12:01:53 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Lars Eighner cc: djgpp AT delorie DOT com Subject: Re: vim key commands - not too kool In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, 6 Dec 1999, Lars Eighner wrote: > |> Here's the Emacs sequence that does the same: > |> > |> Ctrl-R (search in reverse) > |> o (search for o) > |> DEL (delete o) > |> i (insert i) > |... and Ctrl-E (to go back to eol) > | > |(That's five key strokes, a savings of an additional 17%) > > I think for the minimum in emacs that meets all the conditions > of the problem, you have to begin by dropping a mark and end > by switching the cursor and the mark. That's not true: starting the search with Ctrl-R automatically puts a mark at the original place. So instead of Ctrl-E, going back to the mark (hold Ctrl and press `x' twice) is all that's needed to return to the original place. > The only keystroke saved is that from not having to terminal > the search string, owing to progressive searching in emacs -- > which tends to make me dizzy without adding any real usefulness > that I can see. It saves a lot of typing, and also lets you search without constantly moving your eyes between the place where you specify the search string and the text you are searching.