On Mar 17, 2:10 pm, Malte Forkel <[email protected]> wrote: > Hi, > > I would like to use vim to look at the same time interval in two or more > log files, using split views and scrollbind. > > But how can I get vim to scroll "by time" rather than "by line"? I.e., > if I scroll one view by one minute, the other views should be scrolled > by one minute as well. That might translate into a different number of > lines in each view, though. > > Is there any way to do this in vim? >
Probably not a built-in way, unless they are similar enough to diff. Actually you may be able to play with Vim's diffexpr to allow this to work, but you probably won't be able to rely on the normal external diff tool unless the logs are very similar. -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
