2015-04-10 01:17:29 +00:00
|
|
|
;;; packages.el --- autohotkey Layer packages File for Spacemacs
|
|
|
|
;;
|
2016-01-12 02:40:54 +00:00
|
|
|
;; Copyright (c) 2012-2016 Sylvain Benner & Contributors
|
2015-04-10 01:17:29 +00:00
|
|
|
;;
|
|
|
|
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
|
|
|
|
;; Author: Rich Alesi <https://github.com/ralesi>
|
|
|
|
;; URL: https://github.com/syl20bnr/spacemacs
|
|
|
|
;;
|
|
|
|
;; This file is not part of GNU Emacs.
|
|
|
|
;;
|
|
|
|
;;; License: GPLv3
|
|
|
|
|
2015-04-19 03:40:24 +00:00
|
|
|
(setq autohotkey-packages
|
|
|
|
'(ahk-mode))
|
2014-12-21 22:07:22 +00:00
|
|
|
|
2015-04-10 01:17:29 +00:00
|
|
|
(defun autohotkey/init-ahk-mode ()
|
|
|
|
(use-package ahk-mode
|
2016-03-14 21:25:19 +00:00
|
|
|
:mode "\\.ahk\\'"
|
2015-04-10 01:17:29 +00:00
|
|
|
:defer t
|
|
|
|
:init
|
2015-11-18 00:38:05 +00:00
|
|
|
(spacemacs/set-leader-keys-for-major-mode 'ahk-mode
|
|
|
|
"cb" 'ahk-comment-block-dwim
|
2016-04-28 13:33:33 +00:00
|
|
|
"cc" 'ahk-comment-dwim
|
|
|
|
"eb" 'ahk-run-script
|
2016-05-13 06:37:51 +00:00
|
|
|
"hh" 'ahk-lookup-web
|
2016-07-05 04:12:35 +00:00
|
|
|
"hH" 'ahk-lookup-chm)))
|