Am 18.03.2011 18:13, schrieb Ben Fritz: > > 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. >
Unfortenately, the logs are very different. Would it be possible to write a script that is triggered by scrolling one windows and then scrolls the connected (bound) windows? Given the amount scrolled (in terms of number of lines) and the time interval now shown (timestamps of first and last line shown), the script should be able to determine the new top (or bottom, depending on scroll direction) line in all connected windows, based on the timestamps in those files and compute the necessary scroll offset (in terms auf number lines) for those windows. Are the hooks and the information required to do this availabe in/from vim? -- 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
