Open jpmv27 opened 7 years ago
Is there any issue with unconditionally calling copen/lopen when there are matches?
It appears that copen/lopen move the cursor to the quickfix/location list window when called. As such this would compete with the 'jump to match option' without further changes. In order to allow unconditionally opening the window yet allow jump to match we'd need to do something like:
If you want to take a crask at fixing this it I'd appreciate it and accept a pull request.
I have EasyGrep configured to display results in the location list.
vim allows multiple location lists to be open at one time. Because of the way
IsListOpen
checks whether the location list is open, if a location list is already open in one tab, EasyGrep won't open the grep window in a different tab whenEasyGrepOpenWindowOnMatch=1
and there are matchesWhy is it necessary to check whether the window is already open? Is there any issue with unconditionally calling
copen
/lopen
when there are matches?