zed/assets/keymaps
Benjamin Davies 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
vim: Allow count and repeat for "r" and "shift-r" action (#13287)
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>
2024-06-24 09:41:33 -06:00
..
atom.json Add Markdown Preview shortcut to Atom keymap (#13313) 2024-06-21 10:28:31 +03:00
default-linux.json linux: Cleanup comments in keymap (#13299) 2024-06-20 11:28:53 +02:00
default-macos.json A set of outline panel fixes (#12965) 2024-06-13 10:46:51 +03:00
jetbrains.json Fix jetbrains keymap alt-enter to do search::SelectAllMatches (#11951) 2024-05-24 12:47:38 +03:00
storybook.json
sublime_text.json
textmate.json
vim.json vim: Allow count and repeat for "r" and "shift-r" action (#13287) 2024-06-24 09:41:33 -06:00