Vim Tips Wiki
We recommend that you log in before editing. This will allow other users to leave you a message about your edit, and will let you track edits via your Watchlist. Creating an account is quick and free.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 3: Line 3:
 
|previous=1636
 
|previous=1636
 
|next=1638
 
|next=1638
βˆ’
|created=2009
+
|created=October 24, 2009
 
|complexity=basic
 
|complexity=basic
 
|author=
 
|author=
Line 16: Line 16:
 
You can use a [http://www.getdropbox.com Dropbox] account to synchronize your configuration files (vimrc or any files) to different computers.
 
You can use a [http://www.getdropbox.com Dropbox] account to synchronize your configuration files (vimrc or any files) to different computers.
   
βˆ’
Just move the config files into your <code>~/Dropbox/</code> directory (automatically created by installation of Dropbox software) and create new config files at the original location, containing:
+
Just move the config files into your <tt>~/Dropbox/</tt> directory (automatically created by installation of Dropbox software) and create new config files at the original location, containing:
 
<pre>
 
<pre>
 
source ~/Dropbox/<configfilename>
 
source ~/Dropbox/<configfilename>
Line 28: Line 28:
 
If you only have one master system where you make edits, and just want to push or pull updates to/from clients, the simpler [http://samba.anu.edu.au/rsync/ rsync] tool may be sufficient.
 
If you only have one master system where you make edits, and just want to push or pull updates to/from clients, the simpler [http://samba.anu.edu.au/rsync/ rsync] tool may be sufficient.
   
βˆ’
One helpful Vim setting in a mixed-OS environment is to use <code>.vim</code> for Vim user settings also for Windows systems (Vim automatically picks up a <code>.vimrc</code> config file instead of <code>_vimrc</code> by default). The following snippet in .vimrc will do the trick, and thus allow you to synchronize without directory renaming:
+
One helpful Vim setting in a mixed-OS environment is to use <tt>.vim</tt> for Vim user settings also for Windows systems (Vim automatically picks up a <tt>.vimrc</tt> config file instead of <tt>_vimrc</tt> by default). The following snippet in .vimrc will do the trick, and thus allow you to synchronize without directory renaming:
   
 
<pre>
 
<pre>
Please note that all contributions to the Vim Tips Wiki are considered to be released under the CC-BY-SA
Cancel Editing help (opens in new window)