Skip to content
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

]q and [q opens the location in the current window without looking for an opened split #141

Open
sunnypp opened this issue Nov 27, 2017 · 1 comment

Comments

@sunnypp
Copy link

sunnypp commented Nov 27, 2017

When I work side-by-side on a test file and the script I am testing, if I have (mistakenly) patched a bad value, I would see an error showing the line number in the script file.

When I use [q or ]q, as my cursor focus is in the test file, the test file split will be used to open the script file, despite that the script file is already opened in another split.

If I have used the native QuickFix Window, as expected when I press <Enter> the script file's split will be focused with cursor moved to the specified line.

Please advice.

@tpope
Copy link
Owner

tpope commented Nov 30, 2017

See :help switchbuf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants