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/contrib/lang/puppet
2015-01-09 23:26:54 -05:00
..
img Reduce the size of puppet image 2015-01-09 23:25:02 -05:00
packages.el Add puppet contrib layer 2015-01-09 21:57:23 -05:00
README.md Reformat key bindings in puppet layer README 2015-01-09 23:26:54 -05:00

Puppet contribution layer for Spacemacs

logo

Table of Contents

Description

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

Install

To use this contribution add it to your ~/.spacemacs

(setq-default dotspacemacs-configuration-layers '(puppet)
  "List of contribution to load."
)

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.