Die folgende ist aus der Dokumentation über die Quickfix-Liste und Standortliste. Aber ich bin mir nicht sicher, was eigentlich anders ist. Das Bild unten zeigt die gleichen Dinge aus der Standortliste und Quickfix-Liste. Wann verwende ich den einen oder anderen in vimgrep und lvimgrep?Was ist der Unterschied zwischen Standortliste und Quickfix-Liste in Vim
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.
...
UPDATE
fand ich die folgende from here.
Also der Unterschied ist alle Fenster für Quickfix-Liste und lokales Fenster für Standortliste. Ich kann jedoch die Standortliste von anderen Fenstern aus öffnen. Also was ist der Unterschied dann ??
Allgemeiner: Die quickfix Liste ist am besten, wenn Sie Ihre Suche oder kompilieren mehrere Dateien beinhaltet, wenn die Standortliste am besten nur eine einzige Datei beteiligt ist. –
Insbesondere, wenn Sie starten vim mit '-q errors.txt', nach Fehlern in' errors.txt' (dh 'gcc -Wall * .c> errors.txt 2> & 1 ') kompilieren setzen, wird vim bevölkern die quickfix-Liste aus der Liste der Kompilierfehler, was sehr praktisch ist. – Kevin
Yahoo! Tolle Erklärung! –