0

To read a file into the vim buffer I can do something like:

:r myfile.txt

Or to grab a command's output:

:r !ls

Is there a way to run a vim command and get the output to where my cursor is? something like:

:r nmap
4

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.