Am Montag, 21. Juli 2014 19:48:53 UTC+2 schrieb Christian Brabandt: > Hi Enno! > > > > On Mo, 21 Jul 2014, Enno wrote: > > > > > When using mkview and loadview autocmds such as > > > > > > au BufWinLeave *.vim mkview > > > au BufWinEnter *.vim silent loadview > > > > > > then jumping to a yet not displayed *.vim file from a quickfix window, for > > example a match found by the plugin ack.vim, then > > > > > > ':echo winnr()==winnr('#')<CR>' > > > > > > shows > > > > > > '1'. > > > > > > Since the quickfix window is still open, expected is > > > > > > '0'. > > > > > > This makes a preview mapping in the quickfix window impossible, such as > > > > > > autocmd FileType qf nnoremap <buffer> p <CR><C-W>p > > > > > > that jumps to a result but keeps the focus in the quickfix (location) list > > window. If this equality of previous and current window is expected, > > > which mapping is the correct one? > > > > I don't think so, this is expected behaviour. I can't however reproduce > > the problem, so not sure how to fix it. > > > > Best, > > Christian > > -- > > Vorschuß ist aller Laster Anfang.
Hello Christian, Thanks for trying. I forget to mention that I am using VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jul 14 2014 16:53:00) MS-Windows 64-bit GUI version with OLE support Included patches: 1-364 -- -- 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 vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.