Vim GUI (MacVim, GVim) plugin to make remote editing more easy (based on TextMate 2.0's rmate feature).
This script is meant to be used with MacVim or GVim on a Mac or linux system. It uses the Netrw functionality of vim to remotely edit files.
- Install the rmvim.vim plugin in your local .vim directory.
Or use a plugin system such as Plug:
- Copy the file
rmvim.vim/util/rmvimto your remote host to a directory that is in your path.
- If you want to use gvim instead of mvim add the following to your .vimrc:
let g:rmvim_cmd = 'gvim'
Other options include
Open a MacVim or GVim instance at least once. If this plugin is installed, this
will automatically activate a listener (an instance of the
Open a connection to your remote host with the command
ssh -R 52699:localhost:52699 yourhost
On your remote host start editing a file with the following command:
The remote file opens locally in MacVim.
With contributions from:
Copyright (c) 2011-2018, Wannes Meert (KU Leuven). All rights reserved.