mirror.vim : Efficient way to edit remote files on multiple environments
script karma |
Rating 9/3,
Downloaded by 3160 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Alexander Capybarov |
|
script type |
utility |
|
description |
GitHub: https://github.com/zenbro/mirror.vim
Live demo: https://asciinema.org/a/22407
If some of your projects have multiple environments (e.g. development, staging, production - with nearly the same directory and files structure), then there is a situations when you need to connect to one of this environments via ssh and remotely edit project-related files. Usually you will do something like this:
ssh user@host
cd path/to/you/project
vim /some/file
and so on...
This plugin was created to simplify this process by maintaining special configuration file and adding different commands for quickly doing remote actions for each environment of project you working with. |
|
install details |
Extract the zip file to ~/.vim. To use the help, see :help add-local-help. To regenerate helptags run :helptags ~/.vim/doc.
Add this lines to .vimrc (probably they already there):
set nocompatible " disable backward compatibility with Vi
filetype plugin on " plugins are enabled
For more details, see :help mirror |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 142.132.191.50
|