https://github.com/josteink/bmx-mode
Action-paced Windows Batch-file editing, powered by GNU Emacs!
https://github.com/josteink/bmx-mode
batch-file emacs windows
Last synced: 11 months ago
JSON representation
Action-paced Windows Batch-file editing, powered by GNU Emacs!
- Host: GitHub
- URL: https://github.com/josteink/bmx-mode
- Owner: josteink
- License: gpl-2.0
- Created: 2018-02-01T09:50:38.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-03-19T06:20:32.000Z (almost 5 years ago)
- Last Synced: 2025-04-10T17:21:16.781Z (11 months ago)
- Topics: batch-file, emacs, windows
- Language: Emacs Lisp
- Homepage:
- Size: 69.3 KB
- Stars: 8
- Watchers: 5
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# bmx-mode


Action-paced Windows Batch-file editing, powered by [GNU Emacs](https://www.gnu.org/software/emacs/)!
Batch Mode eXtras, or bmx for short is an Emacs-package which aims to
extend Emacs' built in `bat-mode`, to improve editing of Windows
Batch-files.
## Features
The following features are currently provided:
* Code-completion for labels and environment-variables based on [company-mode](https://company-mode.github.io/) (`C-.`).
* Seamless code-navigation using established Emacs-conventions (`M-,` and `M-.`).
* Looking up references to any symbol (`Shift-f12`).
* Renaming of code-symbols (`C-c C-r`).
* Fixup file to use consistent casing and syntax for all variables and labels (`C-c C-f`).
## Installation
`bmx-mode` is packaged and available from MELPA. Install it the usual way:
`M-x package-installbmx-mode`
## Configuration/Customization
Install it and plug it into your `.emacs` and you should be done:
``` elisp
(require 'bmx-mode)
(bmx-mode-setup-defaults)
```
or use `use-package`:
``` elisp
(use-package bmx-mode
:config (bmx-mode-setup-defaults))
```
No further configuration should be needed to work properly.
That said the following aspects can be customized using standard Emacs-customization (`M-x customize-groupbmx-mode`).
* Toggle completion of system-variables (default `off`)
## Status
While fully usable, this mode is currently under development and there may be bugs.
If so feel free to report them, or even better: Provide PRs!