-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Description
Describe the bug
[[ and ]]motions do not work in code. ][ and [] behave as expected.
To Reproduce
Steps to reproduce the behavior:
Open a new file and paste the following (I am using Rust):
fn a() {
// do stuff
}
struct B {
a: u32,
}
fn c() {
// do more stuff
}- Move cursor to anywhere on the line
fn a() {and type]].- Expected Behavior: cursor moves to the open bracket in the line
struct B { - Actual Behavior: cursor moves to the end of file
- Expected Behavior: cursor moves to the open bracket in the line
- Move cursor to anywhere on the line
fn c() {and type[[.- Expected Behavior: cursor moves to the open bracket in the line
struct B { - Actual Behavior: cursor moves to the beginning of file
- Expected Behavior: cursor moves to the open bracket in the line
Screenshots
Not applicable
Environment (please complete the following information):
- Extension (VsCodeVim) version: 1.31.0
- VSCode version: Code 1.105.1 (7d842fb85a0275a4a8e4d7e040d2625abbf7f084, 2025-10-14T22:33:36.618Z)
- OS: Windows_NT x64 10.0.26100
Additional context
None
Metadata
Metadata
Assignees
Labels
No labels