Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Fix ordering of keyboard shortcuts so that you can use AI on linux (#12714)

Conrad Irwin89641acf2f37
diff --git a/assets/keymaps/default-linux.json b/assets/keymaps/default-linux.json
index c29beb4ffe1..f3832fae6f2 100644
--- a/assets/keymaps/default-linux.json
+++ b/assets/keymaps/default-linux.json
@@ -204,18 +204,6 @@
"alt-m": "assistant::ToggleModelSelector"
}
},
- {
- "context": "ConversationEditor > Editor",
- "bindings": {
- "ctrl-enter": "assistant::Assist",
- "ctrl-s": "workspace::Save",
- "ctrl->": "assistant::QuoteSelection",
- "shift-enter": "assistant::Split",
- "ctrl-r": "assistant::CycleMessageRole",
- "enter": "assistant::ConfirmCommand",
- "alt-enter": "editor::Newline"
- }
- },
{
"context": "PromptLibrary",
"bindings": {
@@ -556,6 +544,18 @@
"ctrl-enter": "assistant::InlineAssist"
}
},
+ {
+ "context": "ConversationEditor > Editor",
+ "bindings": {
+ "ctrl-enter": "assistant::Assist",
+ "ctrl-s": "workspace::Save",
+ "ctrl->": "assistant::QuoteSelection",
+ "shift-enter": "assistant::Split",
+ "ctrl-r": "assistant::CycleMessageRole",
+ "enter": "assistant::ConfirmCommand",
+ "alt-enter": "editor::Newline"
+ }
+ },
{
"context": "ProjectSearchBar && !in_replace",
"bindings": {
diff --git a/script/linux b/script/linux
index 6cae39c0881..7257d2688c3 100755
--- a/script/linux
+++ b/script/linux
@@ -23,6 +23,7 @@ if [[ -n $apt ]]; then
libzstd-dev
libvulkan1
libgit2-dev
+ make
)
$maysudo "$apt" install -y "${deps[@]}"
exit 0