Skip to content

d4rk5eed/Prelude-for-Rails-and-Novels

Repository files navigation

Emacs Prelude for Rails and Novels

Fork of the Prelude distribution enchanced with additional features.

Rails support configuration is based on Lorfnon's Guide

Novella module is based on Ergoemacs distribution [disabled by default]

This package intends to be of Clone-and-Code type. It means you just need to:

git clone <repository> ~/.emacs.d

and run EMACS

Main Features

Default theme: tango-dark , since offered zenburn is not enough contrast for me. Removed system beep.

Additional Package Repository

Marmalade

Additional Packages

New Key binfings

  • C-c q r calls irb in current shell

  • C-c q a load current rvm configuration (ruby version/gemset) in projectile-rails environment

  • M-. method navigation (bundled with robe-jump)

Flx-ido update

Ido completions is displayed vertically by default. TODO screenshot

Novella module interactive commands

novella-mode-toggle, based on Novel Reading Mode

TODO need screenshot for this mode

Adopts windows for convenient reading of articles and novels. Hides fringes and add left/right margins.

novella-fill-paragraph-toggle, based on fill/unfill-region Toggle

In contrary to fill-paragraph it removes hard newlines on paragraph region.

Robe interactive commands

robe-start to start completion backend when you navigate into your project

company-robe to be greeted with an intellisense like method definitions.

TODO bundle commands with key and bundle robe start with project in

Rspec Mode features

Should be add from this http://crypt.codemancers.com/posts/2013-03-28-poor-mans-rspec-mode-for-emacs/

Indentation snippets and key bindings

Two function based on this topic

my-indent-region -> moves region to the right by 2 positions (bound on C-.)

my-unindent-region -> moves region to the left by 2 positions (bound on C-,)

[company-robe] Removed company-capf

Since it freezes connection to host I removed it from company backends

Added cua-mode

Now Can use C-c, C-v, C-x, C-z as usual! Read more

Added web-mode

Erb required it. http://web-mode.org/ @TODO make auto-identation if not

Added support for russian input method

Just use C-\ to toggle between latin and cyrillic input methods. Or you can disable it in custom.el

Added crux

A Collection of Ridiculously Useful eXtensions for Emacs. crux bundles a few useful interactive commands to enhance your overall Emacs experience. Read more

About

Featured Prelude fork

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published