mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
Set <RET> key in ruby-mode to only indent the newly created line
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
(setq ruby-electric-expand-delimiters-list (quote (124)))
|
||||
(setq whitespace-action (quote (auto-cleanup)))
|
||||
(define-key ruby-mode-map
|
||||
(kbd "RET") 'reindent-then-newline-and-indent)
|
||||
(kbd "RET") 'newline-and-indent)
|
||||
(define-key ruby-mode-map
|
||||
(kbd "s-r") 'ruby-compilation-this-buffer)
|
||||
(define-key ruby-mode-map
|
||||
|
||||
Reference in New Issue
Block a user