aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.el12
1 files changed, 12 insertions, 0 deletions
diff --git a/init.el b/init.el
index 332fc6f..756f428 100644
--- a/init.el
+++ b/init.el
@@ -1014,3 +1014,15 @@
1014 ("C-h p" . helpful-at-point) 1014 ("C-h p" . helpful-at-point)
1015 ("C-h v" . helpful-variable) 1015 ("C-h v" . helpful-variable)
1016 ("C-h x" . helpful-command))) 1016 ("C-h x" . helpful-command)))
1017
1018
1019;; ---------------------------------
1020;; Comment / Uncomment region
1021;; --------------------------
1022;; Comment / uncomment entire
1023;; regions instead of having to do
1024;; each line separately.
1025;; ---------------------------------
1026
1027(global-set-key (kbd "M-;") 'comment-line)
1028(global-set-key (kbd "C-M-;") 'comment-or-uncomment-region)