zed/assets/keymaps
Agus Zubiaga 39ac6e4a75
assistant2: Navigate context strip with keyboard (#23128)
Context pills are now focusable and intractable via the keyboard.

- <kbd>←</kbd> and <kbd>→</kbd> move the focus to the previous or next
item (wrapping if necessary)
- <kbd>↓</kbd> and <kbd>↑</kbd> move the focus vertically
- If the cursor is in the first/last row of the assistant/inline editor,
they will move the focus to the strip
- Inside the strip, they will move the focus to the pill horizontally
overlapping the most
- If already in the first/last row of the strip, they will move to the
first/last pill (like in editors)
- If the first/last pill is focused, they will move the focus back to
the editor
- <kbd>⌫</kbd>  removes the focused pill (unless it's the suggested one)
- <kbd>⏎</kbd> accepts the suggested pill if focused
  


https://github.com/user-attachments/assets/040bc71c-a3ae-4961-9886-2d5c3d290a73



Release Notes:

- N/A
2025-01-14 16:45:11 +00:00
..
linux Add emacs keybindings for mark emulation (#22904) 2025-01-13 14:53:13 +00:00
macos Add emacs keybindings for mark emulation (#22904) 2025-01-13 14:53:13 +00:00
default-linux.json assistant2: Navigate context strip with keyboard (#23128) 2025-01-14 16:45:11 +00:00
default-macos.json assistant2: Navigate context strip with keyboard (#23128) 2025-01-14 16:45:11 +00:00
initial.json Use lowercase command names in initial settings files (#15717) 2024-08-03 09:35:09 -04:00
storybook.json storybook: Fix Backspace in Auto Height Editor and Picker stories (#11011) 2024-04-25 17:37:47 -04:00
vim.json vim: Add Subword Textobject (#22387) 2025-01-14 03:34:49 +00:00