When we execute any system command and get the output, it prints in next line. But I want it in current line, next to the cursor or in place of cursor (not at the start of the current line)
Example:
:r! ls
Prints the list of files in the current folder.
But this prints the output in next line. Is there any way to print the output in the current line, next to the cursor?
Some example situations:
- listing of files inside quotes
- executing a perl/external program and getting its output pasted here.