mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-10 04:27:40 +00:00
dea928b00c
Some checks are pending
CI / Check formatting and spelling (push) Waiting to run
CI / (macOS) Run Clippy and tests (push) Waiting to run
CI / (Linux) Run Clippy and tests (push) Waiting to run
CI / (Windows) Run Clippy and tests (push) Waiting to run
CI / Create a macOS bundle (push) Blocked by required conditions
CI / Create a Linux bundle (push) Blocked by required conditions
CI / Create arm64 Linux bundle (push) Blocked by required conditions
Deploy Docs / Deploy Docs (push) Waiting to run
Fixing the "r" action just involved adapting `normal_replace` to replace multiple characters. Fixing the "shift-r" command was less straightforward. The bindings for `vim::BeforeNormal` in replace mode were being overwritten and several other steps required for action repetition were not performed. Finally, the cursor adjustment after re-entering normal mode was duplicated (`vim::BeforeNormal` was now triggered correctly) so I removed the special case for replace mode. Release Notes: - Fixed vim "r" action to accept a count argument - Fixed vim "shift-r" action to accept a count argument and allow repetition --------- Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
10 lines
195 B
JSON
10 lines
195 B
JSON
{"Put":{"state":"ˇhello world\n"}}
|
|
{"Key":"shift-r"}
|
|
{"Key":"-"}
|
|
{"Key":"-"}
|
|
{"Key":"-"}
|
|
{"Key":"escape"}
|
|
{"Key":"4"}
|
|
{"Key":"l"}
|
|
{"Key":"."}
|
|
{"Get":{"state":"---lo --ˇ-ld\n","mode":"Normal"}}
|