zed/crates/vim/src
Lionel Henry b5242ab5f2
vim: Fix subword motion near end of line (#45908)
Fixes subword motion incorrectly jumping to next line when near end of
line. Updates boundary detection to use exclusive boundaries with
need_next_char parameter, matching regular word motion behavior.
Refactors word and subword motion to share boundary detection logic.

Closes #17780

Release Notes:

- Fixed subword motion incorrectly jumping to the next line when near
the end of a line

---------

Co-authored-by: dino <dinojoaocosta@gmail.com>
2026-01-14 10:55:15 +00:00
..
digraph
helix Add helix match surround operations (#44317) 2026-01-06 15:42:13 +00:00
normal Vim search */# without moving cursor initially (#46244) 2026-01-09 04:13:51 +00:00
test vim: Add scroll keybindings for the OutlinePanel (#42438) 2025-12-15 15:40:37 +00:00
change_list.rs editor: Remove buffer and display map fields from SelectionsCollection (#42175) 2025-11-07 11:21:14 +01:00
command.rs vim: Allow trailing whitespace for :norm command (#46403) 2026-01-13 14:13:15 +00:00
digraph.rs vim: Downgrade user config error from panic to log (#42070) 2025-11-06 08:37:04 +00:00
helix.rs Add helix match surround operations (#44317) 2026-01-06 15:42:13 +00:00
indent.rs vim: Make indenting selected lines with > and < in Helix mode no longer deselect them (#37665) 2025-09-09 13:18:22 -06:00
insert.rs vim: Fix cursor movement after entering Helix normal mode (#40528) 2025-10-23 11:15:12 +00:00
mode_indicator.rs Customizable vim mode text color (#46639) 2026-01-13 15:38:13 -06:00
motion.rs vim: Fix subword motion near end of line (#45908) 2026-01-14 10:55:15 +00:00
normal.rs vim: Fix subword motion near end of line (#45908) 2026-01-14 10:55:15 +00:00
object.rs vim: Change logic in subword motion subword_start calculation (#45341) 2026-01-13 18:02:59 +00:00
replace.rs editor: Add active match highlight for buffer and project search (#44098) 2025-12-04 03:55:04 +05:30
rewrap.rs Remove unnecessary argument from Vim#update_editor (#36001) 2025-08-11 16:10:06 -06:00
state.rs Add helix match surround operations (#44317) 2026-01-06 15:42:13 +00:00
surrounds.rs Add helix match surround operations (#44317) 2026-01-06 15:42:13 +00:00
test.rs Fix vim mouse selections (#45177) 2026-01-09 20:34:45 +00:00
vim.rs settings_ui: Add vim settings (#46634) 2026-01-13 14:52:44 -05:00
visual.rs vim: Make vaf include const for arrow functions in JS/TS/TSX (#45327) 2025-12-18 21:56:47 -05:00