zed/crates/vim/src
Skanda Bhat ac16a7891f
vim: Fix visual mode entry at line end near trailing newline (#50709)
In Helix, selecting a line with `x` creates a selection from column 0 of
the current row to column 0 of the next row. The default
`InsertEndOfLine` uses the selection head (which is on the next row) to
find the line end, placing the cursor on the wrong line. 

This commit introduces a new `HelixInsertEndOfLine`, mapped by default
to `shift-a` when Helix mode is enabled, that moves left from the head
first to land on the correct line.

Release Notes:

- Fixed `shift-a` in Helix select mode placing the cursor on the wrong
line after selecting with `x`

---------

Co-authored-by: SkandaBhat <9384046+SkandaBhat@users.noreply.github.com>
Co-authored-by: dino <dinojoaocosta@gmail.com>
2026-03-12 19:05:28 +00:00
..
digraph
helix Reduce amount of closure monomorphizations part 2 (#49688) 2026-02-20 08:32:45 +00:00
normal Fix panic in vim increment (#50311) 2026-02-27 13:24:37 -07: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: Make :bdelete use new workspace::CloseItemInAllPanes command (#48988) 2026-02-12 12:33:51 +00:00
digraph.rs vim: Downgrade user config error from panic to log (#42070) 2025-11-06 08:37:04 +00:00
helix.rs vim: Fix visual mode entry at line end near trailing newline (#50709) 2026-03-12 19:05:28 +00:00
indent.rs Reduce amount of monomorphizations from FnMut closures (#49453) 2026-02-18 12:00:02 +01:00
insert.rs Reduce amount of monomorphizations from FnMut closures (#49453) 2026-02-18 12:00:02 +01:00
mode_indicator.rs Customizable vim mode text color (#46639) 2026-01-13 15:38:13 -06:00
motion.rs Reduce amount of monomorphizations from FnMut closures (#49453) 2026-02-18 12:00:02 +01:00
normal.rs Reduce amount of monomorphizations from FnMut closures (#49453) 2026-02-18 12:00:02 +01:00
object.rs Reduce amount of monomorphizations from FnMut closures (#49453) 2026-02-18 12:00:02 +01:00
replace.rs Reduce amount of monomorphizations from FnMut closures (#49453) 2026-02-18 12:00:02 +01:00
rewrap.rs Reduce amount of monomorphizations from FnMut closures (#49453) 2026-02-18 12:00:02 +01:00
state.rs helix: Always offset cursor on selection (#46311) 2026-03-12 09:07:58 +00:00
surrounds.rs git: Fix desynced scrolling between LHS and RHS of side-by-side diff (#47913) 2026-01-31 18:33:22 +00:00
test.rs vim: Apply linked edits for delete/change/substitute (#48458) 2026-02-19 12:54:41 +00:00
vim.rs helix: Always offset cursor on selection (#46311) 2026-03-12 09:07:58 +00:00
visual.rs vim: Apply linked edits for delete/change/substitute (#48458) 2026-02-19 12:54:41 +00:00