Neovim version (nvim -v | head -n1)
NVIM v0.12.0-dev-2658+ga969e92249
Operating system/version
Arch Linux
How to reproduce the issue
- Set the value of
'switchbuf' to 'usetab'.
- Open two tabs simultaneously, where tab1 contains file A and tab2 contains file B.
- Open the quickfix window in tab1. Locate an entry that points to a position in file B, move the cursor to this entry, and press
<CR>.
Expected behavior
The current tab should be set to tab2, which contains file B. This is the default behavior of <CR> in the quickfix window, and it should follow 'switchbuf'.
Actual behavior
The current tab remains tab1, but the file being displayed has changed from file A to file B, resulting in both tab1 and tab2 displaying file B. This occurs because this plugin maps <CR> in the qf window, causing the default behavior to be overridden.
Neovim version (nvim -v | head -n1)
NVIM v0.12.0-dev-2658+ga969e92249
Operating system/version
Arch Linux
How to reproduce the issue
'switchbuf'to'usetab'.<CR>.Expected behavior
The current tab should be set to tab2, which contains file B. This is the default behavior of
<CR>in the quickfix window, and it should follow'switchbuf'.Actual behavior
The current tab remains tab1, but the file being displayed has changed from file A to file B, resulting in both tab1 and tab2 displaying file B. This occurs because this plugin maps
<CR>in the qf window, causing the default behavior to be overridden.