zed/assets/keymaps
Mikayla Maki 8a02159b82
Add a command to expand the context for a multibuffer (#10300)
This PR adds an action to expand the excerpts lines of context in a
multibuffer.

Release Notes:

- Added an `editor::ExpandExcerpts` action (bound to `shift-enter` by
default), which can expand the excerpt the cursor is currently in by 3
lines. You can customize the number of lines by rebinding this action
like so:

```json5
// In your keybindings array...
  {
    "context": "Editor && mode == full",
    "bindings": {
      "shift-enter": ["editor::ExpandExcerpts", { "lines": 5 }],
    }
  }
```

---------

Co-authored-by: Nathan <nathan@zed.dev>
Co-authored-by: Max <max@zed.dev>
2024-04-19 14:27:56 -07:00
..
atom.json Format JSON files in assets/ (#8405) 2024-02-25 14:11:38 -05:00
default-linux.json Add a command to expand the context for a multibuffer (#10300) 2024-04-19 14:27:56 -07:00
default-macos.json Add a command to expand the context for a multibuffer (#10300) 2024-04-19 14:27:56 -07:00
jetbrains.json Split DuplicateLine into DuplicateLineUp and DuplicateLineDown (#9715) 2024-03-28 12:52:08 +02:00
storybook.json Fix the linux keymap (#9829) 2024-03-26 16:10:09 -07:00
sublime_text.json fix default keybindings for select all matches 2023-09-20 17:14:19 -07:00
textmate.json Split DuplicateLine into DuplicateLineUp and DuplicateLineDown (#9715) 2024-03-28 12:52:08 +02:00
vim.json Update netrw bindings for preview panes (#10492) 2024-04-12 14:50:27 -06:00