Ⅰ. 插件描述
A quickrun plugin to show intermediate codesⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'ujihisa/quicklearn'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'ujihisa/quicklearn'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'ujihisa/quicklearn'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/ujihisa/quicklearn
Ⅳ. 文档说明
# quicklearn
<object width="480" height="386" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000">
<param name="flashvars" value="vid=18198707&autoplay=false"/>
<param name="allowfullscreen" value="true"/>
<param name="allowscriptaccess" value="always"/>
<param name="src" value="http://www.ustream.tv/flash/viewer.swf"/>
</object>
Video streaming by Ustream
Quicklearn is a quickrun plugin and is a Unite plugin at the same time.
Quicklearn compiles the code you are writing, opens another window, and shows the intermediate code of the language.
C
- Assembly language (gcc)
- LLVM IR (clang)
Haskell
- Core (ghc)
CoffeeScript
- JavaScript
Ruby
- YARV Instructions (CRuby)
Usage
:Unite quicklearn -immediately
Sample configulation for ~/.vimrc:
nnoremap <space>R :<C-u>Unite quicklearn -immediately<Cr>
Don't forget the -immediately option.
Author
Tatsuhiro Ujihisa
License
GPLv3 or any later versions