• PenguinCoder@beehaw.org
    link
    fedilink
    arrow-up
    6
    arrow-down
    1
    ·
    edit-2
    1 day ago

    Save it in a text file in the same directory. Then open the file you want put it in with vim. Move the cursor to the spot in the file you want to paste the text. Hit Esc then : and type r!cat (the file name you saved and want to paste the data from) , press enter.

    This will read in the other file and put the contents into the one you have open in vim.