From owner-freebsd-questions@FreeBSD.ORG Fri Sep 28 14:42:54 2007 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 4420E16A46B for ; Fri, 28 Sep 2007 14:42:54 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-08.bluehost.com (outbound-mail-08.bluehost.com [69.89.17.208]) by mx1.freebsd.org (Postfix) with SMTP id 0B36513C4AC for ; Fri, 28 Sep 2007 14:42:53 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: (qmail 32227 invoked by uid 0); 28 Sep 2007 14:42:53 -0000 Received: from unknown (HELO box183.bluehost.com) (69.89.25.183) by mailproxy1.bluehost.com with SMTP; 28 Sep 2007 14:42:53 -0000 Received: from c-24-9-123-251.hsd1.co.comcast.net ([24.9.123.251] helo=demeter.hydra) by box183.bluehost.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1IbH3M-0004Zu-TD for freebsd-questions@freebsd.org; Fri, 28 Sep 2007 08:42:53 -0600 Received: from demeter.hydra (localhost [127.0.0.1]) by demeter.hydra (8.13.6/8.13.6) with ESMTP id l8RH2USF066863 for ; Thu, 27 Sep 2007 11:02:30 -0600 (MDT) (envelope-from perrin@apotheon.com) Received: (from ren@localhost) by demeter.hydra (8.13.6/8.13.6/Submit) id l8RH2TOM066862 for freebsd-questions@freebsd.org; Thu, 27 Sep 2007 11:02:29 -0600 (MDT) (envelope-from perrin@apotheon.com) X-Authentication-Warning: demeter.hydra: ren set sender to perrin@apotheon.com using -f Date: Thu, 27 Sep 2007 11:02:29 -0600 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20070927170229.GE66573@demeter.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <46FC605F.3000006@sequestered.net> <46FC99BD.4050102@sequestered.net> <20070928085631.GA3049@kobe.laptop> <200709281345.14680.nvass@teledomenet.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200709281345.14680.nvass@teledomenet.gr> User-Agent: Mutt/1.4.2.3i X-Identified-User: {737:box183.bluehost.com:apotheon:apotheon.net} {sentby:bopbeforesmtp 24.9.123.251 authed with apotheon.com} X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box183.bluehost.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [737 12] / [47 12] X-AntiAbuse: Sender Address Domain - apotheon.com Subject: Re: Getting vim to work correctly. 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: Fri, 28 Sep 2007 14:42:54 -0000 On Fri, Sep 28, 2007 at 01:45:13PM +0300, Nikos Vassiliadis wrote: > > Keep in mind that nvi is a different program. Why don't you > install Vim? That's my immediate recommendation, too. Another recommendation I might make is to use vi the way it was intended: keep your fingers on home row, and when you want to do something like page up or page down, use the command mode keys that correspond with the desired action. For instance, ^B will page up, and typing a number first will cause it to page up that many times. ^F does the same thing, but pages down instead. ^U and ^D move up and down, respectively, a number of lines determined by the editor's "scroll" option (usually half a visible page in Vim, measured in screen lines rather than file lines as it would be measured in vi). I, personally, like Vim. It's what I use. I also try to use it the way vi is best used, because the benefits apply just as much to Vim. Specifically, except when actually entering entirely new text, I stay in command mode. Editing and moving around in a document is much, much faster for me when I can do it all from the home row of the keyboard. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] McCloctnick the Lucid: "The first rule of magic is simple. Don't waste your time waving your hands and hopping when a rock or a club will do."