Copy and paste in vim via keyboard between different mac terminals?

后端 未结 2 771
暖寄归人
暖寄归人 2021-02-01 06:48

Can anyone help me with this: I\'m trying to figure out how to copy and paste text between 2 different instances of vim on different terminals (using iterm2 or mac terminal). I

2条回答
  •  清歌不尽
    2021-02-01 07:37

    If you want to copy an entire file into your target file.

    Open your target file in vim.

    Put your cursor where you want it and type the following:

    :r /path_to_file/file.ext

    This will copy an entire file to where your cursor is...

提交回复
热议问题