Synchronize vim using Dropbox

If you don’t know what Dropbox is, where have you been? Here’s how I use Dropbox to synchronize my vim installation on Windows XP at work and Windows 7 at home. If you don’t know what vim is, don’t worry about it. Maybe this tip will help you install something cool and keep your settings across your operating system(s).

  • Get a compatible version for the operating systems you will be running it on gvim73_46.exe is working on Windows XP and 7
  • Install into root Dropbox directory using the default settings. I did this first on Windows XP but you don’t have to. Vim will create a directory tree like Vim<vim version>
  • Migrate your vim settings into new Vim directory in Dropbox into respective locations e.g. copy over _vimrc from “Vim” directory of old vim installation and
    from “Vim<old version>” copy over plugins and colors folders
  • Install Vim on other operating system – in my case Windows 7 but don’t copy over the Vim files. I just wanted vim registered on Windows. I unchecked anything that said “create” but left features that would register Vim on this OS.

 

    installing gvim - my settings

    installing gvim to Dropbox root

    vim running my settings from Windows XP on Windows 7

    Done!

    If you have problems with your settings not being in sync make sure that you are executing the vim executable out of your Dropbox folder.

    Advertisements

    Leave a Reply

    Fill in your details below or click an icon to log in:

    WordPress.com Logo

    You are commenting using your WordPress.com account. Log Out / Change )

    Twitter picture

    You are commenting using your Twitter account. Log Out / Change )

    Facebook photo

    You are commenting using your Facebook account. Log Out / Change )

    Google+ photo

    You are commenting using your Google+ account. Log Out / Change )

    Connecting to %s