On Fri, Feb 20, 2009 at 12:31 PM, Toby Bradshaw wrote: > > Hi.. > > It's long annoyed me that cut and yank write to the same clipboard. It's > often that I'll yank something and then delete a few individual > characters near where I'm going to paste only to find the deleted > characters have obliterated what I yanked. > > Is there a way to to have only yank and delete copy to the default > register/clipboard and single character cuts go somewhere else > (/dev/null for all I care) ? > > Thanks in advance.
:nnoremap x "_x :nnoremap X "_X :nnoremap <Del> "_<Del> And then three matching vnoremap's for visual mode x/X/<Del> See :help registers for what this is doing. ~Matt --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
