public inbox for blinux-list@redhat.com
 help / color / mirror / Atom feed
* info about vi on the net
@  Scott B. Berry
   ` Henry Yen
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Scott B. Berry @  UTC (permalink / raw)
  To: blinux-newbie; +Cc: blinux-list

Are there any goo d sites where I can get more info about vi on the net.  I
did try vitutor vi-tutor vilearn vi-learn with no success.
Scott Berry
Msn: electronicman1960@hotmail.com
Yahoo Messenger: electronicman1960
If you are interested in scanning and you are blind please come join our
police scanner list.  To subscribe send a message to:
mailto:blindscanner-subscribe@yahoogroups.com




^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: info about vi on the net
   info about vi on the net Scott B. Berry
@  ` Henry Yen
   ` Jude DaShiell
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 12+ messages in thread
From: Henry Yen @  UTC (permalink / raw)
  To: blinux-list, blinux-newbie

Well, first I recommend 'vim' over 'vi' -- many, many useful improvements.
In that vein, http://www.vim.org is a good place to start.

On Wed, Sep 18, 2002 at 10:10:42AM -0600, Scott B. Berry wrote:
> Are there any goo d sites where I can get more info about vi on the net.  I
> did try vitutor vi-tutor vilearn vi-learn with no success.
> Scott Berry




^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: info about vi on the net
   info about vi on the net Scott B. Berry
   ` Henry Yen
@  ` Jude DaShiell
     ` Scott B. Berry
   ` Jude DaShiell
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 12+ messages in thread
From: Jude DaShiell @  UTC (permalink / raw)
  To: blinux-newbie; +Cc: blinux-list

Okay, those programs aren't on the distro.  Try typing elvis <cr> you'll
probably get an improved version of vi to come up if it was installed.
That has help available, in fact it's got many web pages of info.

x





^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: info about vi on the net
   info about vi on the net Scott B. Berry
   ` Henry Yen
   ` Jude DaShiell
@  ` Jude DaShiell
     ` John
   ` Gil Andre
   ` Hans Zoebelein
  4 siblings, 1 reply; 12+ messages in thread
From: Jude DaShiell @  UTC (permalink / raw)
  To: blinux-list; +Cc: blinux-newbie

vi is such a popular editor I found over a million pages on it on google.
Search using vi home page and the first page you find will be on topic.

x

On Wed, 18 Sep 2002, Scott B. Berry wrote:

> Are there any goo d sites where I can get more info about vi on the net.  I
> did try vitutor vi-tutor vilearn vi-learn with no success.
> Scott Berry
> Msn: electronicman1960@hotmail.com
> Yahoo Messenger: electronicman1960
> If you are interested in scanning and you are blind please come join our
> police scanner list.  To subscribe send a message to:
> mailto:blindscanner-subscribe@yahoogroups.com
>
>
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/blinux-list
>




^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: info about vi on the net
   ` Jude DaShiell
@    ` Scott B. Berry
       ` Jude DaShiell
  0 siblings, 1 reply; 12+ messages in thread
From: Scott B. Berry @  UTC (permalink / raw)
  To: blinux-list

Nope no go on this either.

Scott Berry
Msn: electronicman1960@hotmail.com
Yahoo Messenger: electronicman1960
If you are interested in scanning and you are blind please come join our
police scanner list.  To subscribe send a message to:
mailto:blindscanner-subscribe@yahoogroups.com
----- Original Message -----
From: "Jude DaShiell" <jdashiel@shellworld.net>
To: <blinux-newbie@braille.uwo.ca>
Cc: <blinux-list@redhat.com>
Sent: Wednesday, September 18, 2002 6:25 PM
Subject: Re: info about vi on the net


> Okay, those programs aren't on the distro.  Try typing elvis <cr> you'll
> probably get an improved version of vi to come up if it was installed.
> That has help available, in fact it's got many web pages of info.
>
> x
>
>
>
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/blinux-list
>




^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: info about vi on the net
   ` Jude DaShiell
@    ` John
  0 siblings, 0 replies; 12+ messages in thread
From: John @  UTC (permalink / raw)
  To: blinux-list

Probably some of these were about Vivian;-)


On Thursday 19 September 2002 08:34, Jude DaShiell wrote:
> vi is such a popular editor I found over a million pages on it on google.
> 




