Re: delete lines

2006-08-10 Thread Tim Chase
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?

RE: delete lines

2006-08-10 Thread Max Dyckhoff
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

Re: delete lines

2006-08-10 Thread Christian J. Robinson
Today (Thu, 10 Aug 2006), Ben lemasurier wrote: 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

Re: delete lines

2006-08-10 Thread Meino Christian Cramer
From: Christian J. Robinson [EMAIL PROTECTED] Subject: Re: delete lines Date: Thu, 10 Aug 2006 12:00:45 -0600 (MDT) Hi, Today (Thu, 10 Aug 2006), Ben lemasurier wrote: And then I decide that I want to remove $blah2, so I start to press backspace from here: fucntion foo() { $blah

Re: delete lines

2006-08-10 Thread Tim Chase
is it also possible to enable the backspace key in normal mode -- the delete key is working in normal, so why should I miss the backspace key ? :nnoremap BS X (all typed literally with greater-than and less-than signs included) should do the trick. -tim

Re: delete lines

2006-08-10 Thread Tim Chase
:nnoremap BS X with this I cannot cross lines (delete $ between line n+1 and line n coming from line n+1 while backspacing and it is not possible to delete the last (or in other words the first char after ^ ) char of a line. Something perhaps like :nnoremap bs ibsrightesc might do