Ⅰ. 插件描述
Provides near real-time update of a file in the preview window.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/tailminusf'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/tailminusf'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/tailminusf'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/TailMinusF
Ⅳ. 文档说明
TailMinusF allows you to view the contents of a file in real time. When a
change in the file is detected, the window displaying the file is updated and
repositioned to the last line.
The update is not exactly real time, but usually updates within a few seconds
of the file change. The update interval of the output is determined by the
|updatetime| parameter, along with continued usage of Vim. This means that if
you are not doing any editing or motion commands, the preview window will not
be updated. See |CursorHold| for more information.
Because this window becomes the preview window, it will accept all related
commands. For more information, see |preview-window|.
Once installed, simply use ':Tail <filename>' to see the file.
Use ':pclose' to close this window.