#+TITLE: Autohotkey contribution layer for Spacemacs
[[file:img/ahk.png]]
* Table of Contents :TOC@4:
- [[#description][Description]]
- [[#features][Features]]
- [[#install][Install]]
- [[#key-bindings][Key Bindings]]
* Description
Syntax highlighting and Emacs functions for use with [[http://www.autohotkey.com][AutoHotkey]] or
[[http://ahkscript.org][AutoHotkey_L]].
Using a combined implementation of ahk-mode from Xah Lee's =xahk-mode=
and Robert Widhopf-Fenk's =autohotkey-mode=. Updated with the latest
ahk and ahk_l commands found in the latest revision of
[[http://fincs.ahk4.net/scite4ahk/][SciTE4AutoHotkey]].
Contributed and maintained by [[https://www.github.com/ralesi][Rich Alesi]].
* Features
- Auto-completion
- Documentation Lookup
- Execute Code Snippets
- Correct Indentation and Commenting
* Install
To use this contribution add it to your =~/.spacemacs=
#+BEGIN_SRC emacs-lisp
(setq-default dotspacemacs-configuration-layers '(autohotkey))
#+END_SRC
* Key Bindings
| Key Binding | Description |
|-------------+------------------------------------|
| ~SPC m d~ | open documentation in =browser= |
| ~SPC m e~ | execute file with =autohotkey.exe= |