From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giorgos Keramidas Newsgroups: gmane.emacs.help Subject: Re: Hard to switch from vi Date: Tue, 10 Oct 2006 10:18:11 +0300 Organization: SunSITE.dk - Supporting Open source Message-ID: <86ejtgiqq4.fsf@gothmog.pc> References: <452b9f36$1@news.greennet.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1160466074 5064 80.91.229.2 (10 Oct 2006 07:41:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 10 Oct 2006 07:41:14 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 10 09:41:10 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GXCEX-0002CW-D0 for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Oct 2006 09:41:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GXCEW-0000cd-Rn for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Oct 2006 03:41:00 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!uninett.no!news.net.uni-c.dk!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) Cancel-Lock: sha1:f8j+jtbQrb1M/0mTtniMtlCdh3c= Original-Lines: 22 Original-NNTP-Posting-Host: 62.103.39.229 Original-X-Trace: news.sunsite.dk DXC=7Z66n>5Heo1kVm3Q1RnDK5YSB=nbEKnk; 1WjmI_TC7b2L^Mj72:ak; I7eU]7Gb30c[>DY7; I]3kldSLO24 Original-X-Complaints-To: staff@sunsite.dk Original-Xref: shelby.stanford.edu gnu.emacs.help:142336 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:37955 Archived-At: On Mon, 09 Oct 2006 09:28:29 -0400, Ken Goldman wrote: > Wen Weng wrote: >> 2. Is there a repeat last command command like the dot command in vi? > > You want to read about keyboard macros. IMHO, this single feature > distinguishes emacs from any other editor. > > With keyboard macros, you save and then replay any key sequence, which > can include insert and delete, but also search, edit and save, > stepping through errors, cut and paste, etc. It's far more powerful > than the vi dot. Exactly :) Keyboard macros are truly amazing. They are always the first feature of Emacs that I demonstrate to people who have completed the basic keyboard stuff of the tutorial. Everyone who sees keyboard macros `in action' instantly loves them! (This is probably why VIM and other modern vi(1) implementations have keyboard macro features too, but I am not 100% sure.)