Skip to content

% behavior broken in visual mode #216

@titouandk

Description

@titouandk

Hello,

The % command to navigate between opposite brackets seems to be broken in VISUAL mode.

Current behavior VS expected behavior

Here is the current behavior in Sublime Text 4, compared to the expected behavior (VS Code):

visual-percent.mp4

Test case

Here is the JSON to paste into your editor to reproduce the bug:

[
	{ "keys": ["ctrl+super+alt+l"], "command": "insert", "args": {"characters": "["}, "context":
		[
			{ "key": "setting.command_mode", "operator": "equal", "operand": false },
			{ "key": "panel_visible", "operator": "equal", "operand": true }
		]
	}
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions