96008496d6
- Replaced `dos.el` with `bat-mode` - `dos.el` is superseded by `bat-mode` - `dos.el` is localised package - `bat-mode` is a built-in mode - Added `bmx-mode` - `bmx-mode` provided syntax highlighting, code-navigation and refactoring capabilities on top of `bat-mode`
1.3 KiB
1.3 KiB
Windows Scripting layer
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 bat-mode - Auto-completion, code-navigation and refactoring capabilities of batch files via bmx-mode
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 |
SPC a t s p |
Start powershell shell |