zed/crates/vim/test_data/test_command_visual_replace.json
Conrad Irwin bd59af1df5
vim: Support ranges in command (#15985)
The most requested feature here is "search and replace in visual mode",
but as a happy side effect we can now support things like :2,12j to join
those lines, and much much more.



Release Notes:

- vim: Added support for range syntax in command
([#9428](https://github.com/zed-industries/zed/issues/9428)).
- vim: Prefill command with `:'<,'>` from visual mode
([#13535](https://github.com/zed-industries/zed/issues/13535)).
2024-08-08 21:47:27 +01:00

13 lines
230 B
JSON

{"Put":{"state":"ˇ1\n2\n3\n4\n4\n3\n2\n1"}}
{"Key":"v"}
{"Key":"2"}
{"Key":"j"}
{"Key":":"}
{"Key":"s"}
{"Key":"/"}
{"Key":"."}
{"Key":"/"}
{"Key":"k"}
{"Key":"enter"}
{"Get":{"state":"k\nk\nˇk\n4\n4\n3\n2\n1","mode":"Normal"}}