From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Paul Tremblay Newsgroups: gmane.emacs.help Subject: Re: vim mode for emacs? Date: Sun, 27 Feb 2005 03:48:18 -0500 Message-ID: <20050227084818.GA1936@localhost.localdomain> References: <1122udahifdp52d@corp.supernews.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1109496165 1805 80.91.229.2 (27 Feb 2005 09:22:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 27 Feb 2005 09:22:45 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 27 10:22:44 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D5KdI-00074B-HC for geh-help-gnu-emacs@m.gmane.org; Sun, 27 Feb 2005 10:22:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D5Kuq-0001vk-Cr for geh-help-gnu-emacs@m.gmane.org; Sun, 27 Feb 2005 04:40:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D5Kdg-0007Qg-Nq for help-gnu-emacs@gnu.org; Sun, 27 Feb 2005 04:23:01 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D5KdU-0007KI-In for help-gnu-emacs@gnu.org; Sun, 27 Feb 2005 04:22:55 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D5KdS-0006Mv-P3 for help-gnu-emacs@gnu.org; Sun, 27 Feb 2005 04:22:47 -0500 Original-Received: from [192.107.41.63] (helo=rdsmtp.iglou.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D5K5S-0003YC-0R for help-gnu-emacs@gnu.org; Sun, 27 Feb 2005 03:47:38 -0500 Original-Received: from [192.107.41.6] (helo=iglou3.iglou.com) by rdsmtp.iglou.com with esmtp (8.12.5/8.12.5) id 1D5K5R-0004Ph-Kx for help-gnu-emacs@gnu.org; Sun, 27 Feb 2005 03:47:37 -0500 Original-Received: from [64.253.97.143] (helo=localhost.localdomain) by iglou3.iglou.com with esmtp (8.12.5/8.12.5) id 1D5K5R-00045v-GM for help-gnu-emacs@gnu.org; Sun, 27 Feb 2005 03:47:37 -0500 Original-Received: by localhost.localdomain (Postfix, from userid 501) id EFB821BBC8; Sun, 27 Feb 2005 03:48:18 -0500 (EST) Original-To: help-gnu-emacs@gnu.org Mail-Followup-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <1122udahifdp52d@corp.supernews.com> User-Agent: Mutt/1.4i 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 X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: main.gmane.org gmane.emacs.help:24399 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:24399 On Sun, Feb 27, 2005 at 02:41:54AM -0500, roodwriter@core.com wrote: > Subject: Re: vim mode for emacs? > > David Kastrup wrote: > > > Paul Tremblay writes: > > > >> I hope this question doesn't sound too funny, but is there a vim > >> mode for emacs? I remember reading on an email list that one could > >> set up emacs so it would operate like vim--that is, you could hit > >> the j key and move up one line, hit the k key and move on one line, > >> and so on. > >> > >> I am coming from the vim world, but I really want to take advantage > >> of emacs XML modes. But I am so used to the vim key bindings, that I > >> was hoping I could adapt them to emacs. > > > > M-x viper-mode RET > > > > My understanding is that viper-mode emulates vi, not vim. > > I thought I should add on to David's reply just in case that that > makes a difference. > > I've never personally tried viper-mode, so I don't know how close it > comes. > I've just tried it for a few minutes, and it seems pretty darn close to vim. I think I can live with some discrepencies; what I would need is just the basics. For years I have been moving my cursor with certain key bindings. I wonder if the viper mode will also work when I have to load in the special XML mode. Thanks Paul -- ************************ *Paul Tremblay * *phthenry@iglou.com * ************************