zed/crates/vim/test_data/test_command_g_normal.json
AidanV c32abbdfb7
vim: Fix :g/pattern/norm commands applying on all matches (#43352)
Closes #36359

Release Notes:

- Fixes bug where `:g/pattern/norm commands` would only apply on the
last match

---------

Co-authored-by: dino <dinojoaocosta@gmail.com>
2026-01-06 15:47:06 +00:00

22 lines
379 B
JSON

{"Put":{"state":"ˇfoo\n\nfoo\n"}}
{"Key":":"}
{"Key":"%"}
{"Key":"g"}
{"Key":"/"}
{"Key":"f"}
{"Key":"o"}
{"Key":"o"}
{"Key":"/"}
{"Key":"n"}
{"Key":"o"}
{"Key":"r"}
{"Key":"m"}
{"Key":"space"}
{"Key":"A"}
{"Key":"b"}
{"Key":"a"}
{"Key":"r"}
{"Key":"enter"}
{"Get":{"state":"foobar\n\nfoobaˇr\n","mode":"Normal"}}
{"Key":"u"}
{"Get":{"state":"foˇo\n\nfoo\n","mode":"Normal"}}