vim-slime-syntax


Ⅰ. 插件描述

Ⅱ. 基本信息

创建日期:  2011-03-12
使用用户:  19
Github星:  5
插件作者:  Slime

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'slime-lang/vim-slime-syntax'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'slime-lang/vim-slime-syntax'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'slime-lang/vim-slime-syntax'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/slime-lang/vim-slime-syntax

Ⅳ. 文档说明

vim-slime

Slime syntax highlighting for vim, based off vim-slim.

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 slime-vim-syntax

    pushd ~/.vim/bundle; \
    git clone git@github.com:slime-lang/vim-slime-syntax.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.git ~/.vim/bundle/vundle
    popd
  1. Configure your vimrc for Vundle. Here's a bare-minimum vimrc that enables vim-slime-syntax :
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()

Bundle 'slime-lang/vim-slime-syntax.git'

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 :BundleInstall.

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

添加新评论