Skip to content

Latest commit

 

History

History
54 lines (43 loc) · 2.61 KB

README.org

File metadata and controls

54 lines (43 loc) · 2.61 KB

Vagrant layer

img/vagrant.png

Table of Contents

Description

This layer adds support for working with Vagrant using vagrant.el and vagrant-tramp.

Features:

  • Manage boxes (under the SPC V prefix)
  • Remote editing on Vagrant boxes via Tramp

Install

Layer

To use this configuration layer, add it to your ~/.spacemacs. You will need to add vagrant to the existing dotspacemacs-configuration-layers list in this file.

Note: Since vagrant files are written in ruby it is recommended to install the ruby layer as well.

Vagrant

Follow the Installing Vagrant and Getting Started guides in Vagrant’s documentation.

Testing

If you’d like to test this layer out in a simple way (for example to make sure you have Vagrant configured correctly) there is a Vagrantfile in this directory.

Keybindings

Key BindingDescription
SPC V Ddestroy a box
SPC V eedit the Vagrantfile
SPC V Hhalt (shut down) a box
SPC V p(re)provision a box that is already up
SPC V rresume a suspended box (you can also use SPC V V for this)
SPC V sview the status of running boxes in the current project
SPC V Ssuspend a box
SPC V tstart a vagrant-tramp-term session - after start, edit files at /vagrant:box_name:filename
SPC V Vbring up a Vagrant box