On Jan 7, 8:46 pm, "John Beckett" <[email protected]> wrote:
> anokun7 wrote:
> > I can manually open all of them one by one and have multiple
> > vim windows open, but I am hoping there is a better way.
>
> A better way to achieve what? You described your situation well, but you
> would need to say what you are hoping for. All 13 logs in split windows?
> One log per tab page? Are you hoping that Vim will automatically switch
> to show the tail of the log that changed most recently? How big are the
> logs?
>
> I would use command ':set uc=0' (:help updatecount) so there was no
> swapfile, and use "view" (read only) to open the logs. You might think
> about turning syntax highlighting off. These points would reduce
> overhead.
>
> John

This is awesome - thank you for the really wonderful suggestions - I
still need to try them before I can settle on which suits best for me.

But the cygwin solution (as mentioned) will be unsuitable for my
environment, these are windows servers owned by another group.

My ideal solution is similar to what John mentions - I would like all
log files open in readonly mode and auto-refresh mode (or tail -f mode
if you will) - they are each not more than 2MBs in size. I do not know
the capability of VIM, but when a log file is updated I want to be
taken to that log file and show those contents, so I do not have to
sift through which was updated last. Also I should be able to pause if
too many files are being updated at once and I should be able to
search for a word across all files (like specific errors) - I hope you
get my drift. - are these all possible??
I need to make the most of vim's capability to make my life easier and
for that I am looking for any suggestions - the one provided are great
btw.

Thanks again & please keep the suggestions coming...
Anoop

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to