From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 03:01:01 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80282106566C for ; Mon, 15 Jun 2009 03:01:01 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-bw0-f228.google.com (mail-bw0-f228.google.com [209.85.218.228]) by mx1.freebsd.org (Postfix) with ESMTP id 0754C8FC19 for ; Mon, 15 Jun 2009 03:01:00 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by bwz28 with SMTP id 28so346676bwz.43 for ; Sun, 14 Jun 2009 20:00:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Fc7Ei3smhjQkLk1oDmli0O8pH1qqRxRlb0QmZzGvr0Y=; b=vhqs9RgYfFdeM3RhQQk/ncxerfaebQO7LUPx44nEM93BVEK99Axrnn99JmZZmDoR4k 7kNACvb4wETjqhOclSbda6m/swVDFlYDqYacZvttS4IfaE8mbROEfvAkugk6K71ndfLb 2hzdBPs05qAsoaky2OKyV59RqOdCUPMzxKSfo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=uyqzgHdapoXTcqNsGR2TyeVU57ICnEAHkdAbEq3HkHDtALKukuVUzEpBr0/iI3KFor zOja6POAlWSJS72ia8/K2jdq+XFUcRp3mgBvYWYiAief7w3y/nzr1iokxtYejD+SHCgi vp1EE66PLk8wP3HOG27WQ2tNA+i/sShvsiX+Q= MIME-Version: 1.0 Received: by 10.204.101.13 with SMTP id a13mr6550042bko.89.1245034859749; Sun, 14 Jun 2009 20:00:59 -0700 (PDT) In-Reply-To: <20090615024643.GA33420@thought.org> References: <20090615024643.GA33420@thought.org> Date: Sun, 14 Jun 2009 23:00:59 -0400 Message-ID: <4ad871310906142000x6515bdau8020dafce579745e@mail.gmail.com> From: Glen Barber To: Gary Kline Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Mailing List Subject: Re: vim question... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jun 2009 03:01:01 -0000 Hi, Gary On Sun, Jun 14, 2009 at 10:46 PM, Gary Kline wrote: > > > =A0 =A0 =A0 =A0the main reason i don't use vim is because of its [u]ndo > =A0 =A0 =A0 =A0command. =A0as most of you can understand, there are a who= le slew > =A0 =A0 =A0 =A0of times when i need to undo something. =A0too often in vi= m, > =A0 =A0 =A0 =A0hitting 'u' --- sometimes > once accidentally --- has resu= lted in > =A0 =A0 =A0 =A0a small disaster. =A0[[i have too many current/recent copi= es of > =A0 =A0 =A0 =A0my working files to do TOO much damage!]] =A0Anyway, is th= ere a > =A0 =A0 =A0 =A0means of setting the undo key to mimic vi/nvi? > > =A0 =A0 =A0 =A0thanks, > > =A0 =A0 =A0 =A0gary > > > I don't know what the keybindings for [u]ndo in Vim versus Vi/Nvi are, but there was a recent thread about Vi keybindings for .vimrc. Perhaps that'll provide some insight. Cheers. --=20 Glen Barber