-- 


Cheers
John.

Please, no off-list mail. You will fall foul of my spam treatment.
Join the "Linux Support by Small Businesses" list at 
http://mail.computerdatasafe.com.au/mailman/listinfo/lssb





^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: info about vi on the net
   info about vi on the net Scott B. Berry
                   ` (2 preceding siblings ...)
   ` Jude DaShiell
@  ` Gil Andre
     ` Scott B. Berry
   ` Hans Zoebelein
  4 siblings, 1 reply; 12+ messages in thread
From: Gil Andre @  UTC (permalink / raw)
  To: blinux-list

Scott,

I think you need to include more information about what you
are trying to do or to learn.

For instance : which distribution of Linux are you using?

Most distributions of Linux (Red Hat, Mandrake) do not use
"vi", but supply the more advanced "vim" and make a symlink
from "vi" to "vim".

If you are using Slackware, though, "vi" is linked to "elvis",
which is a little bit less advanced than "vim" (but still 
better than plain old "vi").

Etc... etc... you get my drift.

Try entering the following command:
which vi

And do an "ls" on the directory it returns to have more info
on the vi you are using on your system.

Second:

What would you like to know? With a lot of UNIX programs, the
best way is to start by entering the following command:
apropos vi

or, to filter the results:
apropos vi | less
apropos vi | grep editor
apropos vi | grep tutor

This will give you less information, but also information that's
more relevant. Simply enter the name of the program you'd like
more information on, as such:
man <name-of-program>

For instance, here are all the interesting man pages I could find
on my Slackware 8.1 machine:

bash-2.05a$ apropos vi | grep edit  
elvis                (1)  - a clone of the ex/vi text editor
evim                 (1)  - easy Vim, edit a file with Vim and setup
for modeless editing
vim                  (1)  - Vi IMproved, a programmers text editor
vimdiff              (1)  - edit two or three versions of a file with
Vim and show differences
vimtutor             (1)  - the Vim tutor

Finally, I can send you a PS file that was created as a very, very
short documentation for vi -- this is almost the only documentation
that I use for vim, as it contains all the really helpful commands.

Also, try entering the command "vimtutor", as it will launch a very
helpful tutorial on vim.

On Wed, 18 Sep 2002 10:10:42 -0600, Scott wrote:
> Are there any goo d sites where I can get more info about vi on the net.  I
> did try vitutor vi-tutor vilearn vi-learn with no success.

I hope this helps!

-- 

Gil Andre ___ Technical writer ___ Arkeia Corporation
email: gandre@arkeia.com | web: http://www.arkeia.com




^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: info about vi on the net
   ` Gil Andre
@    ` Scott B. Berry
       ` Gil Andre
  0 siblings, 1 reply; 12+ messages in thread
From: Scott B. Berry @  UTC (permalink / raw)
  To: blinux-list

Okay here is the deal.  I am using Debian 2.25r2 and I am actually trying to
set up a win modem.  I did find a quick reference guide for this for right
now.  I don't really like the editor because it doesn't have commands at the
botom to get me out of trouble if some thing were to happen on accident say
I hit escape one too many times and I get thrown in the command mode instead
of the insert mode.  However I have learned a few things and this quick
reference is what I need for the time being as I just trying to configure
the system.


Scott Berry
Msn: electronicman1960@hotmail.com
Yahoo Messenger: electronicman1960
If you are interested in scanning and you are blind please come join our
police scanner list.  To subscribe send a message to:
mailto:blindscanner-subscribe@yahoogroups.com
----- Original Message -----
From: "Gil Andre" <gandre@arkeia.com>
To: <blinux-list@redhat.com>
Sent: Thursday, September 19, 2002 3:28 AM
Subject: Re: info about vi on the net


