Hi, On Sun, Apr 23, 2017 at 7:03 AM, LemonBoy <[email protected]> wrote: > > This behavior is more intuitive IMO, full backward compatibility is > achieved by introducing a new option, a test is provided but makes no sense, > gotta adjust it if you like the patch. >
If I understand correctly, when jumping to a quickfix entry, you want to use the previous window instead of the window just above the quickfix window. Is that correct? I am assuming that if the file is already opened in another window, then the cursor will move to that window. Note that the 'switchbuf' option is used when switching between buffers using any of the buffer commands or by the quickfix commands. So you need to add code to other buffer switching commands like ':sbuffer', ':sbnext', etc to support this new option value. - Yegappan > > Cheers. > > ________________________________ > > You can view, comment on, or merge this pull request online at: > > https://github.com/vim/vim/pull/1652 > > Commit Summary > > Introduce 'uselast' option for 'switchbuf'. > > File Changes > > M runtime/doc/options.txt (2) > M src/option.h (3) > M src/quickfix.c (8) > M src/testdir/test_quickfix.vim (8) > > Patch Links: > > https://github.com/vim/vim/pull/1652.patch > https://github.com/vim/vim/pull/1652.diff > -- -- 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.
