ZIm/crates/vim/src
Dino ed7c55a04e
vim: Reset search range after substitute (#28403)
Update the `Vim::replace_command` method so as to reset the range in the
`BufferSearchBar` after running the replacement in order to fix the
issue where the number of matches in the search bar would be incorrect
after the replacement was done, as it would only take into consideration
the range in which the replacement happened, instead of the whole
buffer.

In order to get this working a new
`BufferSearchBar::clear_search_within_ranges` method is introduced in
these changes.

Release Notes:

- Fixed the number of matches displayed in the search bar after running
vim's substitute command.
2025-04-09 20:43:53 -06:00
..
digraph Add Vim digraphs (#14887) 2024-07-28 22:44:32 -06:00
normal vim: Reset search range after substitute (#28403) 2025-04-09 20:43:53 -06:00
test chore: Bump Rust version to 1.86 (#28021) 2025-04-03 23:32:50 +02:00
change_list.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
command.rs vim: Add :Git (#27874) 2025-04-01 15:12:36 -06:00
digraph.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
helix.rs Temporarily disable helix tests (#28279) 2025-04-07 21:50:35 +00:00
indent.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
insert.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
mode_indicator.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
motion.rs vim: Add indent-wise motions (#28044) 2025-04-08 09:07:37 -06:00
normal.rs Flesh out helix bindings (#28103) 2025-04-04 12:21:15 -06:00
object.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
replace.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
rewrap.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
state.rs vim: Add g? convert to Rot13/Rot47 (#27824) 2025-04-02 02:17:00 +00:00
surrounds.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
test.rs Don't use dbg! in test input (#27811) 2025-03-31 18:59:52 -06:00
vim.rs vim: Fix exchange showing ccx in pending keys (#28303) 2025-04-08 09:03:24 -06:00
visual.rs Fix vim test keystroke (#28406) 2025-04-09 14:29:03 -06:00