On Wed, Jul 27, 2011 at 3:12 AM, Tony Mechelynck <[email protected]> wrote: > On Jul 26, 12:47 pm, Björn Winckler <[email protected]> wrote: >> On Jul 26, 2011, at 11:02 , Jim Whitehead wrote: >> >> > Previously, I was able to highlight a block in visual mode and then >> > press the delete key on my keyboard (standard macbook pro keyboard) to >> > delete the block. This no longer works with snapshot 60 under Lion. >> > The only backspace related things I have are: >> >> > set nocompatible " Break compatibility with >> > old versions >> > set backspace+=indent,eol,start " Backspace over anything in >> > insert >> > mode >> >> > Has something changed that I need to update? >> >> This used to be hardcoded and I recently got rid of all hardcoded bindings >> from the source code. You can restore this functionality by adding the line >> >> vmap <Backspace> d >> >> to your .vimrc file. >> >> I think this should be the default behavior. I'll add this mapping to >> MacVim's vimrc file. >> >> Thanks for pointing this out to me. >> >> Björn > > d and <Del> doing the same thing in Visual mode are part of standard > Vim, see :help v_d > > IMHO no vimrc ought to be necessary to establish that synonymity.
I think the problem is the Mac keyboards, where it's labelled 'delete', but it actually sends the backspace control code ^H. Delete (fn-delete) does indeed map correctly with no issues. - Jim -- You received this message from the "vim_mac" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
