mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 07:35:01 +03:00
694c912201
Closes #16977 Release Notes: - added current line as default sed range to match vim's behavior - changed tests accordingly This also simplifies `ReplaceCommand` implementation by changing `Option<CommandRange>` to `CommandRange` .
31 lines
528 B
JSON
31 lines
528 B
JSON
{"Put":{"state":"ˇa\nb\nb\nc"}}
|
|
{"Key":":"}
|
|
{"Key":"%"}
|
|
{"Key":"s"}
|
|
{"Key":"/"}
|
|
{"Key":"b"}
|
|
{"Key":"/"}
|
|
{"Key":"d"}
|
|
{"Key":"enter"}
|
|
{"Get":{"state":"a\nd\nˇd\nc","mode":"Normal"}}
|
|
{"Key":":"}
|
|
{"Key":"%"}
|
|
{"Key":"s"}
|
|
{"Key":":"}
|
|
{"Key":"."}
|
|
{"Key":":"}
|
|
{"Key":"\\"}
|
|
{"Key":"0"}
|
|
{"Key":"\\"}
|
|
{"Key":"0"}
|
|
{"Key":"enter"}
|
|
{"Get":{"state":"aa\ndd\ndd\nˇcc","mode":"Normal"}}
|
|
{"Key":"k"}
|
|
{"Key":":"}
|
|
{"Key":"s"}
|
|
{"Key":"/"}
|
|
{"Key":"dd"}
|
|
{"Key":"/"}
|
|
{"Key":"ee"}
|
|
{"Key":"enter"}
|
|
{"Get":{"state":"aa\ndd\nˇee\ncc", "mode":"Normal"}} |