Vim Tips – Edit Remote Files With Vim On Linux

4 Responses

  1. Jalal says:

    Hi,
    good, good good…
    Thanks a lot

  2. Etc Etera says:

    Nice, didn’t know that yet! Any chance to open a file as root on the server with this?

    • sk says:

      As mentioned in this link, this is not possible because vim is not executing remote commands. It is simply using scp to copy the file over, edit it locally and scp it back when done.

  3. Luiz says:

    No more .vimrc in the remote! Thank you

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.