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:45:42 -0700 (PDT) Organization: http://groups.google.com Message-ID: <987e361b-2efc-421b-8b36-4dcc67f1971e@z6g2000pre.googlegroups.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1225554094 16890 80.91.229.12 (1 Nov 2008 15:41:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Nov 2008 15:41:34 +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:42:35 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 1KwIcT-0001t3-WE for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Nov 2008 16:42:34 +0100 Original-Received: from localhost ([127.0.0.1]:49209 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KwIbN-00025W-MT for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Nov 2008 11:41:25 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!z6g2000pre.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 64 Original-NNTP-Posting-Host: 59.95.11.104 Original-X-Trace: posting.google.com 1225550743 26463 127.0.0.1 (1 Nov 2008 14:45:43 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 1 Nov 2008 14:45:43 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: z6g2000pre.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:163993 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:59335 Archived-At: On Oct 31, 8:59=A0pm, "Drew Adams" wrote: > > some vi equivalents please? > > After you obtain the info you need, consider sharing it by posting it to = Emacs > Wiki:http://www.emacswiki.org/emacs/SiteMap. > > That might help other vi users who try Emacs. Type `vi' into the wiki sea= rch > field to find an appropriate page to edit, or start a new page if none is > appropriate (and link appropriate existing pages to it). It's very easy t= o edit > the wiki. > > See also the Emacs manual (`C-h r'), node Emulation (`g Emulation'). My > impression is that many former `vi' users of Emacs use Viper - see the Vi= per > manual (`C-h i', then choose VIPER). Well I tried putting up a table on emacswiki... The link I made is http://www.emacswiki.org/emacs/ViEmacsTable What I pasted is my org mode file But I cant figure out how to put a table into emacswiki. So its messed up. Heres the table (in org-mode) anyway * 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=3Dunix/dos | ?? | | shell cmd | :!cmd | M-! cmd | | matching ({[ | % | M-C-f/b (??) | | filename on bottom line | % | see code below | | sort next n lines | n!!sort | ?? |