zed/crates/vim/src
Thorsten Ball 7fb9549098
vim: Fix d shift-g not deleting until EOD if soft-wrap is on (#20160)
This previously didn't work: `d G` would delete to the end of the "first
of the soft-wrapped lines" of the last line.

To fix it, we special case the delete behavior for `shift-g`, which is
what Neovim also seems to do.


Release Notes:

- Fixed `d G` in Vim mode not deleting until the actual end of the
document if soft-wrap is turned on.
2024-11-05 14:47:14 +01:00
..
digraph Add Vim digraphs (#14887) 2024-07-28 22:44:32 -06:00
normal vim: Fix d shift-g not deleting until EOD if soft-wrap is on (#20160) 2024-11-05 14:47:14 +01:00
test Revert "settings: Remove auxiliary Content types where possible (#16744)" (#17768) 2024-09-12 14:46:08 -04:00
change_list.rs vim: Improve lifecycle (#16477) 2024-08-20 20:48:50 -06:00
command.rs vim: Add :noh[lsearch] (#20056) 2024-10-31 23:25:59 -06:00
digraph.rs vim: Add (half of) ctrl-v/ctrl-q (#19585) 2024-10-31 23:25:42 -06:00
indent.rs vim: Command selection fixes (#18424) 2024-09-27 10:06:19 -06:00
insert.rs vim: Improve lifecycle (#16477) 2024-08-20 20:48:50 -06:00
mode_indicator.rs vim: Add (half of) ctrl-v/ctrl-q (#19585) 2024-10-31 23:25:42 -06:00
motion.rs chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
normal.rs vim: Copy comment to new lines with o/O (#19766) 2024-10-25 16:47:44 -06:00
object.rs Add surround aliases (#20104) 2024-11-04 09:03:27 -07:00
replace.rs ssh: Add UI refinements to the remote modals (#19558) 2024-10-22 16:33:59 -03:00
rewrap.rs vim: gq (#18156) 2024-09-20 13:02:39 -06:00
state.rs vim: Add (half of) ctrl-v/ctrl-q (#19585) 2024-10-31 23:25:42 -06:00
surrounds.rs Add surround aliases (#20104) 2024-11-04 09:03:27 -07:00
test.rs vim: Fix d shift-g not deleting until EOD if soft-wrap is on (#20160) 2024-11-05 14:47:14 +01:00
vim.rs vim: Add (half of) ctrl-v/ctrl-q (#19585) 2024-10-31 23:25:42 -06:00
visual.rs vim: o should scroll (#20054) 2024-10-31 23:26:04 -06:00