>
> Scott,
>
> I think you need to include more information about what you
> are trying to do or to learn.
>
> For instance : which distribution of Linux are you using?
>
> Most distributions of Linux (Red Hat, Mandrake) do not use
> "vi", but supply the more advanced "vim" and make a symlink
> from "vi" to "vim".
>
> If you are using Slackware, though, "vi" is linked to "elvis",
> which is a little bit less advanced than "vim" (but still
> better than plain old "vi").
>
> Etc... etc... you get my drift.
>
> Try entering the following command:
> which vi
>
> And do an "ls" on the directory it returns to have more info
> on the vi you are using on your system.
>
> Second:
>
> What would you like to know? With a lot of UNIX programs, the
> best way is to start by entering the following command:
> apropos vi
>
> or, to filter the results:
> apropos vi | less
> apropos vi | grep editor
> apropos vi | grep tutor
>
> This will give you less information, but also information that's
> more relevant. Simply enter the name of the program you'd like
> more information on, as such:
> man <name-of-program>
>
> For instance, here are all the interesting man pages I could find
> on my Slackware 8.1 machine:
>
> bash-2.05a$ apropos vi | grep edit
> elvis                (1)  - a clone of the ex/vi text editor
> evim                 (1)  - easy Vim, edit a file with Vim and setup
> for modeless editing
> vim                  (1)  - Vi IMproved, a programmers text editor
> vimdiff              (1)  - edit two or three versions of a file with
> Vim and show differences
> vimtutor             (1)  - the Vim tutor
>
> Finally, I can send you a PS file that was created as a very, very
> short documentation for vi -- this is almost the only documentation
> that I use for vim, as it contains all the really helpful commands.
>
> Also, try entering the command "vimtutor", as it will launch a very
> helpful tutorial on vim.
>
> On Wed, 18 Sep 2002 10:10:42 -0600, Scott wrote:
> > Are there any goo d sites where I can get more info about vi on the net.
I
> > did try vitutor vi-tutor vilearn vi-learn with no success.
>
> I hope this helps!
>
> --
>
> Gil Andre ___ Technical writer ___ Arkeia Corporation
> email: gandre@arkeia.com | web: http://www.arkeia.com
>
>
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/blinux-list
>




^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: info about vi on the net
     ` Scott B. Berry
@      ` Gil Andre
  0 siblings, 0 replies; 12+ messages in thread
From: Gil Andre @  UTC (permalink / raw)
  To: blinux-list

