Giter Site home page Giter Site logo

vim-railscasts-theme's Introduction

Vim Railscasts Colorscheme

A color scheme based on the RailsCasts TextMate theme with decent support for both GUI and terminal.

Installation

You can choose between 3 different ways to install it:

Pathogen

Install Pathogen and then add a git submodule for your plugin:

$ cd ~/.vim
$ git submodule add [email protected]:jpo/vim-railscasts-theme.git bundle/railscasts-theme

Vundle

Install Vundle and then add this theme as a plugin to your .vimrc.

Plugin 'jpo/vim-railscasts-theme'

Manually

Copy railscasts.vim into ~/.vim/colors/ (Unix) or vimfiles/colors/ (Windows).

Screenshots

GUI :

Terminal with 256 colors :

vim-railscasts-theme's People

Contributors

andersonfreitas avatar antonrogov avatar congma avatar dhruvasagar avatar drmohundro avatar jonathan-soifer avatar jpo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vim-railscasts-theme's Issues

Improved HTML highlighting

Hey man, thanks a lot for this theme. It's exactly what I was looking for; nice, earthy tones and good contrast between different elements.

However, it has an issue. When Javascript is contained in a HTML file, the syntax highlighting is crippled in VIM (that's a fact of life and not related to your theme). Most severely, it sets all Javascript variable names to the "Special" color.

In this case, "Special" means a really difficult to read dark green (even worse if your terminal has a transparent background like mine does; it's nearly unreadable, but in my example below I use a pure black). The "Special" color in the theme is only meant to be used for little single characters here and there, and not for the main code, which is why it's such an awful color when it's suddenly applied to all variable names.

So I went through most of the 255 "cterm" colors to find a really nicely contrasting, bright-but-not-too-bright color that fits in well and makes VIM behave when editing .html files with embedded code, as well as working perfectly with transparent terminals. Here's the before and after (non-transparent terminal):

before_and_after

I made sure it still looks perfect in all other languages such as .rb files, .js, .php etc, so that "Special" doesn't lose its main purpose of highlighting special characters. In fact I think it looks much better in those languages too, since the lighter blue makes the special characters that "Special" is intended for stand out!

Here is the change (for both GUI and terminal VIM):

hi Special                   guifg=#50a19f ctermfg=73

I'll leave it up to you whether you want to commit the change or not. I've already done it on my local copy since the colorscheme was unusable for .html editing before this change. ;-)

Some bug

Do you know how to fix this on MacOS?
bug

Abuse of red

I have the original theme with more use of white, it is superior to the current one with it's abuse of red.

That is all.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.