From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 21:14:47 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 8FBFA106570F for ; Mon, 15 Jun 2009 21:14:47 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 3B6FC8FC1A for ; Mon, 15 Jun 2009 21:14:46 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from smoochies.rachie.is-a-geek.net (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 199127E837; Mon, 15 Jun 2009 13:14:46 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Mon, 15 Jun 2009 13:14:44 -0800 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) References: <20090615024643.GA33420@thought.org> <87fxe179ym.fsf@kobe.laptop> <20090615204554.GC37102@thought.org> In-Reply-To: <20090615204554.GC37102@thought.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906151314.45257.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Giorgos Keramidas , Gary Kline 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 21:14:50 -0000 On Monday 15 June 2009 12:45:54 Gary Kline wrote: > On Mon, Jun 15, 2009 at 07:12:01PM +0300, Giorgos Keramidas wrote: > > In vim, with "set compatible" enabled", typing 'u' repeatedly toggles > > between the last two states of the buffer. In "compatible" mode I am > > not sure of how to undo multiple changes. In "set nocompatible" mode, > > typing 'u' repeatedly undoes multiple changes, and typing '^R' multiple > > times redoes them. > > I've saved this to my vimHelp file. Really, when using new software it's not a bad thing to get familiar with it. This is covered in lesson 2.7 from the vim tutorial, accessible by typing vimtutor in a terminal near you. Running vim in compatible mode, you might as well run vi as it has roughly the same quirks. You won't get the "Improved" part, when you don't investigate what the software is capable of. The vimtutor is excellent for this and you may still decide that your fingers are too old to get used to the improved stuff, like I'm incapable of learning emacs. -- Mel