Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 1.54 KB

README.org

File metadata and controls

43 lines (34 loc) · 1.54 KB

Windows Scripting layer

img/ps.png

Table of Contents

Description

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

Features:

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

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.

Key bindings

Powershell (powershell.el)

Key bindingDescription
SPC m r rTransform marked regexp to regex

Batch (dos.el)

Key bindingDescription
SPC m Dask for a command and display help
SPC m e bevaluate buffer
SPC m e Bevaluate buffer with args
SPC m sinsert separator &
SPC m tmini snippet to start a batch script
SPC m Tbig snippet to start a batch script
SPC m ztoggle outline