Development Articles
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherDevelopment Articles

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #16  
Old April 10th, 2000, 11:56 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
g mnemonic

I remember the g functionality for search and destroy missions as standing for "global"<br>

You didn't mention another handy command,
<!-- Code -->
<p><pre><font color=#008000><xmp>!!an OS command</xmp></font></pre><p>
<!-- Code -->
to put a command's output into the current document
and
<!-- Code -->
<p><pre><font color=#008000><xmp>ZZ</xmp></font></pre><p>
<!-- Code -->
to exit in a hurry with a save...

Reply With Quote
  #17  
Old April 10th, 2000, 12:46 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
what about emacs?

emacs is arguably more powerful than vi,
though I usually use vi, as I have to work
on so many different *nix machines, I'm sure that it is there, and vi always works.... and it's usuable over a slow telnet connection...

but emacs has quite a nice ability to write extensions in lisp, etc... just ask any cs dropout... er cs grad...


Reply With Quote
  #18  
Old April 28th, 2000, 06:12 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: More More!

I couldn't agree more... I'd also like to learn how to alter the section delimiters, something that I haven't been able to find in ANY of the documentation.

Reply With Quote
  #19  
Old May 4th, 2000, 10:05 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
kudos

An excellent tutorial! I look forward to more.

I think some readers don't understand the implications of calling vi a Ferrari. The name doesn't imply luxury or convenience: it implies performance in the hands of an expert driver. I've seen a UNIX programmer write code in vi so fast I couldn't keep track of what he was doing; lines were magically repeated, the cursor jumping to just the place where it needed to be to change the next word, creating a virtual symphony of intelligent thought.

As the salesman said, "Maybe a Ferrari is too much car for you. Can I interest you in something with an automatic transmission?"

vi was invented by the folks who invented UNIX. nuff said.

Reply With Quote
  #20  
Old May 12th, 2000, 01:13 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
%s and :prev

% is a shortcut for 1,$
<br>
<br>
Example:
<br>
<br>
%s/foo/bar/ is equivalent to 1,$s/foo/bar/
<br>
<br>
Also, when editing multiple files, you can use :previous in addition to :next
<br>
<br>
- Matt

Reply With Quote
  #21  
Old May 13th, 2000, 04:59 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: A nice Vi guide

Yes I agree! A very witty beginner's guide to Vi. Detailed and structured. How I wish I had such guides when i was learning many years ago....

Reply With Quote
  #22  
Old July 12th, 2000, 12:40 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
visual mode in standard vi?

I try to get into visual mode in vi installed by my ISP. I type v or V and I get a message telling me that it's not a command. Is visual mode something that I need Vim for?

Reply With Quote
  #23  
Old July 20th, 2000, 11:35 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
move to beginning of line.

How do you move to the beginning of the current line you are on?

Reply With Quote
  #24  
Old January 28th, 2002, 06:59 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:

Reply With Quote
  #25  
Old February 22nd, 2002, 04:49 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:

Reply With Quote
  #26  
Old May 27th, 2003, 10:52 AM
Ducani
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Vi 101

Vi 101

Vi is probably the most powerful text editor for *NIX, but if you have ever tried to use it, you probably walked away frustrated. This article walks through all the capabilities and features of Vi - from the basics, such as saving and quitting, to the more advanced topics of searching for strings.

Please discuss this article in this thread. You can read the article here .

Reply With Quote
  #27  
Old May 28th, 2003, 10:48 AM
Ducani
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
If you would like to see an article covering a particular topic, please post your request here.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherDevelopment Articles > Vi 101


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT