#+TITLE: Autohotkey layer

[[file:img/ahk.png]]

* Table of Contents                                         :TOC_4_gh:noexport:
 - [[#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 configuration layer, add it to your =~/.spacemacs=. You will need to
add =autohotkey= to the existing =dotspacemacs-configuration-layers= list in this
file.

* Key Bindings

| Key Binding | Description                        |
|-------------+------------------------------------|
| ~SPC m c b~ | block comment                      |
| ~SPC m c c~ | line comment                       |
| ~SPC m e b~ | execute file with =autohotkey.exe= |
| ~SPC m h~   | open documentation in =browser=    |
