views:

63

answers:

1

Is there any way in Visual Studio 2003 that I can delete a line without it being copied into the clipboard?

There are instances when I want to copy the first line of a block of text and then delete the following n lines but this then puts the last line I deleted into the clipboard, which is very annoying. I have come from a brief keymap background and I could easily do this with Alt-D.

And while I'm on the subject, why on earth have MS stopped supporting the brief keymap?

+4  A: 

Ctrl+Shift+L deletes without storing in the clipboard.

Or go to: tools/options/keyboard and look up the command called "Edit.LineDelete" if you want to change the shortcut to something easier.

Martin Harris
Thanks for the reply CTRL-SHIFT-L does indeed work, is there anywhere that details all this kind of info, or do you have to wade through all the possible key commands looking for one that sounds like it does what you want?
Sean
Martin Harris