sublimehq / Vintage

Vintage mode adds a vi style command mode to Sublime Text 2
http://www.sublimetext.com/docs/2/vintage.html
579 stars 76 forks source link

% behavior broken in visual mode #216

Open titouandk opened 2 years ago

titouandk commented 2 years ago

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):

https://user-images.githubusercontent.com/5413308/176919974-69fd535c-43dc-4500-875e-607e5d338452.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 }
        ]
    }
]