# Modify Error and Location Lists in Vim ## Metadata **Status**:: #x **Zettel**:: #zettel/literature **Created**:: [[2023-08-03]] **Topic**:: [[♯ Vim]] ## Synopsis Empty the list ``` :cexpr [] :lexpr [] ``` Filter the list ``` packadd cfilter Cfilter[!] /pattern/ Lfilter[!] /pattern/ ``` Use `[!]` for inverse match.