# Windows Scripting contribution layer for Spacemacs ![logo](img/ps.png) **Table of Contents** - [Windows Scripting contribution layer for Spacemacs](#windows-scripting-contribution-layer-for-spacemacs) - [Description](#description) - [Install](#install) - [Key Bindings](#key-bindings) - [Powershell](#powershell) - [Batch (dos.el)](#batch-dosel) ## Description This simple layer adds support for the Powershell scripting language as well as support for batch files. Incuded packages for extensions: - `.ps1`: [powershell][] - `.bat`: [dos.el][] ## Install To use this contribution add it to your `~/.spacemacs` ```elisp (setq-default dotspacemacs-configuration-layers '(windows-scripts) "List of contribution to load." ) ``` ## Key Bindings ### Powershell No useful bindings. ### Batch (dos.el) Key Binding | Description ----------------------|------------------------------------------------------------ SPC m D | ask for a command and display help SPC m e b | evaluate buffer SPC m e B | evaluate buffer with args SPC m s | insert separator ` & ` SPC m t | mini snippet to start a batch script SPC m T | big snippet to start a batch script SPC m z | toggle outline [powershell]: https://github.com/jschaf/powershell.el [dos.el]: http://www.emacswiki.org/emacs/dos.el