-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
previous window not quickfix window when jumping back from already open split #22
Comments
I've noticed there was a discrepancy between the 'prev win / tab' behavior of new win commands (such as vopen) and new tab commands (such as topen). Prior to the new version 2.4.1, the previous window is the window focused before the quickfix window for new win commands, whereas the previous window and tab are set to the quickfix window from which the QFEnter open command is invoked and the tab the window belongs to for new tab commands. To match these two behavior, I've add a new option You can just use |
Thank you! |
Albeit, it only works on the first invocation of |
Could you give me more details about your test settings? |
In a tab with two windows,
|
I've just pushed a commit that fix a bug with 'open' command, not 'hopen' command. |
Yes, Thank you fixing the bug but this specific issue persists. On the second |
I've tested the scenario with a freshly installed vim 8.1.2269 on freshly installed Ubuntu 20.04 which is installed as a singularity container from https://cloud.sylabs.io/library/_container/5baba99394feb900016ea433, but cannot reproduce the reported behavior. The |
I can reproduce on Vim 8.1568 and the let &rtp = '~/.vim/plugged/QFEnter/' . ',' . &rtp
filetype plugin indent on
syntax on
set switchbuf=useopen |
I am sorry, I missed mentioning in the initial post that |
Okay, it's from the use of switchbuf. |
Thank you! It's working now. |
If the quickfix window, the buffer that contains the line of a quickfix entry and another window are shown the current tab, then,
g:qfenter_keymap.hopen
, by default<Leader><Space>
(to jump to the buffer of that quickfix entry), and<c-w>p
(see:help CTRL-W_p
), now inside the window of the buffer that contains the quickfix entrythen the focus should expectedly go back to the previous window, the quickfix window.
Instead, it will be that of the other window.
The text was updated successfully, but these errors were encountered: