diff options
| -rw-r--r-- | init.el | 12 |
1 files changed, 12 insertions, 0 deletions
| @@ -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) | ||