The problem is your setting of backspace. It sounds like currently bs is equal to "indent,start" or something similar. You need "indent,start,eol". The easiest way to do this is simply put this in your .vimrc file:
:set bs=2 That should do it! Max > -----Original Message----- > From: Ben lemasurier [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 10, 2006 10:51 AM > To: vim@vim.org > Subject: delete lines > > Hey everyone, > > Is there a way to make it so that when I am editing something like this: > > > function foo() { > $blah; > $blah2; > } > > And then I decide that I want to remove $blah2, so I start to press > backspace from here: > > fucntion foo() { > $blah; > $blah2; <----- cursor here > } > > and then when I get to the beginning of the line, it stops. Can I make > it so that it will follow up to the end of $blah on the previous line? > > thanks! > > Ben