kuda.ai

Thoughts on programming and music theory.

Use vim with ssh

Created on July 18, 2025

vim

You can open your files on the remote server directly in your local vim.

webs in the example below is made available by ~/.ssh/config.

/code/caddy/Caddyfile is the relative path.

# netrw:
vim scp://webs/code/caddy/Caddyfile

# oil.nvim:
nvim oil-ssh://webs/code/caddy