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 tachyon (Chancellor)
on Mar 04, 2004 at 01:40 UTC ( #333756=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

I also never figured out how to backspace a newline off

Ah INSERT MODE backspace key works for me and will backspace you to the begining of the file if you hold it down long enough.... Here is your post after I did G A Backspace + Hold it down and wait.....

~ ~ ~ ~ -- INSERT --

:-)

J will join lines ie remove newlines too. J will remove the newline at the end of the cursor line effectively joining the next line to it.....

As noted in NAV mode DEL deletes stuff. BACKSPACE just works like left arrow or h and navigates you. GOK!

cheers

tachyon


Comment on Re: Re: Learn vi/vim in 50 lines and 15 minutes
Download Code
Re: Re: Re: Learn vi/vim in 50 lines and 15 minutes
by bmann (Priest) on Mar 04, 2004 at 18:52 UTC
    Ah INSERT MODE backspace key works for me and will backspace you to the begining of the file if you hold it down long enough

    It'll backspace over line breaks if you "set backspace=eol".

    I have backspace set to "indent, eol, start" in my .vimrc. indent allows me to backspace over autoindented lines, eol allows backspacing over line breaks, and start allows backspacing past the starting insertion point.

    <sarcasm>A list of all available options can be found with the obvious and intuitive command ":he Q_op"</sarcasm>, in case a vi/vim beginner is looking.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2014-09-21 07:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (167 votes), past polls