I would like to copy text but with the line numbers in front. How to do it? I would like to paste that text after that, with the line numbers in front.
To quickly duplicate a line of code, place the cursor anywhere in the line and hit Cmd–Shift–D(Mac) or Ctrl–Shift–D (Windows). Learn more Sublime Text Coding Tips.
To do that -> simply press ctrl + c with the cursor anywhere on the line you wish to copy(no text-selection please) and hit ctrl + v with the cursor anywhere on the target line. The copied line will get pasted right above your target line.
Edit: Copy With Line Numbers
from the Command Palette
Paste
@ your target document & your code will now have line numbersIf you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With