From owner-freebsd-questions@FreeBSD.ORG Thu Dec 23 16:26:43 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8603116A4CE for ; Thu, 23 Dec 2004 16:26:43 +0000 (GMT) Received: from palrel10.hp.com (palrel10.hp.com [156.153.255.245]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3658943D39 for ; Thu, 23 Dec 2004 16:26:43 +0000 (GMT) (envelope-from thad.butterworth@hp.com) Received: from cacexg12.americas.cpqcorp.net (cacexg12.americas.cpqcorp.net [16.92.1.72]) by palrel10.hp.com (Postfix) with ESMTP id D9D788C773; Thu, 23 Dec 2004 08:26:42 -0800 (PST) Received: from idbexc01.americas.cpqcorp.net ([16.88.97.3]) by cacexg12.americas.cpqcorp.net with Microsoft SMTPSVC(6.0.3790.211); Thu, 23 Dec 2004 08:26:41 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Thu, 23 Dec 2004 09:26:46 -0700 Message-ID: <2D8BB15C7B5C214F81C32D3A83B3273601D87C1E@idbexc01.americas.cpqcorp.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: VIM Thread-Index: AcTokhb7gJjbs41YQmyPfk5WVPs1xQAeDmIg From: "Butterworth, Thaddaeus (Manpower Contract)" To: "unixadmin99" , X-OriginalArrivalTime: 23 Dec 2004 16:26:41.0688 (UTC) FILETIME=[2F5F7180:01C4E90C] Subject: RE: VIM X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Dec 2004 16:26:43 -0000 >-----Original Message----- >From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd->questions@freebsd.org] On Behalf Of unixadmin99 >Sent: Wednesday, December 22, 2004 6:38 PM >To: freebsd-questions@freebsd.org >Cc: Leon >Subject: Re: VIM > >On Wed, 22 Dec 2004 19:35:58 -0500 (EST), Jerry McAllister > wrote: >> > >> > Hi, >> > >> > I have installed a VIM editor. >> > When I create a new file with this editor, I can't type anything. >> > What is wrong. >/usr/ports/editors/vilearn is what you need. >"Vilearn is an interactive vi tutorial. There are five short >tutorials, each a text file intended to be edited with vi". > >--=20 >~michael >_______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Hi Jerry, VIM uses the pretty much the same commands as VI. To be able to type anything in you are going to need to type i (as in insert). Use the escape key to exit the insert mode which you will need to do if you are going to use any of the following commands; dd to delete lines, x to delete a single character, w to write the file, and q to quit (if you want to quit without saving changes you will need to type ! after the q command). Those are the most common commands that I use, but there are much more. The tutorial Michael mentioned will teach you everything else you need to know. Another nice package to use if you want all the advantages of VIM in a graphical interface is GVIM. This site (http://supportweb.cs.bham.ac.uk/documentation/tutorials/docsystem/build /tutorials/gvim/gvim.html) will give you a good introduction to the gvim editor. Hope that helps. Thad