This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+config-files/puppet
Johan K. Jensen be2c471397 Fix inline code blocks
Add zero-width space because emphasis blocks can't start/end with
a comma, an apostrophe or a quote.
2016-03-01 18:51:13 +01:00
..
img Use + instead of ! for layer categories 2015-09-11 00:13:51 -04:00
config.el [puppet] Use ruby-mode for Puppetfile support 2016-02-02 21:15:26 +01:00
packages.el [puppet] Use ruby-mode for Puppetfile support 2016-02-02 21:15:26 +01:00
README.org Fix inline code blocks 2016-03-01 18:51:13 +01:00

Puppet layer

/TakeV/spacemacs/media/commit/68e88df3c8f9ce817e6293ca5dba0c391a0e88ab/layers/+config-files/puppet/img/puppet.png

Description

This layer aims at providing support for the Puppet DSL using puppet-mode.

Install

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

Key bindings

The following key bindings are available in Puppet Mode:

Key Binding Description
SPC m { Move to the beginning of the current block
SPC m } Move to the end of the current block
SPC m a Align parameters in the current block
SPC m ' Toggle string quoting between single and double
SPC m ; Blank the string at point
SPC m j Jump to a class, define, variable or resource
SPC m c Apply the current manifest in dry-run mode
SPC m v Validate the syntax of the current manifest
SPC m l Check the current manifest for semantic issues
SPC m $ Interpolate with ${} in double quoted strings

Use M-x customize-group RET puppet to customize Puppet Mode.