Skip to content

Instantly share code, notes, and snippets.

@junegunn
Created March 7, 2015 16:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save junegunn/863dcbd78eadece788cd to your computer and use it in GitHub Desktop.
Save junegunn/863dcbd78eadece788cd to your computer and use it in GitHub Desktop.
vagrantfile for testing vim-plug with python 2.6 compatibility
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "lucid"
config.vm.box_url = "https://dl.dropbox.com/u/14741389/vagrantboxes/lucid64-lamp.box"
config.vm.provision "shell", inline: <<-SHELL
sudo apt-get update
sudo apt-get install -y git-core vim
git clone --depth 1 https://github.com/junegunn/vim-plug.git
mkdir -p ~vagrant/.vim/autoload
ln -sf ~vagrant/vim-plug/plug.vim ~vagrant/.vim/autoload
cat > ~vagrant/.vimrc << EOF
call plug#begin()
Plug 'junegunn/seoul256.vim'
Plug 'junegunn/goyo.vim'
Plug 'junegunn/limelight.vim'
Plug 'junegunn/vim-easy-align'
call plug#end()
silent! colo seoul256
EOF
cat ~vagrant/.vimrc
pwd
SHELL
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment