On Wed, Jun 08, 2016 at 10:33:55PM +0200, Christian Brabandt wrote: > Hi skywind3000! > > On Do, 09 Jun 2016, [email protected] wrote: > > > ":cbottom" seems more adaptive than auto scroll > > Why? I think it has been shown, that depending on the use case auto > scroll does not make sense always. So it's not that hard, to simply > scroll manually, whenever you need. I am not sure, an extra :cbottom > command is really needed, but I am not against it.
How about a compromise: any build/grep/etc. plugin that adds new lines to the end of the quickfix should autoscroll if and only the bottom line was already visible. This way if the user switched to the quickfix window and started studying the 1st error or whatnot, they won't be distracted by autoscrolling. And if the user just wants to see how the build is progressing, they don't need to do anything special. Now implementation-wise maybe it's best to have a way for vimscript to determine if the bottom quickfix row is visible or not, before adding new lines, and then the script can call the suggested :cbottom depending on the saved result. Marius Gedminas -- UNIX is user friendly. It's just selective about who its friends are. -- -- 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.
signature.asc
Description: PGP signature
