I have researched it. Most post said this way:
C-SPC C-n M-w
It works. But in my case. It only copied a block where the cursor moved. Not the whole lines area I want.
For example, the source below:
1 def hi():
2 print("hi")
3 . print("hi")
4 print("hi")
----------col:16
The operations I did:
- At the beginning of line 1, click
C-x SPC
(Because I'm using macOS soC-SPC
not work, the keys are conflict) - Move down using
C-n
until line 4 - Click
C-e
to the end of the last line ensure to get all the area I want - Finally click
M-w
to copy them. - Paste them at other area by
C-y
. The line 1 likesdef hi():_____
with visible space
I can copy the content until col 16, but without the area afterward. So if I paste the content somewhere, the layout went bad.
Key conflict