From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.help Subject: Re: Emacs and vim analogs Date: Thu, 01 Mar 2007 16:44:57 +0100 Message-ID: <45E6F4F9.8050104@gmail.com> References: <854ppji8yx.fsf@lola.goethe.zz> <45e836f2$1@news.greennet.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1172763948 26329 80.91.229.12 (1 Mar 2007 15:45:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 1 Mar 2007 15:45:48 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Ken Goldman Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 01 16:45:37 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HMnTA-0000Az-Bz for geh-help-gnu-emacs@m.gmane.org; Thu, 01 Mar 2007 16:45:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HMnTC-0005jp-4x for geh-help-gnu-emacs@m.gmane.org; Thu, 01 Mar 2007 10:45:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HMnSu-0005ga-Cc for help-gnu-emacs@gnu.org; Thu, 01 Mar 2007 10:45:08 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HMnSp-0005cb-J4 for help-gnu-emacs@gnu.org; Thu, 01 Mar 2007 10:45:07 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HMnSp-0005cQ-EY for help-gnu-emacs@gnu.org; Thu, 01 Mar 2007 10:45:03 -0500 Original-Received: from ch-smtp02.sth.basefarm.net ([80.76.149.213]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HMnSo-0000qY-S9 for help-gnu-emacs@gnu.org; Thu, 01 Mar 2007 10:45:03 -0500 Original-Received: from c83-254-145-24.bredband.comhem.se ([83.254.145.24]:63833 helo=[127.0.0.1]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.63) (envelope-from ) id 1HMnSm-00087O-9Y; Thu, 01 Mar 2007 16:45:01 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.9) Gecko/20061207 Thunderbird/1.5.0.9 Mnenhy/0.7.4.666 In-Reply-To: <45e836f2$1@news.greennet.net> X-Antivirus: avast! (VPS 000719-0, 2007-02-28), Outbound message X-Antivirus-Status: Clean X-Scan-Result: No virus found in message 1HMnSm-00087O-9Y. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1HMnSm-00087O-9Y 837decbbf82b98adae9490c611f10e33 X-detected-kernel: Linux 2.6? (barebone, rare!) 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:41562 Archived-At: Ken Goldman wrote: > M G Berberich wrote: >> emacs. But both are not doing what '.' does in vim. With vims . you >> can repeate commands like “replace next three word with …”, “indent 5 >> lines”, “append … to line” or “replace rest of line with …” (where … >> stands for some text). This is not possible with emacs >> because there is no implicit grouping of inserted characters, so C-x z >> repeats the last character typed, which is completely useless. > > The statement "This is not possible with emacs" is typically false. > > Complex commands such as you describe are easily done with keyboard > macros. There are so useful that I have the start, end, and execute > functions assigned to function keys. Or you can use Viper mode in Emacs. At least in Emacs 22 (pretest) it is very good.