I've read this question and answer already, however it could not solve my doubts.
As far as my understanding is correct,
p always has the same effect (
astingutting the content of a bufferregister, by default the
Different effects of the
p command are actually a consequence of different contents of the register(s) that we paste. In this respect, given the sample text
----------- ---moree--- ---lines--- ---oftxt--- ----------- moree--- ---l
I notice the following:
moreinto a register fills the register with
---moree---into a register fills the register with
^Jis a single caracter representing the linefeed
deleting block-wise the alphabetic rectangle fills the register with
^Jhas the same meaning as above.
- Concerning 2 as compared to 1 and 3, how can something (
^J) later in the register affect where the
astingutting action starts?
- Concerning 1 and 2 as compared to 3,
visual selection going from the first
mto the first
lwill fill the register with
yanking a block
CTRL-Visual selection of the last two lines (obtained by 0CTRL-Vj$) fills the register exactly with the same content
pastingputting the two registers will have a different effect.
Can someone please help me understand this?
Besided, is it possible to get
^J in text just as can get
^M in text by CTRL-VEnter,
^[ by CTRL-VEscape and so on?