Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Dec 2004 09:26:46 -0700
From:      "Butterworth, Thaddaeus (Manpower Contract)" <thad.butterworth@hp.com>
To:        "unixadmin99" <unixadmin99@gmail.com>, <freebsd-questions@freebsd.org>
Subject:   RE: VIM
Message-ID:  <2D8BB15C7B5C214F81C32D3A83B3273601D87C1E@idbexc01.americas.cpqcorp.net>

next in thread | raw e-mail | index | archive | help

>-----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
><jerrymc@clunix.cl.msu.edu> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2D8BB15C7B5C214F81C32D3A83B3273601D87C1E>