Hi all, I came across the following threads that discuss about the need for a command to jump to the next quickfix entry relative to the current file:
https://vi.stackexchange.com/questions/14356/go-to-quickfix-next-previous-cnext-cprevious-relative-to-current-file-position/14359#14359 https://www.reddit.com/r/vim/comments/bhpv0f/using_vimgrepquickfix_window_as_filter_from/ I think we can add :cfnext and :cfprev commands that jump to the quickfix entry relative to the current file. We will also need corresponding :lfnext and :lfprev commands for the location list. If the current file doesn't have any associated quickfix entry, then these commands will not move the cursor. An alternative approach is to add a :cfjump command that jumps to the quickfix entry nearest to the current line in the current file. Any comments/suggestions on these new commands? Thanks, 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.
