Hi, On Tue, Aug 14, 2018 at 3:05 PM, Andy Massimino <[email protected]> wrote: > I noticed that when jumping using quickfix commands such as :cc and :cnext, > the cursor often moves unexpectedly horizontally when typing j ad k. This > seems to be caused by not setting curswant in qf_jump_goto_line. > > It can be reproduced by vim --clean -c 'helpgrep screen' -c '2q|copen' then > alternating between :cnext and moving cursor up and down with j/k, > specifically :1cc, hhhh, :1cc, j >
Can you add a test for this? You can use getcurpos() to check for the curswant column after jumping to a quickfix entry. Thanks, Yegappan > > ________________________________ > > You can view, comment on, or merge this pull request online at: > > https://github.com/vim/vim/pull/3331 > > Commit Summary > > Set curswant on cc > > File Changes > > M src/quickfix.c (1) > > Patch Links: > > https://github.com/vim/vim/pull/3331.patch > https://github.com/vim/vim/pull/3331.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.
