termedit.nvim


Ⅰ. 插件描述

Sets the Neovim host instance as $EDITOR.

Ⅱ. 基本信息

创建日期:  2015-11-17
使用用户:  1
Github星:  8
插件作者:  rliang

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# termedit.nvim
Sets the Neovim host instance as $EDITOR.

Summary

This plugin sets $EDITOR to a python script that has the host Neovim instance
open its given arguments. It's useful mostly for :term.

The script then blocks until all files opened by the script are closed, or
:TermRelease is invoked.

Commands

  • TermRelease: When invoked on a buffer opened through this plugin, has the
    script exit without waiting for the buffer to be unloaded.

Requirements

python-neovim or python3-neovim

Credits

The python script is based on [this script by
@tarruda](https://gist.github.com/tarruda/37f7a3e22996addf8921) and [this
script by
@lahwran](https://github.com/lahwran/dotfiles/blob/master/bin/nvim-inner).

添加新评论