ZIm/crates/vim/src
Nico Lehmann 0b105ba8b7
vim: Add sneak motion (#22793)
A (re)continuation of https://github.com/zed-industries/zed/pull/21067. 

This takes the original implementation in
https://github.com/zed-industries/zed/pull/15572 and adds the test in
https://github.com/zed-industries/zed/pull/21067. Then, as requested in
https://github.com/zed-industries/zed/pull/21067#issuecomment-2515469185,
it documents how to map a keybinding instead of having a setting.

Closes #13858

Release Notes:

- Added support for the popular
[vim_sneak](https://github.com/justinmk/vim-sneak) plugin. This is
disabled by default and can be enabled by binding a key to the `Sneak`
and `SneakBackward` operators.

Reference:
https://github.com/justinmk/vim-sneak

---------

Co-authored-by: Kajetan Puchalski <kajetan.puchalski@tuta.io>
Co-authored-by: Aidan Grant <mraidangrant@gmail.com>
Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
2025-01-10 07:07:32 +00:00
..
digraph Add Vim digraphs (#14887) 2024-07-28 22:44:32 -06:00
normal vim: Fix deletion with sentence-motion (#22289) 2024-12-20 12:48:38 +00:00
test Implement Helix Support (WIP) (#19175) 2024-12-03 23:19:52 -07:00
change_list.rs Add support for resizing panes using vim motions (#21038) 2024-11-26 16:24:29 -08:00
command.rs Dequalify WindowContext and AsyncWindowContext identifiers (#22444) 2024-12-28 21:21:32 +00:00
digraph.rs Rename ime_key -> key_char and update behavior (#20953) 2024-11-20 20:29:47 -07:00
helix.rs vim: Add delete action to HelixNormal mode (#21544) 2024-12-06 14:05:41 -07:00
indent.rs Add AutoIndent action and '=' vim operator (#21427) 2024-12-02 15:00:04 -08:00
insert.rs Revert "vim: Don't dismiss inline completion when switching to normal mode (#22075)" (#22131) 2024-12-17 09:24:33 +01:00
mode_indicator.rs Add support for resizing panes using vim motions (#21038) 2024-11-26 16:24:29 -08:00
motion.rs vim: Add sneak motion (#22793) 2025-01-10 07:07:32 +00:00
normal.rs vim: Add Separator and RemoveIndent in Join Lines, fix gJ use space join (#22496) 2025-01-07 17:04:49 +00:00
object.rs vim: Add AnyQuotes support for unified quote handling similar to mini.ai nvim (#22263) 2025-01-08 03:00:20 +00:00
replace.rs Add support for resizing panes using vim motions (#21038) 2024-11-26 16:24:29 -08:00
rewrap.rs Add support for resizing panes using vim motions (#21038) 2024-11-26 16:24:29 -08:00
state.rs vim: Add sneak motion (#22793) 2025-01-10 07:07:32 +00:00
surrounds.rs Add support for resizing panes using vim motions (#21038) 2024-11-26 16:24:29 -08:00
test.rs vim: Add sneak motion (#22793) 2025-01-10 07:07:32 +00:00
vim.rs vim: Add sneak motion (#22793) 2025-01-10 07:07:32 +00:00
visual.rs vim: Fix VisualYankLine (#22416) 2025-01-07 00:15:19 +00:00