Emacs config utilizing prelude as a base
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
839 B

  1. # Prelude Ruby
  2. !!! Note
  3. This module builds on top of the shared [Programming](programming.md) module.
  4. ## Ruby Mode
  5. Emacs comes with Ruby programming support through the built-in
  6. `ruby-mode`. Whenever you are editing Ruby code run `C-h m` to
  7. look at the Python mode key bindings. Alternatively look at the
  8. menu bar entries under Ruby. To toggle the menu bar press `F12`.
  9. Prelude enables `CamelCase` aware editing in Ruby code (via `subword-mode`).
  10. ## inf-ruby
  11. The module bundles the [inf-ruby](https://github.com/nonsequitur/inf-ruby) package which allows you to run a Ruby
  12. REPL (e.g. `irb` or `pry`) in an Emacs buffer and interact with it from
  13. Ruby source buffers.
  14. ## yari
  15. The module bundles the [yari](https://github.com/hron/yari.el) package which allows you to search in Ruby's RI
  16. documentation. Use `C-h R` to invoke it.