I already know about Control-L to delete an entire line...is there one to just select an entire line (which I can then copy and paste somewhere else...)
views:
223answers:
5
+3
A:
It's Home+Home, then Shift+Down for me.
Or you change that setting which makes Ctrl+C with no selection copy the line. But I hate that, so I always turn it off. (Thanks to Bala for providing the link to that setting!)
To cut a line, Ctrl+L works in my keyboard settings.
sbi
2010-04-28 18:22:06
How do you show the button images? :O
LnDCobra
2010-04-28 18:36:46
Button styles even*
LnDCobra
2010-04-28 18:37:16
@LnDCobra: It's a tag: `<kbd>Ctrl</kdb>`.
sbi
2010-04-28 18:38:23
+11
A:
You can also use Ctrl-X to cut an entire line.
Similarly, you can use Ctrl-C to copy an entire line.
As long as you don't have anything selected, the command will work on the entire line.
Task
2010-04-28 18:22:07
You can also use Shift-Del to cut the line, and Ctrl-Insert to copy it.
Xavier Nodet
2010-04-30 09:32:19
+2
A:
I believe, if you don't have any selection and press Control-C, it would copy the line.
Bala R
2010-04-28 18:27:40
+1
A:
Visual Studio macros are another way to do these types of operations if you can't find an existing command. A simple way to create one is:
- Use the Record TemporaryMacro option (under Tools/Macros).
- Select the line however you prefer (e.g., home, shift, end).
- Click Stop Recording (under Tools/Macros).
- Choose Save TemporaryMacro (under Tools/Macros).
- Then choose Tools/Customize/Keyboard and assign a shortcut to the macro.
Mark Wilkins
2010-04-28 18:58:41