ZIm/crates/workspace/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
..
pane Remove 2 suffix for workspace 2024-01-03 11:08:51 -08:00
persistence Parallelize deserialization of pane items on startup 2024-01-24 12:48:53 +01:00
dock.rs Add static Runnables (#8009) 2024-02-19 18:41:43 +02:00
item.rs fix following bugs (#7406) 2024-02-05 15:12:25 -07:00
modal_layer.rs Avoid another confirmation when submitting/discarding feedback (#7569) 2024-02-08 16:13:54 +02:00
notifications.rs gpui: Add Global marker trait (#7095) 2024-01-30 14:08:20 -05:00
pane.rs revert single channel click (#7738) 2024-02-13 12:53:49 -07:00
pane_group.rs Fix moving focus to docks when navigating via keybinds (#7221) 2024-02-01 16:28:51 +01:00
persistence.rs chore: Fix clippy::needless_borrow up to an editor 2024-01-21 15:03:24 +01:00
searchable.rs lsp-log: Reemit Editors search events. 2024-01-22 14:02:48 +01:00
shared_screen.rs Add more open events 2024-01-15 16:26:04 -05:00
status_bar.rs Rename overflow_hidden_{x,y} to overflow_{x,y}_hidden (#4146) 2024-01-18 22:10:41 -05:00
toolbar.rs Editor toolbar configuration (#7338) 2024-02-03 22:40:54 +02:00
workspace.rs Vim: enable sending multiple keystrokes from custom keybinding (#7965) 2024-02-20 15:01:45 -07:00
workspace_settings.rs Display setting documentation in settings.json (#3936) 2024-01-08 19:30:18 +01:00