Coder Social home page Coder Social logo

andrewdsmith / vim-slim Goto Github PK

View Code? Open in Web Editor NEW

This project forked from slim-template/vim-slim

0.0 1.0 0.0 131 KB

A clone of the slim vim plugin from stonean. For use with Pathogen.

Home Page: https://github.com/stonean/slim

License: MIT License

Vim Script 100.00%

vim-slim's Introduction

vim-slim

slim syntax highlighting for vim.

Install with pathogen

If you are already using pathogen, you can skip to step 3.

  1. Install pathogen (if you haven't already)

     mkdir -p ~/.vim/autoload ~/.vim/bundle; \
     curl -so ~/.vim/autoload/pathogen.vim \
     https://raw.github.com/tpope/vim-pathogen/master/autoload/pathogen.vim
    
  2. Edit ~/.vimrc to run pathogen as the first line of the file (if you haven't already)

    call pathogen#infect()
    
    syntax enable
    filetype plugin indent on
  3. Install slim-vim

     pushd ~/.vim/bundle; \
     git clone git://github.com/slim-template/vim-slim.git; \
     popd
    

Install with vbundle

  1. Install Vundle into ~/.vim/bundle/.
    mkdir -p ~/.vim/bundle; pushd ~/.vim/bundle; \
    git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
    popd
  1. Configure your vimrc for Vundle. Here's a bare-minimum vimrc that enables vim-slim :

    set rtp+=~/.vim/bundle/Vundle.vim
    call vundle#begin()
    
    Plugin 'gmarik/Vundle.vim'
    Plugin 'slim-template/vim-slim.git'
    
    call vundle#end()
    syntax enable
    filetype plugin indent on

If you're adding Vundle to a built-up vimrc, just make sure all these calls are in there and that they occur in this order.

  1. Open vim and run :PluginInstall.

To update, open vim and run :PluginInstall! (notice the bang!)

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.