vimbed


Ⅰ. 插件描述

A plugin for embedding vim

Ⅱ. 基本信息

创建日期:  2014-05-25
使用用户:  7
Github星:  91
插件作者:  James Kolb

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

Vimbed

Vimbed is a Vim plugin for embedding Vim in other programs. Run Vim in the background using Vimbed to ease communication with external processes.

Projects that use Vimbed

  • Athame patches GNU Readline to embed Vim in bash, gdb, python, etc. Athame can also be used to patch Zsh to add Vim.
  • Pterosaur embeds Vim in Firefox textboxes. (No longer maintained)
  • Chalcogen embeds Vim in the Atom editor. (Experimental. Not maintained)

Requirements

  • Vimbed requires Vim with +clientserver.
  • Vimbed works best in GNU/Linux.
  • Vimbed also works in OSX, but doing so requires XQuartz. (This is a requirement of vim's +clientserver functionality.)

Installation

Install vimbed with your favorite plugin-manager. If you use pathogen:

cd ~/.vim/bundle
git clone http://github.com/ardagnir/vimbed

Note that vimbed won't be very useful without another process to communicate with.

API

Coming eventually. Until then, see Athame, Pterosaur, and Chalcogen for examples.

License

AGPL v3

添加新评论