How to I use Textmate color themes with vim?

811

Solution 1

There are a lot of textmate color schemes for textmate in vim. Maybe you can find someone who already implemented it.

Searching in google for textmate theme vim, the first result is:

A GUI only color scheme based on the Railscasts TextMate theme.

Is this theme (Railcasts theme) what you're looking for?

alt text

Solution 2

You can convert any Textmate color scheme to vim by using coloration.

Share:
811

Related videos on Youtube

Ramesh Rajendran
Author by

Ramesh Rajendran

Updated on September 17, 2022

Comments

  • Ramesh Rajendran
    Ramesh Rajendran over 1 year

    I am using Webgrid in MVC.And I was added in default column in the webgrid with link button(anchor tag). Now I want when the button click shown a confirmation message . But I tried in below code

    gridColumns.Add(grid.Column(
                format: 
        @<text>
        @if (item.complianceStatusId == (int)SchoolBreifcase.Models.Status.Tobeverified)
        {    
            @Html.ActionLink("Complete", "CompleteComplianceTask", new { complianceId = item.ComplianceId, statusId = item.complianceStatusId },
             new { onclick = "return confirm('Are you sure you wish to complete  this compliance ?');" }, new { @class = "gridButton" }) 
        }
        </text>
    

    Its showing error like : The best overloaded method match for 'System.Web.Helpers.WebGrid.Column(string, string, System.Func<dynamic,object>, string, bool)' has some invalid arguments

    I removed the css class or confirmation ,then Its working fine .But I want to confirmation message ,and assign CSS class in the same field . How to do i solve this ??

    I think i want for set css style like as webgrid,a {Styles } then we can remove the @class field in the anchor tag . But I try this .the css style not assigned in gridview button .

    Edit: Now i got the answer .I just changed for like below code

    @Html.ActionLink("Complete", "CompleteComplianceTask", new { complianceId = item.ComplianceId, statusId = item.complianceStatusId },
                 **new { @class = "gridButton", onclick = "return confirm('Are you sure you wish to complete  this task ?');"** }) 
    

    I am assigned the css class and confirmation messge in same object ,then it working perfect .

  • prakash selvam
    prakash selvam almost 14 years
    This was the scheme I wanted. I guess the other answer in here is that there is no easy way to convert textmate->vim themes. Just do it manually I suppose.
  • slf
    slf over 12 years
    gem install coloration
  • Indrek
    Indrek over 11 years
    While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes.