I'm trying to edit the copy-paste buffer:
I have the following command:
nmap gfb :let .shellescape(getreg('0'))=1<br>
that should have put the number 1
into the buffer, which is not happening.
how do i put the output of a perl script into a vimscript buffer?
To get the output of an external command into a vim buffer you use system
:
:let @0 = system("/bin/ls")
:echo @0
I'm not sure how this relates to Perl exactly. You might want to edit your question to clarify.
If 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