spacemacs/layers/+tools/vagrant
syl20bnr ebe4c60264 Revert "Defer packages by default using use-package-always-defer"
This reverts commit 29c78ce841 and all other fixes
that have been made afterwards.

The motivation is that use-package is seen by many as a replacement for
`require`. Is use-package always defer the loading of packages then is breaks
this use case, this does not respect POLA so even if it was making Spacemacs
loading faster (up to 3s faster on some startup on my machine) we just cannot
use it, it would be irresponsible. Spacemacs should be easy to use, loading
performance will come with time but it is not a priority.
2018-03-03 23:40:10 -05:00
..
img Use + instead of ! for layer categories 2015-09-11 00:13:51 -04:00
README.org Improve exporting/testing 2017-08-18 20:50:21 +03:00
packages.el Revert "Defer packages by default using use-package-always-defer" 2018-03-03 23:40:10 -05:00

README.org

Vagrant layer

/TakeV/spacemacs/media/commit/aabe2817df5a54914247c29a0b41ab11b7f6fa89/layers/+tools/vagrant/img/vagrant.png

Description

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

Features:

  • Manage boxes (under the SPC a 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 Binding Description
SPC a V D destroy a box
SPC a V e edit the Vagrantfile
SPC a V H halt (shut down) a box
SPC a V p (re)provision a box that is already up
SPC a V r resume a suspended box (you can also use SPC V V for this)
SPC a V R reload a box
SPC a V s view the status of running boxes in the current project
SPC a V S suspend a box
SPC a V t start a vagrant-tramp-term session - after start, edit files at /vagrant:box_name:filename
SPC a V V bring up a Vagrant box