gvim 的尾部功能
问题描述:
我想用 gvim 查看一个不断更新的日志文件,这样我总是能看到最后更新的行,就像 unix 中的 tail 命令一样.可能吗?
I want to use gvim to view a log file which is being updated continuously, such that I always see the last updated line, much like tail command in unix. Is it possible?
答
打开日志文件并
:setlocal autoread
Tail Bundle)href="http://www.vim.org" rel="noreferrer">vim 网站.
There is a plugin (Tail Bundle) on the vim site.