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/+tools/puppet/README.org

35 lines
1.5 KiB
Org Mode
Raw Normal View History

#+TITLE: Puppet layer
2015-06-10 16:44:30 +00:00
[[file:img/puppet.png]]
2016-03-31 02:59:55 +00:00
* Table of Contents :TOC_4_gh:noexport:
- [[#description][Description]]
- [[#install][Install]]
- [[#key-bindings][Key bindings]]
2015-06-10 16:44:30 +00:00
* Description
2017-04-25 15:42:58 +00:00
This layer aims at providing support for the Puppet DSL using [[https://github.com/voxpupuli/puppet-mode][puppet-mode]].
2015-06-10 16:44:30 +00:00
* 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.
2015-06-10 16:44:30 +00:00
* 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 |
2015-06-10 16:44:30 +00:00
| ~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.