ZIm/crates/vim/src
brian tan 22b1a02e23
vim: Implement <count>% motion (#25839)
Closes https://github.com/zed-industries/zed/discussions/25665

> Currently Zed is missing quite an useful Vim motion: <count>% (go to
{count} percentage in the file).
Description:
{count}% - Go to {count} percentage in the file, on the first non-blank
in the line linewise. To compute the new line number this formula is
used: ({count} * number-of-lines + 99) / 100 .
> [Link](https://neovim.io/doc/user/motion.html#N%25).

Release Notes:

- vim: Added `<count>%` motion

---------

Co-authored-by: Conrad Irwin <conrad@zed.dev>
2025-03-05 19:59:18 -07:00
..
digraph Add Vim digraphs (#14887) 2024-07-28 22:44:32 -06:00
normal vim: Rename wrapping keybindings + document cursor wrapping (#25694) 2025-03-05 08:54:30 -07:00
test vim: Fix key navigation on folded buffer headers (#25944) 2025-03-03 14:44:39 -07:00
change_list.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
command.rs vim: Fix tab title when using !! and disable rerun button for terminal tasks (#26122) 2025-03-05 08:47:49 -07:00
digraph.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
helix.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
indent.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
insert.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
mode_indicator.rs Display case-sensitive keybindings for vim commands (#24322) 2025-02-14 22:03:59 -07:00
motion.rs vim: Implement <count>% motion (#25839) 2025-03-05 19:59:18 -07:00
normal.rs vim: Fix insert before in visual modes (#25603) 2025-03-04 21:58:01 -07:00
object.rs vim: Fix back quotes not recognized as object (#24999) 2025-02-26 14:21:12 -05:00
replace.rs vim: Rename wrapping keybindings + document cursor wrapping (#25694) 2025-03-05 08:54:30 -07:00
rewrap.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
state.rs vim: Add registers view (#25945) 2025-03-04 21:59:19 -07:00
surrounds.rs Migrate keymap and settings + edit predictions rename (#23834) 2025-02-07 21:17:07 +05:30
test.rs vim: Fix key navigation on folded buffer headers (#25944) 2025-03-03 14:44:39 -07:00
vim.rs vim: Add registers view (#25945) 2025-03-04 21:59:19 -07:00
visual.rs vim: Refactor and fix multiline operations (#25055) 2025-02-24 18:30:21 -07:00