This is the block of text that I intend to copy as rectangle (without the line numbers).
1. ALM_KRmet_DCDO_RPMP_START 2. ALM_KRmet_DCDO_RPMP_STOP 3. ALM_KRmet_DIDC_RPMP_TRIP 4. ALM_KRmet_RPMP_J_H 5. ALM_KRmet_DIDO_PUMPOUT 6. ALM_KRmet_RPMP_VIBR_H
Steps:
- I keep the cursor in the first line (after the 1.)
- Press
C-x SPC
- This enables rectangle-mark-mode - I move down along the same column to the last line
- When I reach the end of the text in the last row, the cursor wouldn't move further to the end of the text in the first row.
When I copy or cut, it leaves the un-highlighted portion (or unselected portion) of the text in the previous lines and copies / cuts only that is selected.
Question
What should I do, if I intend to copy the entire block of text (with the smallest length text in the last row)
Is there a straight forward way to achieve this? Sublime text is able to do it without any issues.