beanshell.vim


Ⅰ. 插件描述

Runs the current buffer using BeanShell.

Ⅱ. 基本信息

创建日期:  2002-09-05
使用用户:  1
Github星:  4
插件作者:  Henry So, Jr.

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

This script invokes BeanShell ( see http://www.beanshell.org ) on the contents of the current buffer.

The script depends on java (needed to run BeanShell) as well as BeanShell itself.  The java executable should be in your PATH and the BeanShell jar should be in your CLASSPATH in order to use this script in its default configuration.

Press "<Leader>br" and BeanShell will be invoked on the contents of the current buffer (the current buffer will not be written out).  The output from BeanShell will appear in a new window.

BeanShell may also be invoked by entering the command ":BeanShell" or by selecting the "Invoke BeanShell" item from the "Plugin" menu.

Starting with version 1.2, a range may be supplied to the "BeanShell" command and the key command may be activated within a visual block.  Invoking BeanShell this way will cause it to act upon the specified lines rather than the entire buffer.

添加新评论