[-- Attachment #1: Type: text/plain, Size: 1274 bytes --]


Scott,

If you are using "vim" (do check my last message), try hitting
the Escape and enter the following command:
:set ruler

(Don't forget the ":" in front of the "set" command!!!)

This should display more relevant information to you, especially
the "-- INSERT --" signal when you are trying to enter text. If
you need something easier to use than "vi", please try to install
"nano" -- it's the GNU clone of "pico" (try this as well) and a
very, very simple editor to learn, as all commands are displayed
on the last two lines of the screen.

If you'd like to learn vi, just start by using the reference text
attached to this email. It's fairly short, but, I hope, informative.


On Thu, 19 Sep 2002 09:41:03 -0600, Scott wrote:
> I don't really like the editor because it doesn't have commands at the
> botom to get me out of trouble if some thing were to happen on accident say
> I hit escape one too many times and I get thrown in the command mode instead
> of the insert mode.  However I have learned a few things and this quick
> reference is what I need for the time being as I just trying to configure
> the system.

Hope this helps!

Best Regards,

-- 

Gil Andre ___ Technical writer ___ Arkeia Corporation
email: gandre@arkeia.com | web: http://www.arkeia.com

[-- Attachment #2: vim_summary.txt --]
[-- Type: application/octet-stream, Size: 2482 bytes --]


vi quick reference

Text version of the PostScript file:
ftp://ftp.cs.colorado.edu/users/tor/saclass/vi-reference.ps

Each command should be entered EXACTLY as entered in this
file: "vi" takes upper- and lower-case letters into account.


MOVEMENT BY CHARACTER

h	left
l	right
j	down
k	up

(under vim, you can also use the arrow keys of the keyboard)

MOVEMENT BY LINE

[n]G	Goto line [n]
:[n]	Goto line [n]
0	First position on line
$	Last position on line
^	First, non-white character on line
_	First, non-white character on line
+	First, non-white character on next line
-	First, non-white character on previous line

MOVEMENT BY SCREEN

Ctrl+F	Scroll forward one screen
Ctrl+B	Scroll backward one screen
Ctrl+D	Scroll forward half a screen
CTRL+U	Scroll backward half a screen
L	Goto bottom of screen
z[Enter] Position line with cursor on top of screen
z.	Position line with cursor at middle of screen

MISCELLANEOUS MOVEMENT

f[c]	Forward to character [c]
F[c]	Backward to character [c]
w	Move to next word
b	Move to previous word
)	Next sentence (based on punctuation)
(	Previous sentence (based on punctuation)
%	Goto matching parenthesis

EDITING TEXT

a	Append after cursor
A	Append at end of line
i	Insert text at cursor (also [insert] key in vim)
o	Open line below cursor
O	Open line above cursor
d[n]	Delete [n] char
dd	Delete entire line (line can be pasted -- see below)
D	Delete from cursor until end of line
d$	Delete from cursor until end of line
u	Undo (vim allows for multiple undo)
x	Delete character under cursor
p	paste deleted text after cursor
P	Paste deleted text before cursor

SEARCH AND REPLACE TEXT

/[text]	Search [text]
n	Search again forward
N	Search again backward

Replacing text is done with the following:

:%s/search/replace/gc

Where:

:	Starts the command
%s	%s indicates the search is to be over the whole text
search	is the text to be searched (don't forget the slashes)
replace is the text which will replace search (don't forget the slashes)
gc	is for "global" and "confirm" options respectively.


FILE OPERATIONS

:w	Write file to disk
:q	Quit vi
:wq	Write, then quit
:q!	Quit without writing
:e	Edit (load) file from disk (with auto-path-completion by [tab])

MISCELLANEOUS OPERATIONS (VIM ONLY)

:set ru	Set ruler (more information under vim)

Ctrl+w	Window operation (vim ONLY). Press Ctrl+w the one of the following:
n	New window
c	Close current window
up	(arrow key) goto the previous window
down	(arrow key) goto the next window



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: info about vi on the net
   info about vi on the net Scott B. Berry
                   ` (3 preceding siblings ...)
   ` Gil Andre
@  ` Hans Zoebelein
     ` John
  4 siblings, 1 reply; 12+ messages in thread
From: Hans Zoebelein @  UTC (permalink / raw)
  To: blinux-list

Search for "vi editor" at http://www.google.com

Enjoy!
--Hans

On Wed, 18 Sep 2002, Scott B. Berry wrote:

> Are there any goo d sites where I can get more info about vi on the net.  I
> did try vitutor vi-tutor vilearn vi-learn with no success.
> Scott Berry
> Msn: electronicman1960@hotmail.com
> Yahoo Messenger: electronicman1960
> If you are interested in scanning and you are blind please come join our
> police scanner list.  To subscribe send a message to:
> mailto:blindscanner-subscribe@yahoogroups.com
> 
> 
> 






^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: info about vi on the net
     ` Scott B. Berry
@      ` Jude DaShiell
  0 siblings, 0 replies; 12+ messages in thread
From: Jude DaShiell @  UTC (permalink / raw)
  To: blinux-list

If you can read usenet newsgroups, and anyone that can access google can
read newsgroups subscribe to comp.editors and search messages for faqs and
the vi faq.  That's regularly posted there.  I think http://www.faqs.com
probably also has the vi faq file and if you can't get it from that site,
ftp rtfm.mit.edu then cd /pub and there's a directory called usenet
newsgroups by name.  Go into that directory then go into the comp.editors
directory and you'll find all faq files distributed by that newsgroup.

x





^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: info about vi on the net
   ` Hans Zoebelein
@    ` John
  0 siblings, 0 replies; 12+ messages in thread
From: John @  UTC (permalink / raw)
  To: blinux-list

On Friday 20 September 2002 01:43, Hans Zoebelein wrote:
> Search for "vi editor" at http://www.google.com

40 000 hits, the first points to www.vim.org which sounds good enough to me.

-- 


Cheers
John.

Please, no off-list mail. You will fall foul of my spam treatment.
Join the "Linux Support by Small Businesses" list at 
http://mail.computerdatasafe.com.au/mailman/listinfo/lssb





^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 info about vi on the net Scott B. Berry
 ` Henry Yen
 ` Jude DaShiell
   ` Scott B. Berry
     ` Jude DaShiell
 ` Jude DaShiell
   ` John
 ` Gil Andre
   ` Scott B. Berry
     ` Gil Andre
 ` Hans Zoebelein
   ` John

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).