Quanto segue è tratto dalla documentazione relativa all'elenco quickfix e all'elenco delle posizioni. Ma non sono sicuro di cosa sia effettivamente diverso. L'immagine sotto mostra le stesse cose dall'elenco delle posizioni e dall'elenco delle correzioni rapide. Quando uso l'uno o l'altro in vimgrep e lvimgrep.
In Vim the quickfix commands are used more generally to find a list of positions
in files.For example, |:vimgrep| finds pattern matches. You can use the positions
in a script with the |getqflist()| function. Thus you can do a lot more than the
edit/compile/fix cycle!
...
...
*location-list* *E776*
A location list is similar to a quickfix list and contains a list of positions
in files. A location list is associated with a window and each window can have
a separate location list. A location list can be associated with only one window.
The location list is independent of the quickfix list.
...

AGGIORNARE
Ho trovato quanto segue da qui .
These commands all fill a list with the results of their search. "grep" and
"vimgrep" fill the "quickfix list", which can be opened with :cw or :copen,
and is a list shared between ALL windows. "lgrep" and "lvimgrep" fill the
"location list," which is local to the current window, and can be opened
with :lw or :lopen. Both of these lists can be used to instantly jump to
the matching line in whatever file it occurs in.
Quindi la differenza è che tutte le finestre per l'elenco di correzione rapida e la finestra locale per l'elenco delle posizioni. Tuttavia posso aprire l'elenco delle posizioni da qualsiasi altra finestra. Allora qual è la differenza?
