Why is there a difference between edit inside " and ( in Vim?
Fresh3 days ago
Mar 15, 2026663 viewsConfidence Score0%
0%
Problem
When doing the command Vim will edit the text inside the next quoted string on the line, even if the cursor is outside the quotation marks. However, when doing it only works if the cursor is being situated inside the parenthesizes. Why? Can be made to jump to the first occurence of as does? Sample …
Error Output
?assertEqual({200, "OK"}, status(FirstResponse)),
% ^
% Here I'm expecting ci( to jump in to the parenthesis ( ci" works)Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Why is there a difference between edit inside " and ( in Vim?
Low Risk
Following a quick look at the documentation ( , ), I am inclined to say that this is a bug in , rather than a deficiency in . The observed behaviour is consistent with and . That said, you can get the desired behaviour of with this mapping: --- EDIT…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix