On Jan 8, 2:15 am, "John Beckett" <[email protected]> wrote:
> Vim, of course, is a text editor, and it does not have a built-in method
> to notice when one of a number of files has changed, then switch to show
> the tail of that file. You could probably script something, but it might
> not be pretty.
Would the FileChangedShell autocmd event allow you to do this?
> There are programs intended for reviewing log files, and they can make
> assumptions that Vim can't.
Though, a special purpose Vim script could be used to launch Vim in a
special mode only meant for viewing your log files.
People have mentioned several ways to keep all the log files open in
Vim, but using Vim's tab pages has only been briefly mentioned. I
personally really like tab pages in Vim...for many purposes it's like
having a Vim instance per tab, except that you can share information
back and forth between tabs much easier than between full instances,
and you don't clutter up your taskbar on Windows or the equivalent on
other systems with tons of Vim windows.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---