2

I just want to know if there is a short cut to copy the text line without the indent part.

Thanks!

asked Apr 29, 2020 at 19:33
2
  • If you found an answer to your question helpful, do not only mark it as accepted answer, but consider upvoting it, too. Commented Apr 30, 2020 at 11:42
  • 1
    I have done it, but my reputation does not allow to make it public! Commented Apr 30, 2020 at 13:05

2 Answers 2

1

Provided the cursor is at the end of the line:

Shift+Home works.

If your cursor is anywhere in the line, hit End, then Shift+Home.

answered Apr 29, 2020 at 19:52
Sign up to request clarification or add additional context in comments.

Comments

0

It should work out-of-the-box by pressing Ctrl+C (at least it does in my VSCodium instance), but in contrast to, e.g. IntelliJ IDEA, it does not select the the line visually in the editor.

answered Jan 1, 2024 at 16:55

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.