Table of Contents

Windows Scripting layer

Table of ContentsClose


1 Description

This simple layer adds support for the Powershell scripting language as well as support for batch files.

1.1 Features:

  • Syntax highlighting of powershell .ps1 files via powershell.el
  • Syntax highlighting of batch .bat files via dos.el

2 Install

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

3 Key bindings

3.1 Powershell (powershell.el)

Key binding Description
SPC m r r Transform marked regexp to regex

3.2 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

Author: Travis CI User

Created: 2019-01-22 Tue 20:43