Text format change and a typo correction.
Source Link
Mussé Redi
  • 205
  • 1
  • 12

By visual selection, one can (1) select the whole buffer by moving the start of the buffer;buffer, with the motion gg; (2) pressing v, to transfer to visual mode; (3) executing the motionmotion GG, to select the whole buffer; (4) accessing the system clipboard register +, by pressing "+; and finally, (5) pressing pasting the register into the current buffer, by pressing p. :)

I still don't know how to do this in the form of a self-contained ex-command though, in which I'm interested.

By visual selection, one can (1) select the whole buffer by moving the start of the buffer; (2) pressing v, to transfer to visual mode; (3) executing the motion GG, to select the whole buffer; (4) accessing the system clipboard register +, by pressing "+; and finally, (5) pressing pasting the register into the current buffer, by pressing p. :)

I still don't know how to do this in the form of a self-contained ex-command though, in which I'm interested.

By visual selection, one can (1) select the whole buffer by moving the start of the buffer, with the motion gg; (2) pressing v, to transfer to visual mode; (3) executing the motion GG, to select the whole buffer; (4) accessing the system clipboard register +, by pressing "+; and finally, (5) pasting the register into the current buffer, by pressing p. :)

I still don't know how to do this in the form of a self-contained ex-command though, in which I'm interested.

Source Link
Mussé Redi
  • 205
  • 1
  • 12

By visual selection, one can (1) select the whole buffer by moving the start of the buffer; (2) pressing v, to transfer to visual mode; (3) executing the motion GG, to select the whole buffer; (4) accessing the system clipboard register +, by pressing "+; and finally, (5) pressing pasting the register into the current buffer, by pressing p. :)

I still don't know how to do this in the form of a self-contained ex-command though, in which I'm interested.