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
|
2015-05-31 00:09:24 +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
|
|
|
|
"h" 'ahk-lookup-web)))
|