branch: externals/phps-mode
commit 65f79c8f361304beda1b67c199fd59eb4b9e7d8e
Author: Christian Johansson <christ...@cvj.se>
Commit: Christian Johansson <christ...@cvj.se>

    Added map shortcuts for comment / uncomment region
---
 phps-mode-map.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/phps-mode-map.el b/phps-mode-map.el
index 381d12a..d8bfd9d 100644
--- a/phps-mode-map.el
+++ b/phps-mode-map.el
@@ -31,7 +31,8 @@
 
 (defvar phps-mode-map
   (let ((map (make-keymap)))
-    ;; TODO keys here
+    (define-key map (kbd "C-c /") #'comment-region)
+    (define-key map (kbd "C-c DEL") #'uncomment-region)
     map)
   "Key-map for major mode.")
 

Reply via email to