Monday, June 2, 2014

Re: Keep consistent vim environments across different platforms

On 2014-06-02, DwigtArmyOfChampions wrote:
> I have Vim installed on my work PC on a remote Linux server, and I
> have gVim installed on Windows on my work PC, and I have gVim
> installed on my home PC, and I have macvim on my laptop. I want
> all of these different instances of Vim to use the same
> environment and plugins and vimrc's. I want to set up a standard
> Vim environment so I can easily download everything to all my
> computers, and I also want to easily copy changes back up so I can
> make changes easily. What is an easy way to do this?

The easiest way is to use Dropbox. Then just create the appropriate
type of link for your OS from your Dropbox/vimfiles directory to
~/.vim or ~/vimfiles. Any file changed on any of your installations
automatically appears in every other installation with no
intervention on your part. This can be a disadvantage as well as an
advantage, but it works well for me.

I also use Unison and a cron job to run it periodically on some
machines on which I can't run Dropbox.

This does not provide version control as using a VCS everywhere
would, but I like not having to think about whether I need to check
for updates. Also, because changes are distributed almost
immediately, I hardly ever have to merge changes made to different
installations.

Regards,
Gary

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment