From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: rustom Newsgroups: gmane.emacs.help Subject: Re: some vi equivalents please? Date: Sat, 1 Nov 2008 07:52:23 -0700 (PDT) Organization: http://groups.google.com Message-ID: <60ec6a21-2690-4839-9f05-de67ee509633@f37g2000pri.googlegroups.com> References: <987e361b-2efc-421b-8b36-4dcc67f1971e@z6g2000pre.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1225554136 17014 80.91.229.12 (1 Nov 2008 15:42:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Nov 2008 15:42:16 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 01 16:43:17 2008 connect(): Connection refused 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 1KwIdA-0002Bj-J1 for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Nov 2008 16:43:16 +0100 Original-Received: from localhost ([127.0.0.1]:49632 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KwIc3-0002To-Um for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Nov 2008 11:42:08 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!f37g2000pri.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 40 Original-NNTP-Posting-Host: 59.95.11.104 Original-X-Trace: posting.google.com 1225551143 27593 127.0.0.1 (1 Nov 2008 14:52:23 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 1 Nov 2008 14:52:23 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: f37g2000pri.googlegroups.com; posting-host=59.95.11.104; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:163994 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:59336 Archived-At: Well the post here was as messed up as on the emacswiki -- Sorry Shortening the lines and trying again. The following should be pasted into org-mode to read * Vi - Emacs This table does not cover basic commands like character motion | Command | Vi | Emacs | |-------------------------+----------------- +---------------------------| | transpose-char | xp | C- t | | transpose-word | dwwp | M- t | | indent | >> | C-x TAB | | search | /pat | C- s | | substitute | :%s/pat/subs | M-% or M-C- % | | substitute variables | :s/pat/\1 \2 | replace-regexp then \1 \2 | | search word/identifier | / | ?? | | delete lines | :g/pat/d | flush- lines | | set line numbers | :se nu | ?? | | show tabs&newlines | :se list | ?? | | change file formats | :se ff=unix/dos | ?? | | shell cmd | :!cmd | M-! cmd | | matching ({[ | % | M-C-f/b (??) | | filename on bottom line | % | see code below | | sort next n lines | n!!sort | ?? |