tags:

views:

934

answers:

1

Duplicate: http://stackoverflow.com/questions/785389/using-vim-as-a-logfile-viewer/785412

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?

+9  A: 

Open logfile and

:setlocal autoread

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

Mykola Golubyev