sponsor Vim development Vim logo Vim Book Ad

Railscasts Theme (GUI&256color) : A railscasts color theme that works in 256color terminals as well as gui

 script karma  Rating 751/215, Downloaded by 13391    Comments, bugs, improvements  Vim wiki

created by
Nick Moffitt
 
script type
color scheme
 
description
This theme is based on Josh O'Rourke's Vim clone of the railscast
textmate theme ( vimscript #1995 ).  The key thing I have done here is
supply 256-color terminal equivalents for as many of the colors as
possible, and fixed up a few of the funny tags for editing e-mails and
such.

You can see a side-by-side comparison at http://zork.net/~nick/screenshots/colorcomparison.png
 
install details
To use for gvim:
1: install this file as ~/.vim/colors/railscasts.vim
2: put "colorscheme railscasts" in your .gvimrc

If you are using Ubuntu, you can get the benefit of this theme in your
gnome-terminals by taking the following steps:

1: sudo apt-get install ncurses-term
2: put the following in your .vimrc
    if $COLORTERM == 'gnome-terminal'
        set term=gnome-256color
        colorscheme railscasts
    else
        colorscheme default
    endif
3: if you wish to use this with screen, add the following to your .screenrc:
    attrcolor b ".I"
    termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
    defbce "on"
    term screen-256color-bce
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
railscasts.vim 2.1 2008-03-02 7.0 Nick Moffitt Accidentally commented out the more specific ruby colors, and made the capitalization spelling color less obnoxious.  Also got rid of goofy if/else block and just made all the definitions inline.  This helps uniformity greatly.
railscasts.vim 2.0 2008-03-01 7.0 Nick Moffitt Initial upload
ip used for rating: 54.211.68.132

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
SourceForge.net Logo