emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/phps-mode 65f79c8 397/405: Added map shortcuts for comm


From: Stefan Monnier
Subject: [elpa] externals/phps-mode 65f79c8 397/405: Added map shortcuts for comment / uncomment region
Date: Sat, 13 Jul 2019 10:01:00 -0400 (EDT)

branch: externals/phps-mode
commit 65f79c8f361304beda1b67c199fd59eb4b9e7d8e
Author: Christian Johansson <address@hidden>
Commit: Christian Johansson <address@hidden>

    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

[Prev in Thread] Current Thread [Next in Thread]