vim-autoread


Ⅰ. 插件描述

Use tail -f on a buffer and append new content

Ⅱ. 基本信息

创建日期:  2016-10-14
使用用户:  7
Github星:  26
插件作者:  Christian Brabandt

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

vim-autoread

A plugin to automatically re-read your buffers, when they change

This plugin uses Vim 8 async jobs to append new buffer content. Internally, it
works by running tail -f on a file and the output will be appended to the
buffer, which displays this buffer.

Installation


Use the plugin manager of your choice.

Alternatively, since Vim 8 includes a package manager by default, clone this repository below
~/.vim/pack/dist/start/

You should have a directory ~/.vim/pack/dist/start/vim-autoread
That directory will be loaded automatically by Vim.

Usage


Once installed, take a look at the help at :h vim-autoread.

Here is a short overview of the functionality provided by the plugin:

Ex commands:

:AutoRead     - starts a async job and will append new buffer content
                to the current buffer once it is noticed.
:AutoRead!    - stop autoreading

License & Copyright


Developed by Christian Brabandt.
The Vim License applies. See :h license

© 2009-2016 by Christian Brabandt

NO WARRANTY, EXPRESS OR IMPLIED. USE AT-YOUR-OWN-RISK

添加新评论