41 lines
1.4 KiB
Org Mode
41 lines
1.4 KiB
Org Mode
#+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 [[https://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 h~ | open documentation in =browser= |
|
||
| ~SPC m h H~ | open documentation in local =chm= |
|