Source of original vim config: https://github.com/apple/swift/tree/master/utils/vim
# use `svn checkout…` to grab just the subfolder from github
svn checkout https://github.com/apple/swift/trunk/utils/vim
# rename to something a bit more specific
mv vim vim-swift
cd vim-swift
rm -rf .svn
# init git
git init
git add -A
git commit -m "initial commit"
folder=$(pwd)
# Vundle only works with git repos so force git
# to think this is the repote repo source
# https://github.com/VundleVim/Vundle.vim/issues/397
git remote add origin file://$folder
git branch --set-upstream-to=origin/master master
# You can safely ignore the warnings git might emit
# about 'origin/master' not existing.
Then in .vimrc where Vundle is configured:
Plugin 'file:///Users/username/path/to/vim-swift'
And then update Vundle
# In vim:
:PluginUpdate