Hi, On Fri, Jul 13, 2018 at 2:57 PM, Daniel Hahler <[email protected]> wrote: > Thanks! > > From the linked solution: > > It will not tell you which window is to the immediate right > > That's a problem: I need to get to the window. > > In #1839 (comment) I've mentioned to have tried screenrow and winline > already, which appear to be similar. > > Having the patches from Yegappan would be good after all - without having > looked at them yet. >
The pull request https://github.com/vim/vim/pull/2521 adds a 'neighbors' field to the dictionary returned by the getwininfo() function. This list field contains the identifiers of the neighboring windows of the given window. If more than one window is present in a given direction, then the identifier of the first window is returned. - Yegappan -- -- You received this message from the "vim_dev" 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 --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
