mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 07:35:01 +03:00
bd59af1df5
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)).
29 lines
499 B
JSON
29 lines
499 B
JSON
{"Put":{"state":"ˇ1\n2\n3\n4\n4\n3\n2\n1"}}
|
|
{"Key":":"}
|
|
{"Key":"2"}
|
|
{"Key":","}
|
|
{"Key":"4"}
|
|
{"Key":"d"}
|
|
{"Key":"enter"}
|
|
{"Get":{"state":"1\nˇ4\n3\n2\n1","mode":"Normal"}}
|
|
{"Key":":"}
|
|
{"Key":"2"}
|
|
{"Key":","}
|
|
{"Key":"4"}
|
|
{"Key":"s"}
|
|
{"Key":"o"}
|
|
{"Key":"r"}
|
|
{"Key":"t"}
|
|
{"Key":"enter"}
|
|
{"Get":{"state":"1\nˇ2\n3\n4\n1","mode":"Normal"}}
|
|
{"Key":":"}
|
|
{"Key":"2"}
|
|
{"Key":","}
|
|
{"Key":"4"}
|
|
{"Key":"j"}
|
|
{"Key":"o"}
|
|
{"Key":"i"}
|
|
{"Key":"n"}
|
|
{"Key":"enter"}
|
|
{"Get":{"state":"1\nˇ2 3 4\n1","mode":"Normal"}}
|