Ⅰ. 插件描述
Easy REPL in VimⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'koturn/vim-replica'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'koturn/vim-replica'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'koturn/vim-replica'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/koturn/vim-replica
Ⅳ. 文档说明
vim-replica
Easy REPL in Vim.
Usage
Launch repl.
:Replica [command-name]You can also use if_xxx in replica buffer as following.
:ReplicaInternal [if_xxx-name]Installation
With dein.vim
Write following code to your .vimrc and execute :call dein#install() in
your Vim.
call dein#add('koturn/vim-replica', {
\ 'on_cmd': [
\ 'Replica',
\ 'ReplicaInternal'
\ ]
\})With NeoBundle
Write following code to your .vimrc and execute :NeoBundleInstall in your
Vim.
NeoBundle 'koturn/vim-replica'If you want to use :NeoBundleLazy, write following code in your .vimrc.
NeoBundle 'koturn/vim-replica', {
\ 'on_cmd': [
\ 'Replica',
\ 'ReplicaInternal'
\ ]
\}With Vundle
Write following code to your .vimrc and execute :PluginInstall in your Vim.
Plugin 'koturn/vim-replica'With vim-plug
Write following code to your .vimrc and execute :PlugInstall in your Vim.
Plug 'koturn/vim-replica'With vim-pathogen
Clone this repository to the package directory of pathogen.
$ git clone https://github.com/koturn/vim-replica.git ~/.vim/bundle/vim-replicaWith packages feature
In the first, clone this repository to the package directory.
$ git clone https://github.com/koturn/vim-replica.git ~/.vim/pack/koturn/opt/vim-replicaSecond, add following code to your .vimrc.
packadd vim-replicaWith manual
If you don't want to use plugin manager, put files and directories on~/.vim/, or %HOME%/vimfiles/ on Windows.
Requirements
Vim 8 job.
LICENSE
This software is released under the MIT License, see LICENSE.