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 ( [id://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

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://333756]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-03-29 07:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found