MEGASITE FORUM [www.megasiteforum.tk] Trucchi, curiosità e consigli sul pc, e non solo! Download, pc help assistenza informatica aiuto computer, programmazione, calcio, basket, formula 1 e motori, divertimento, musica, tv & cinema, spazio per ragazze, notizie hi-tech e multimedia, games

Vim with Rails

  • Posts
  • OFFLINE
    S6uRoN
    Post: 3,513
    Gender: Male
    Admin
    UltraMegaSiter
    00 10/25/2005 8:53 AM
    Guidina per configurare al meglio il nostro VI per RubyOnRails

    http://wiki.rubyonrails.com/rails/pages/HowtoUseVimWithRails/versions/7

    File per evidenziare la sintassi nelle pagine rhtml:

    description
    This script properly highlights <% ... %>, <%=...%>, and <%#...%> as ruby code within html.

    install details
    Save the file eruby.vim to your ~/.vim/syntax directory and add a line in your ~/.vimrc or in ~/.vim/filetype.vim to load this syntax file for all *.rhtm and *.rhtml files.

    http://www.vim.org/scripts/script.php?script_id=403




    Running on:
    Get Firefox!

    " ...when you look long into the abyss, the abyss also looks into you ... "


    ~~~~~~~~~~
    Crudeli Equipe

    [Modificato da S6uRoN 25/10/2005 8.53]

    [Modificato da S6uRoN 19/11/2005 23.35]

  • OFFLINE
    ReMichael
    Post: 4,574
    Gender: Male
    Admin
    GreatMegaSiter
    00 10/25/2005 12:09 PM
    [SM=x165462]
  • OFFLINE
    S6uRoN
    Post: 3,546
    Gender: Male
    Admin
    UltraMegaSiter
    00 12/30/2005 11:54 PM
    Per ricordarsi dove stanno in Ubuntu...
    /usr/share/vim/vim63/syntax
    /usr/share/vim/vim63/filetype.vim