ZIm/crates/vim/src
N 8a73bc4c7d
Vim: enable sending multiple keystrokes from custom keybinding (#7965)
Release Notes:

- Added `workspace::SendKeystrokes` to enable mapping from one key to a
sequence of others
([#7033](https://github.com/zed-industries/zed/issues/7033)).

Improves #7033. Big thank you to @ConradIrwin who did most of the heavy
lifting on this one.

This PR allows the user to send multiple keystrokes via custom
keybinding. For example, the following keybinding would go down four
lines and then right four characters.

```json
[
  {
    "context": "Editor && VimControl && !VimWaiting && !menu",
    "bindings": {
      "g z": [
        "workspace::SendKeystrokes",
        "j j j j l l l l"
      ],
    }
  }
]
```

---------

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
2024-02-20 15:01:45 -07:00
..
normal Highlight selections on vim yank (#7638) 2024-02-09 16:18:09 -07:00
test First pass at making a linux keymap (#8082) 2024-02-20 13:51:54 -08:00
command.rs vim netrw (#7962) 2024-02-17 13:36:08 -07:00
editor_events.rs vim: Fix renaming (#7714) 2024-02-12 22:28:26 -07:00
insert.rs Editor docs (#4097) 2024-01-18 00:48:37 +01:00
mode_indicator.rs vim lifecycle (#7647) 2024-02-10 16:21:13 -07:00
motion.rs vim: Implement Go To Previous Word End (#7505) 2024-02-15 16:15:31 -07:00
normal.rs Add support for u and U in vim visual mode 2024-01-28 15:13:09 -05:00
object.rs vim: Implement Go To Previous Word End (#7505) 2024-02-15 16:15:31 -07:00
state.rs vim lifecycle (#7647) 2024-02-10 16:21:13 -07:00
test.rs Vim: enable sending multiple keystrokes from custom keybinding (#7965) 2024-02-20 15:01:45 -07:00
utils.rs Highlight selections on vim yank (#7638) 2024-02-09 16:18:09 -07:00
vim.rs vim: Fix renaming (#7714) 2024-02-12 22:28:26 -07:00
visual.rs Update all links point to community 2024-01-24 15:11:17 -05:00