Tip 106Browse the Quickfix List

The quickfix list holds a collection of locations from one or more files. Each record could be an error raised by the compiler when running :make, or it could be a search match from running :grep. No matter how the list was forged, we must be able to navigate these records. In this tip, we’ll review the ways of browsing the quickfix list.

An exhaustive list of commands for navigating the quickfix list can be found by looking up quickfix. Table 17, ​Commands for Working with the Quickfix List shows some of the most useful.

Table 17. Commands for Working with the Quickfix List


Jump to next item


Jump to previous item


Jump to first item


Jump to last item


Jump to first ...

Get Practical Vim, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.