chuck.vim


Ⅰ. 插件描述

vim => dac;

Ⅱ. 基本信息

创建日期:  2014-01-05
使用用户:  22
Github星:  17
插件作者:  Andy Wilson

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/wilsaj/chuck.vim

Ⅳ. 文档说明

chuck.vim

A vim plugin for ChucK, a programming language for
real-time sound synthesis and music creation. Currently supports syntax highlighting,
and controling the Chuck VM(e.g. starting/stopping shreds).

installation

This plugin depends on vimproc for controlling the Chuck VM.

This plugin is vundle and
pathogen compatible. The simplest way
to get it installed is to use one of those.

For vundle, install by adding the repo to your list of plugins in your .vimrc

" vundle up
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()

" let vundle manage itself
Plugin 'gmarik/Vundle.vim'
Plugin 'Shougo/vimproc.vim'
Plugin 'highwaynoise/chuck.vim'

call vundle#end()
filetype plugin indent on

Then install using vundle inside vim.

:PluginInstall

Or you can also copy the files manually to their corresponding directories in
your ~/.vim/ directory if you're into the taste of awfulness.

usage

The following functions can be used to interact with the Chuck VM:

Starting/resetting Chuck VM (bound to <F10>):
call ChuckServerStart()

Stopping Chuck VM (bound to <F11>):
call ChuckServerStop()

Adding the current chuck script (bound to <F5>):
call ChuckBufferAdd()

添加新评论