Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 23 lines (17 sloc) 0.568 kb
5fcb34d @technomancy initial commit
authored
1 ;;; starter-kit-ruby.el --- Some helpful Ruby code
2 ;;
3 ;; Part of the Emacs Starter Kit
4
12ac2f0 @technomancy Rearrange lisp and ruby helpers.
authored
5 (eval-after-load 'ruby-mode
6 '(progn
7 (require 'inf-ruby)
8 (require 'ruby-compilation)
5fcb34d @technomancy initial commit
authored
9
12ac2f0 @technomancy Rearrange lisp and ruby helpers.
authored
10 (define-key ruby-mode-map (kbd "RET") 'reindent-then-newline-and-indent)
11 (define-key ruby-mode-map (kbd "C-c l") "lambda")))
5fcb34d @technomancy initial commit
authored
12
13 (global-set-key (kbd "C-h r") 'ri)
14
15 ;; We never want to edit Rubinius bytecode
16 (add-to-list 'completion-ignored-extensions ".rbc")
17
18 ;; TODO: set up ri
19 ;; TODO: electric
20 ;; TODO: flymake
21
22 (provide 'starter-kit-ruby)
23 ;; starter-kit-ruby.el ends here
Something went wrong with that request. Please try again.