zed/crates/vim/src
Andrew Marek 3aa4e0c90b
Fix Vim 'e' Behavior When Boundary Is Last Point on Line (#7424)
This was originally just to fix
https://github.com/zed-industries/zed/issues/4354, which I did by just
returning the previous offset in `find_boundary`.. but `find_boundary`
is used in the "insert mode" / normal editor too, so returning the
previous boundary breaks existing functionality in that case.

I was considering a new `find_boundary` function just for some of the
vim motions like this, but I thought that this is straightforward enough
and future Vim functions might need similar logic too.

Release Notes:

- Fixed https://github.com/zed-industries/zed/issues/4354
2024-02-06 20:25:56 -07:00
..
normal vim hml (#7298) 2024-02-02 19:24:36 -07:00
test vim hml (#7298) 2024-02-02 19:24:36 -07:00
command.rs Fix panic when typing umlauts in command palette using Vim mode 2024-01-26 10:57:14 +01:00
editor_events.rs text: Wrap BufferId into a newtype 2024-01-29 20:00:47 +01:00
insert.rs Editor docs (#4097) 2024-01-18 00:48:37 +01:00
mode_indicator.rs Use try_global() 2024-01-18 01:33:30 -05:00
motion.rs Fix Vim 'e' Behavior When Boundary Is Last Point on Line (#7424) 2024-02-06 20:25:56 -07:00
normal.rs Add support for u and U in vim visual mode 2024-01-28 15:13:09 -05:00
object.rs Start work on API docs for the language crate (#3981) 2024-01-19 10:04:45 -08:00
state.rs Remove 2 suffix for vim, diagnostics, go_to_line, theme_selector, command_palette, file_finder 2024-01-03 10:42:49 -08:00
test.rs Update all links point to community 2024-01-24 15:11:17 -05:00
utils.rs Merge branch 'main' into language-api-docs 2024-01-18 15:06:45 -08:00
vim.rs vim: Convert from visual mode to normal mode with a single click (#6985) 2024-02-02 16:44:47 -07:00
visual.rs Update all links point to community 2024-01-24 15:11:17 -05:00