tail like functionality for gvim

前端 未结 3 633
悲哀的现实
悲哀的现实 2021-02-02 10:00

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?

3条回答
  •  耶瑟儿~
    2021-02-02 10:42

    Open logfile and

    :setlocal autoread
    

    There is a plugin (Tail Bundle) on the vim site.

提交回复
热议问题