branch: elpa/drupal-mode
commit 05e0a86bedfcdb7a1a3b9b9ce6588015ce461a8c
Author: Arne Jørgensen <[email protected]>
Commit: Arne Jørgensen <[email protected]>
Added keyboard shortcut for `drupal-module-name'.
* `C-c C-v C-m' calls `drupal-module-name'.
* Used '(control c) (control v) (control m)' as keyboard syntax for
all keyboard shortcuts.
---
drupal-mode.el | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/drupal-mode.el b/drupal-mode.el
index 6d5ddbc2ba..0b5a3df5ac 100644
--- a/drupal-mode.el
+++ b/drupal-mode.el
@@ -186,10 +186,11 @@ Include path to the executable if it is not in your
$PATH."
(defvar drupal-mode-map
(let ((map (make-sparse-keymap)))
- (define-key map "\C-c\C-v\C-d" #'drupal-search-documentation)
- (define-key map "\C-c\C-v\C-c" #'drupal-drush-cache-clear)
- (define-key map "\C-c\C-v\C-h" #'drupal-insert-hook)
- (define-key map "\C-c\C-v\C-f" #'drupal-insert-function)
+ (define-key map [(control c) (control v) (control d)]
#'drupal-search-documentation)
+ (define-key map [(control c) (control v) (control c)]
#'drupal-drush-cache-clear)
+ (define-key map [(control c) (control v) (control h)] #'drupal-insert-hook)
+ (define-key map [(control c) (control v) (control f)]
#'drupal-insert-function)
+ (define-key map [(control c) (control v) (control m)] #'drupal-module-name)
map)
"Keymap for `drupal-mode'")