Is there a way to open just the quickfix list without jumping to the first result when using
:lt? I am using
:lt to populate the location list with tags that match with the following binding:
nmap <expr> <Leader>t ":lt /" . input("", "", "tags") . "<CR>:lop<CR><C-k><C-o><C-j>"
which works to some degree. Given that
<C-j> are mappings for the associated window movement commands, this breaks down if the quickfix window is below some complex set of splits.
:h tag-matchlist and
:h quickfix don't seem to offer any helpful information. However, some options like
:cgete seem like the functionality is there, as they specify "but don't jump to the first error", which isn't an option for
:lt as it specifies"Jump to tag" as part of its behavior.
So, the new question is: how can I populate the location list with tags matching a pattern without jumping to the first match?
I am currently working on trying to get it to work with