Sau đây là từ tài liệu về danh sách Quickfix và danh sách vị trí. Nhưng tôi không chắc những gì thực sự khác nhau. Hình ảnh bên dưới cho thấy những điều tương tự từ danh sách vị trí và danh sách sửa nhanh. Khi nào tôi sử dụng cái này hay cái khác trong vimgrep và 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.
...

CẬP NHẬT
Tôi tìm thấy những điều sau đây từ đây .
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.
Vì vậy, sự khác biệt là tất cả các cửa sổ cho danh sách Quickfix và cửa sổ cục bộ cho danh sách vị trí. Tuy nhiên, tôi có thể mở danh sách vị trí từ bất kỳ cửa sổ nào khác. Vậy sự khác biệt sau đó là gì ??
