spacemacs/layers/+lang/windows-scripts
duianto 0a06c7ca6b Fix filenames in layer file headers
Also fixed the groovy/funcs.el header which said: Java
2020-02-20 00:07:30 +01:00
..
img Use + instead of ! for layer categories 2015-09-11 00:13:51 -04:00
local/dos Deprecation of extensions and <pkg>-excluded-packages variables 2016-01-17 22:06:04 -05:00
config.el Fix filenames in layer file headers 2020-02-20 00:07:30 +01:00
packages.el Revert "Defer packages by default using use-package-always-defer" 2018-03-03 23:40:10 -05:00
README.org Switch to the new layers generator 2019-05-15 21:08:21 +03:00

Windows Scripting layer

/TakeV/spacemacs/media/commit/2390c4ed69984fdba971644ab982143c393ae5e4/layers/+lang/windows-scripts/img/ps.png

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 binding Description
SPC m r r Transform marked regexp to regex

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