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:
  #1  
Old March 28th, 2000, 09:20 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
A nice Vi guide

Anybody venturing *nix can find this article useful. Author's sense of humor surely grabs the readers attention. Good Job.
<br>

Reply With Quote
  #2  
Old March 28th, 2000, 11:49 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
More More!

I have been using for vi for about 3 months now.. and it rocks. But I would really like a tutorial on the real power of vi like: regexp matching/replacing and howto have vi automagically indent your C code. Good basic article please have a vi >201 guide :)

Reply With Quote
  #3  
Old March 28th, 2000, 12:16 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
the Ferrari of text editors

And here I always thought Vi was just a limited feature EMACS mode. ;)
<br>
<br>
JDR

Reply With Quote
  #4  
Old March 28th, 2000, 03:07 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
excellent article

Excellent article!

Presented in the right way, form, and fun this article should be a start for everyone coming into the wonderful world of vi and also perhaps for those already there.

A "bravo" for the author!

Regards,
Alesh

Reply With Quote
  #5  
Old March 28th, 2000, 08:24 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Quick tutorial over there

Good article - Thanks!
<br>
<br>
I have another resource available for vi:
<br>
a quick crash course for vi.
<br>
www.arekdreyer.com/help/vi.html
<br>

Reply With Quote
  #6  
Old March 29th, 2000, 06:04 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Ferrari? A dead donkey!

And it stinks. It's VI and its sclerotized lovers who are responsible for the deep-rooted prejudice, that *NIX is for
<br>
geeks only. This isn't the only reason for
<br>
the bitter fact, that this technically superior operating system is beaten by windos, but definitely one of them. The best ever VI tutorial for psycologically healthy users I saw in one of the bioinformatics manuals: "We don't recommend you to use VI. On some systems, however, you may accidentally invoke it. In this case, do the following combination of keys: <ctl-c>:q! or ask for assistance."
<br>
<br>
This isn't anything like Ferrari. Look around - how many sexy long-legged girls do you see or have you ever seen in your life typing something in VI? Approximetely as many as you can pick up riding a broomstick along a dusty road. You may not be interested in girls, beeng happy with VI or edlin or puncher and beer, but you can't reproduce without them. Software, like Unix and it's principal text editor is also doomed unless a sufficient number of normal users can use it. Girl's choice is a good indicator.

Reply With Quote
  #7  
Old March 31st, 2000, 10:51 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: Ferrari? A dead donkey!

Man I could not agree with you more.

Reply With Quote
  #8  
Old April 1st, 2000, 12:49 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Why vi? aee is smaller

And a whole lot more intuitive. Pico is even better but from what I understand it is not GPL'ed and as such has distribution problems.
<br>
<br>
vi (actually vim) runs about 500K while aee is about 175K (at least on my SuSE 6.2 system).
<br>
<br>
A console-based editor is necessary, especially on a recovery floppy, but I think aee is a better choice due to size and ease-of-use issues. The fact that vi has always come with Unix is irrelevant today since most people trying Linux and the other Unix-clones have never used a Unix system and probably never will.
<br>
<br>
Those who like vi can always get it if it isn't included in a distro.
<br>

Reply With Quote
  #9  
Old April 1st, 2000, 04:07 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Vi 101

Vi 101 It's free! Is it really? My time isn't that cheap!
After using real code editors to program in C, C++, Delphi, Javascript, etc. I've considered the money well spent! Extended console editors, no matter how they are dressed up, can't match the ease of use or customization, the color syntax highlighting,the macros, regexps, grep, etc. Who has time to learn the arcane and awkward keystrokes of dino technology. Your end users could not care less what editor you use (that is, until you do a search and replace with regexps that craps your code with a subtle bug.) You can read the article here .

Reply With Quote
  #10  
Old April 4th, 2000, 10:07 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
A better vi

vi is a powerful editor but there is an even more powerful one which is vi compatible but allows things such as unlimited undo, syntax coloring, split windows, visual selection, gui support, and much much more.
<br>
<br>
Have a look at http://www.vim.org

Reply With Quote
  #11  
Old April 4th, 2000, 10:09 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: A better vi

Yup.. Did you read the article? It's actually all about vim. Some of the commands are not included with regular vi.
<br>
<br>
Watch for more soon!

Reply With Quote
  #12  
Old April 5th, 2000, 03:46 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: Ferrari? A dead donkey! [WHATEVER]

Here's a tip: You use your bloated Emacs piece of crap, and let me have my vi. Just because vi is hard to LEARN doesn't mean it's hard to USE. In fact, I find vim to be the most user-friendly text editor around. Why? Because it's easy for ME to use it. It's an editor with excellent syntax highlighting and tons of features, yet doesn't take 15 minutes to start up, and I can use it easily on the term or through an ssh session. It basically rules. How many other editors do you know of where you can change the capitalization of a letter with one keystroke? Now that's power.
<br>
<br>
Unix is all about choice. To each his own. I won't deny you your emacs (or whatever you use), but make sure you leave my vi alone.

Reply With Quote
  #13  
Old April 6th, 2000, 09:38 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
VI, after all...


When I was a student in CS some years ago, our first computer introduction was infront of some old SUN-machines and a short crash-course in VI. I hated the damn thing for being totally uncomprehensable. Used EMACS for all my C-programming and other editors for everything else the following years. A couple of weeks ago I was forced to use VIM on a server here at work for web-devlopment in Perl. After the initial hour of frustration and angst I finally got into it, found a relatively good reference (the internal documentation sucks...) and it's been all VIM since then! It's a great and above all *fast* editor. It's made me a lot more productive and i find more and more useful functionality the more I use it.

I think that the added cursor-commands in insertmode of VIM makes a world of difference in usability as opposed to VI. That was what really got me the first time around. You had to tap the ESC-key for every little thing you wanted to do!

Reply With Quote
  #14  
Old April 6th, 2000, 10:55 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: Ferrari? A dead donkey! [WHATEVER]

Amen brother!<br>
Tis obvious the original posters maintain fantasies of fornicating with dead monkeys, and spewed their rather well used garbage in a fit of post-coital genius. Well, as close as they can come, anyway.<br>
vi, once you get used to it, makes all other editors look like a 12 year old's first gwbasic proggie. I'm constantly finding myself hitting ESC in my current bloated email client, and then pondering why it doesn't work. I'd say vi is more addictive then fellatio, but I was unable to contact Mr. Clinton prior to typing this and ask him whether he used vi or not. Probably not.<br>
Oh, the point? The little gui wussies who like playing with things and don't mind taking their hands off the keyboard do just fine with bloatware editors. For anyone with half a brain, and the need to do something more with their computer then check their AOLame s-mail, it's vi all the way!<br>
(No dead monkey's were anally abused in the making of this highly opiniated rant. Carry on, carry on...)

Reply With Quote
  #15  
Old April 10th, 2000, 08:07 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: the Ferrari of text editors

I couldn't agree more.

"The most powerful text editor for *NIX"??? Would that make ED the next runner up?

I've got nothing against Vi, it's fast and small, two things that go a long way in my book. But to say it is the ferrari of text editors, come one!

At a minimum you do your readers a disservice by failing to acknowledge EMACS as a powerful, highly extensible, and worthy alternative to Vi.

We all have our personal preferences and if you prefer Vi, then great. But your tone is a bit too definitive for my tastes.

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 2 hosted by Hostway