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

Add a usevisible switchbuf option #1329

Merged
merged 1 commit into from
Sep 5, 2024
Merged

Conversation

mfussenegger
Copy link
Owner

Closes #1328

that can be used to prevent jumps within the active
window if a stopped event is within the visible region.
Best used in combination with other options. For
example: 'usevisible,usetab,uselast'
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do the 'usetab, uselast' options do?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See :help 'switchbuf':

	   useopen	If included, jump to the first open window in the
			current tab page that contains the specified buffer
			(if there is one).  Otherwise: Do not examine other
			windows.
	   usetab	Like "useopen", but also consider windows in other tab
			pages.

	   uselast	If included, jump to the previously used window [..]

@mfussenegger mfussenegger merged commit 20a4859 into master Sep 5, 2024
16 checks passed
@mfussenegger mfussenegger deleted the switchbuf-usevisible branch September 5, 2024 15:29
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

Successfully merging this pull request may close these issues.

Don't move the cursor when advancing the debugger
2 participants