Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Re: Learn vi/vim in 50 lines and 15 minutes

by thelenm (Vicar)
on Mar 04, 2004 at 01:15 UTC ( #333749=note: print w/ replies, xml ) Need Help??


in reply to Re: Learn vi/vim in 50 lines and 15 minutes
in thread Learn vi/vim in 50 lines and 15 minutes

So why is this so popular anyway?

Because it's extremely fast and powerful once you know what you're doing. I can edit at least 3-5 times as quickly using Vim as anything else I've tried. Maybe more, I haven't benchmarked it. :-)

And with Vim just about everything is customizable so if you don't like the way something works by default, you can configure it how you want it. For example, your truncated lines example: use :set wrap and presto, line-wrapping. And the help documentation (:help) in Vim is very good. It's how I've learned almost everything I know about Vim.

Oh, and for getting rid of newlines between lines, I think you were missing the 'J' command (join two lines). Or maybe :set backspace=eol, which allows you to backspace over newlines in Insert mode.

-- Mike

--
XML::Simpler does not require XML::Parser or a SAX parser. It does require File::Slurp.
-- grantm, perldoc XML::Simpler


Comment on Re: Re: Learn vi/vim in 50 lines and 15 minutes
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://333749]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (11)
As of 2014-10-24 20:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (137 votes), past polls