Today I Learned

A Hashrocket project

Iterating Quickfix with Vim-Unimpaired ๐Ÿ

Vimโ€™s quickfix buffer is a place I spend a lot of time. Iterating through it can be done in a couple of ways:

:cprevious
:cnext
:cfirst
:clast

Or shortened:

:cp
:cn
:cfir
:cla

vim-unimpaired has some nice mappings to help.

[q     :cprevious
]q     :cnext
[Q     :cfirst
]Q     :clast

With [q and ]q weโ€™re flying through those results.

h/t Dorian

Every developer at Hashrocket is a Vim expert. Check out our development environment, Dotmatrix, and if you are in Chicago, come to the Vim Chicago Meetup hosted at our Chicago office.