spacemacs/layers/+lang/windows-scripts
syl20bnr ebe4c60264 Revert "Defer packages by default using use-package-always-defer"
This reverts commit 29c78ce841 and all other fixes
that have been made afterwards.

The motivation is that use-package is seen by many as a replacement for
`require`. Is use-package always defer the loading of packages then is breaks
this use case, this does not respect POLA so even if it was making Spacemacs
loading faster (up to 3s faster on some startup on my machine) we just cannot
use it, it would be irresponsible. Spacemacs should be easy to use, loading
performance will come with time but it is not a priority.
2018-03-03 23:40:10 -05:00
..
img
local/dos
config.el Happy New Year 2018! 2018-01-04 02:00:25 -05:00
packages.el Revert "Defer packages by default using use-package-always-defer" 2018-03-03 23:40:10 -05:00
README.org Fix documentation for elisp, colour, ibuffer and windows-scripts 2017-10-02 03:01:54 +03:00

Windows Scripting layer

/TakeV/spacemacs/media/commit/59e0c5683aed94f9ccc37256cafb5cebb1934275/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