2
Mar

Ctrl-X in VS

This week I’ve found neat “trick”. When you have cursor on some line (nothing is selected) and you will press Ctrl-X whole line is cutted out (including newline char). With this I can easily remove line and/or paste whole line on another place (and because it includes newline char the adjacent line jumps away).

There's 2 Comments So Far

  • pazu
    March 3rd, 2008 at 15:02

    Ctrl-LShift-Ctrl-L:-)

  • PF
    March 9th, 2008 at 20:40

    The 3rd shortcut is Shift+Delete ;-)

Share your thoughts, leave a comment!