Project

General

Profile

Feature #872 ยป add_comment_and_uncomment_region_bindings_to_ruby_mode_map.diff

binds C-c C-c and C-c C-c C-u to comment-region and uncomment-region, respectively, in ruby-mode - antares (Michael Klishin), 12/14/2008 11:00 PM

View differences:

misc/ruby-mode.el
(define-key ruby-mode-map "\t" 'ruby-indent-command)
(define-key ruby-mode-map "\C-c\C-e" 'ruby-insert-end)
(define-key ruby-mode-map "\C-j" 'ruby-reindent-then-newline-and-indent)
(define-key ruby-mode-map "\C-m" 'newline))
(define-key ruby-mode-map "\C-m" 'newline)
(define-key ruby-mode-map "\C-c\C-c" 'comment-region)
(define-key ruby-mode-map "\C-c\C-u" 'uncomment-region))
(defvar ruby-mode-syntax-table nil
"Syntax table in use in ruby-mode buffers.")
    (1-1/1)