# keymaps: Update defaults for inline assist and signature help \(\#39587\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/3950f5af29fccad6335ec8e624d2eac7e2dd2644)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 3950f5af29fccad6335ec8e624d2eac7e2dd2644

Requested commit: 3950f5af29fccad6335ec8e624d2eac7e2dd2644

Commit: 3950f5af29fccad6335ec8e624d2eac7e2dd2644

Tree: 42fd458167e3c730d3a9a301ef00897b25d8f8ee

Author: Dino

Committer: GitHub

## Message

````
keymaps: Update defaults for inline assist and signature help (#39587)

Update the keybindings used in the default keymaps to better align with
VSCode's defaults, with the following changes:

* Windows & Linux
* `ctrl-enter` has been replaced by `ctrl-i` for
`assistant::InlineAssist`
* `ctrl-shift-space` maps to `editor::ShowSignatureHelp` instead of
`editor::ShowWordCompletions`
* MacOS
* `ctrl-enter` has been replaced by `cmd-i` for
`assistant::InlineAssist`
* `cmd-i` has been replaced by `cmd-shift-space` for
`editor::ShowSignatureHelp`

Closes #39278 

Release Notes:

- Changed the keybinding for `assistant: inline assist` from
`ctrl-enter` to `ctrl-i` for both Linux and Windows, and `cmd-i` for
MacOS. If you'd like to restore the old behavior, update your keymap
file with:
  ```
  {
    "context": "!ContextEditor > Editor && mode == full",
    "bindings": {
      "ctrl-enter": "assistant::InlineAssist"
    }
  }
  ```
- Changed the action dispatched by `ctrl-shift-space` from
`editor::ShowWordCompletions` to `editor::ShowSignatureHelp` on both
Linux and Windows. If you'd like to restore the old behavior, update
your keymap file with:
  ```  {
    "context": "Editor",
    "bindings": {
      "ctrl-shift-space": "editor::ShowWordCompletions"
    }
  }
  ```
- Changed the keybinding for `editor: show signature help` on MacOS from
`cmd-i` to `cmd-shift-space`. If you'd like to restore the old behavior,
update your keymap file with:
  ```  {
    "context": "Editor",
    "bindings": {
      "cmd-i": "editor::ShowSignatureHelp"
    }
  }
  ```

---------

Co-authored-by: Agus Zubiaga <agus@zed.dev>
````

## Parents

- [1ee6ef5e1a0b3a4d94891b5371c4ef58498011ef](https://git.cafe/gitcafe/zed/commit/1ee6ef5e1a0b3a4d94891b5371c4ef58498011ef?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/3950f5af29fccad6335ec8e624d2eac7e2dd2644?format=markdown)
