This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+lang/windows-scripts
justbur 6eab954afe Use + instead of ! for layer categories
Helm seems to treat "!" specially in pattern matching, so having a ! in
the pattern string when traversing directories is problematic. This
change fixes #2737, because as far as I can tell "+" has no special
meaning in a helm pattern.

Of course, we can choose a different character, but I'm fond of "+" as
representing "more layers here".
2015-09-11 00:13:51 -04:00
..
extensions/dos
img
extensions.el
packages.el
README.org

Windows Scripting contribution layer for Spacemacs

/TakeV/spacemacs/media/commit/92c792c18e25fc162128fe8c58a796013d22529d/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.

Incuded packages for extensions:

Install

To use this contribution add it to your ~/.spacemacs

  (setq-default dotspacemacs-configuration-layers '(windows-scripts))

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