title: Quickfix List Notes h1: # 1 Source: [medium.com](https://medium.com/@EduardoRodriguesF/vim-start-using-quickfix-lists-e43a7a29ba52) ## The Idea Save error messages from a compiler in a file and use Vim to jump to the errors one by one. ## Basic Commands: + copen: open quickfix list in a separate window + cclose: close quickfix list + cn[ext]: go to next item in the list + cp[rev]: go to previous item in the list ``` nnoremap :cnext nnoremap :cprev ``` ## QuickFix Do The `:cdo` command: ``` :cdo s/something/something-else/gc :cdo norm _:s/const/functionf=hdt(f=dt{ ``` We can record a macro. Then ``` :cdo norm @j ```