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/README.org

40 lines
1.3 KiB
Org Mode
Raw Normal View History

#+TITLE: Windows Scripting layer
2015-06-10 16:44:30 +00:00
[[file:img/ps.png]]
2016-03-31 02:59:55 +00:00
* Table of Contents :TOC_4_gh:noexport:
- [[#description][Description]]
- [[#install][Install]]
- [[#key-bindings][Key Bindings]]
- [[#powershell][Powershell]]
- [[#batch-dosel][Batch (dos.el)]]
2015-06-10 16:44:30 +00:00
* Description
This simple layer adds support for the Powershell scripting language as well
as support for batch files.
Supported windows scription extensions:
2015-06-10 16:44:30 +00:00
- =.ps1=: [[https://github.com/jschaf/powershell.el][powershell]]
- =.bat=: [[http://www.emacswiki.org/emacs/dos.el][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.
2015-06-10 16:44:30 +00:00
* 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 |