Compare commits
4 Commits
show-lua-s
...
gamma-corr
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3ffc9d1447 | ||
|
|
30794e813b | ||
|
|
b7e76425da | ||
|
|
a80ff28480 |
@@ -1,12 +0,0 @@
|
|||||||
# This config is different from config.toml in this directory, as the latter is recognized by Cargo.
|
|
||||||
# This file is placed in ./../.cargo/config.toml on CI runs. Cargo then merges Zeds .cargo/config.toml with ./../.cargo/config.toml
|
|
||||||
# with preference for settings from Zeds config.toml.
|
|
||||||
# TL;DR: If a value is set in both ci-config.toml and config.toml, config.toml value takes precedence.
|
|
||||||
# Arrays are merged together though. See: https://doc.rust-lang.org/cargo/reference/config.html#hierarchical-structure
|
|
||||||
# The intent for this file is to configure CI build process with a divergance from Zed developers experience; for example, in this config file
|
|
||||||
# we use `-D warnings` for rustflags (which makes compilation fail in presence of warnings during build process). Placing that in developers `config.toml`
|
|
||||||
# would be incovenient.
|
|
||||||
# The reason for not using the RUSTFLAGS environment variable is that doing so would override all the settings in the config.toml file, even if the contents of the latter are completely nonsensical. See: https://github.com/rust-lang/cargo/issues/5376
|
|
||||||
# Here, we opted to use `[target.'cfg(all())']` instead of `[build]` because `[target.'**']` is guaranteed to be cumulative.
|
|
||||||
[target.'cfg(all())']
|
|
||||||
rustflags = ["-D", "warnings"]
|
|
||||||
@@ -13,19 +13,6 @@ rustflags = ["-C", "link-arg=-fuse-ld=mold"]
|
|||||||
linker = "clang"
|
linker = "clang"
|
||||||
rustflags = ["-C", "link-arg=-fuse-ld=mold"]
|
rustflags = ["-C", "link-arg=-fuse-ld=mold"]
|
||||||
|
|
||||||
[target.aarch64-apple-darwin]
|
# This cfg will reduce the size of `windows::core::Error` from 16 bytes to 4 bytes
|
||||||
rustflags = ["-C", "link-args=-Objc -all_load"]
|
|
||||||
|
|
||||||
[target.x86_64-apple-darwin]
|
|
||||||
rustflags = ["-C", "link-args=-Objc -all_load"]
|
|
||||||
|
|
||||||
[target.'cfg(target_os = "windows")']
|
[target.'cfg(target_os = "windows")']
|
||||||
rustflags = [
|
rustflags = ["--cfg", "windows_slim_errors"]
|
||||||
"--cfg",
|
|
||||||
"windows_slim_errors", # This cfg will reduce the size of `windows::core::Error` from 16 bytes to 4 bytes
|
|
||||||
"-C",
|
|
||||||
"target-feature=+crt-static", # This fixes the linking issue when compiling livekit on Windows
|
|
||||||
]
|
|
||||||
|
|
||||||
[env]
|
|
||||||
MACOSX_DEPLOYMENT_TARGET = "10.15.7"
|
|
||||||
|
|||||||
@@ -3,6 +3,15 @@ export default {
|
|||||||
const url = new URL(request.url);
|
const url = new URL(request.url);
|
||||||
url.hostname = "docs-anw.pages.dev";
|
url.hostname = "docs-anw.pages.dev";
|
||||||
|
|
||||||
|
// These pages were removed, but may still be served due to Cloudflare's
|
||||||
|
// [asset retention](https://developers.cloudflare.com/pages/configuration/serving-pages/#asset-retention).
|
||||||
|
if (
|
||||||
|
url.pathname === "/docs/assistant/context-servers" ||
|
||||||
|
url.pathname === "/docs/assistant/model-context-protocol"
|
||||||
|
) {
|
||||||
|
return await fetch("https://zed.dev/404");
|
||||||
|
}
|
||||||
|
|
||||||
let res = await fetch(url, request);
|
let res = await fetch(url, request);
|
||||||
|
|
||||||
if (res.status === 404) {
|
if (res.status === 404) {
|
||||||
|
|||||||
31
.github/ISSUE_TEMPLATE/0_feature_request.yml
vendored
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
name: Feature Request
|
||||||
|
description: "Tip: open this issue template from within Zed with the `request feature` command palette action"
|
||||||
|
labels: ["admin read", "triage", "enhancement"]
|
||||||
|
body:
|
||||||
|
- type: checkboxes
|
||||||
|
attributes:
|
||||||
|
label: Check for existing issues
|
||||||
|
description: Check the backlog of issues to reduce the chances of creating duplicates; if an issue already exists, place a `+1` (👍) on it.
|
||||||
|
options:
|
||||||
|
- label: Completed
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
attributes:
|
||||||
|
label: Describe the feature
|
||||||
|
description: A clear and concise description of what you want to happen.
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: environment
|
||||||
|
attributes:
|
||||||
|
label: Environment
|
||||||
|
description: Run the `copy system specs into clipboard` command palette action and paste the output in the field below. If you are unable to run the command, please include your Zed version and release channel, operating system and version, RAM amount, and architecture.
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
attributes:
|
||||||
|
label: |
|
||||||
|
If applicable, add mockups / screenshots to help present your vision of the feature
|
||||||
|
description: Drag images into the text input below
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
51
.github/ISSUE_TEMPLATE/0_git_beta_bug_report.yml
vendored
@@ -1,51 +0,0 @@
|
|||||||
name: Git Beta
|
|
||||||
description: There is a bug related to new Git features in Zed
|
|
||||||
type: "Bug"
|
|
||||||
labels: [git]
|
|
||||||
title: "Git Beta: <a short description of the Git bug>"
|
|
||||||
body:
|
|
||||||
- type: textarea
|
|
||||||
attributes:
|
|
||||||
label: Summary
|
|
||||||
description: Describe the bug with a one line summary, and provide detailed reproduction steps
|
|
||||||
value: |
|
|
||||||
<!-- Please insert a one line summary of the issue below -->
|
|
||||||
|
|
||||||
<!-- Include all steps necessary to reproduce from a clean Zed installation. Be verbose -->
|
|
||||||
Steps to trigger the problem:
|
|
||||||
1.
|
|
||||||
2.
|
|
||||||
3.
|
|
||||||
|
|
||||||
Actual Behavior:
|
|
||||||
|
|
||||||
Expected Behavior:
|
|
||||||
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
- type: textarea
|
|
||||||
id: environment
|
|
||||||
attributes:
|
|
||||||
label: Zed Version and System Specs
|
|
||||||
description: 'Open Zed, and in the command palette select "zed: Copy System Specs Into Clipboard"'
|
|
||||||
placeholder: |
|
|
||||||
Output of "zed: Copy System Specs Into Clipboard"
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
- type: textarea
|
|
||||||
attributes:
|
|
||||||
label: If applicable, attach your `~/Library/Logs/Zed/Zed.log` file to this issue.
|
|
||||||
description: |
|
|
||||||
macOS: `~/Library/Logs/Zed/Zed.log`
|
|
||||||
Linux: `~/.local/share/zed/logs/Zed.log` or $XDG_DATA_HOME
|
|
||||||
If you only need the most recent lines, you can run the `zed: open log` command palette action to see the last 1000.
|
|
||||||
value: |
|
|
||||||
<details><summary>Zed.log</summary>
|
|
||||||
|
|
||||||
<!-- Click below this line and paste or drag-and-drop your log-->
|
|
||||||
```
|
|
||||||
|
|
||||||
```
|
|
||||||
<!-- Click above this line and paste or drag-and-drop your log--></details>
|
|
||||||
validations:
|
|
||||||
required: false
|
|
||||||
82
.github/ISSUE_TEMPLATE/1_bug_report.yml
vendored
@@ -1,57 +1,49 @@
|
|||||||
name: Bug Report
|
name: Bug Report
|
||||||
description: |
|
description: |
|
||||||
Something is broken in Zed (exclude crashing).
|
Use this template for **non-crash-related** bug reports.
|
||||||
type: "Bug"
|
Tip: open this issue template from within Zed with the `file bug report` command palette action.
|
||||||
|
labels: ["admin read", "triage", "bug"]
|
||||||
body:
|
body:
|
||||||
|
- type: checkboxes
|
||||||
|
attributes:
|
||||||
|
label: Check for existing issues
|
||||||
|
description: Check the backlog of issues to reduce the chances of creating duplicates; if an issue already exists, place a `+1` (👍) on it.
|
||||||
|
options:
|
||||||
|
- label: Completed
|
||||||
|
required: true
|
||||||
- type: textarea
|
- type: textarea
|
||||||
attributes:
|
attributes:
|
||||||
label: Summary
|
label: Describe the bug / provide steps to reproduce it
|
||||||
description: Describe the bug with a one line summary, and provide detailed reproduction steps
|
description: A clear and concise description of what the bug is.
|
||||||
value: |
|
|
||||||
<!-- Please insert a one line summary of the issue below -->
|
|
||||||
|
|
||||||
SUMMARY_SENTENCE_HERE
|
|
||||||
|
|
||||||
<!-- Be verbose: Include all steps necessary to reproduce from a clean Zed installation. -->
|
|
||||||
<!-- Code snippets are better than images, a repository link that reproduces the issue is ideal. -->
|
|
||||||
|
|
||||||
Steps to trigger the problem:
|
|
||||||
1.
|
|
||||||
2.
|
|
||||||
3.
|
|
||||||
4.
|
|
||||||
|
|
||||||
Actual Behavior:
|
|
||||||
|
|
||||||
Expected Behavior:
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Is there anything additional necessary to reproduce this issue?
|
|
||||||
- settings.json, keymap.json, .editorconfig etc?
|
|
||||||
- Does it happen intermittently or only with specific projects / file types?
|
|
||||||
- Have you found a workaround?
|
|
||||||
|
|
||||||
Did you check your Zed.log to see if there is any relevant details there?
|
|
||||||
- When including large items (videos, screenshots, logs, configs) please wrap with:
|
|
||||||
|
|
||||||
<details><summary>See inside for XXXXYYY</summary>
|
|
||||||
|
|
||||||
```shell
|
|
||||||
code
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
-->
|
|
||||||
|
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: environment
|
id: environment
|
||||||
attributes:
|
attributes:
|
||||||
label: Zed Version and System Specs
|
label: Environment
|
||||||
description: 'Open Zed, and in the command palette select "zed: Copy System Specs Into Clipboard"'
|
description: Run the `copy system specs into clipboard` command palette action and paste the output in the field below. If you are unable to run the command, please include your Zed version and release channel, operating system and version, RAM amount, and architecture.
|
||||||
placeholder: |
|
|
||||||
Output of "zed: Copy System Specs Into Clipboard"
|
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
attributes:
|
||||||
|
label: If applicable, add mockups / screenshots to help explain present your vision of the feature
|
||||||
|
description: Drag issues into the text input below
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
- type: textarea
|
||||||
|
attributes:
|
||||||
|
label: If applicable, attach your Zed.log file to this issue.
|
||||||
|
description: |
|
||||||
|
macOS: `~/Library/Logs/Zed/Zed.log`
|
||||||
|
Linux: `~/.local/share/zed/logs/Zed.log` or $XDG_DATA_HOME
|
||||||
|
If you only need the most recent lines, you can run the `zed: open log` command palette action to see the last 1000.
|
||||||
|
value: |
|
||||||
|
<details><summary>Zed.log</summary>
|
||||||
|
|
||||||
|
<!-- Click below this line and paste or drag-and-drop your log-->
|
||||||
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
<!-- Click above this line and paste or drag-and-drop your log--></details>
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
|||||||
35
.github/ISSUE_TEMPLATE/2_crash_report.yml
vendored
@@ -1,33 +1,26 @@
|
|||||||
name: Crash Report
|
name: Crash Report
|
||||||
description: Zed is Crashing or Hanging
|
description: |
|
||||||
type: "Crash"
|
Use this template for crash reports.
|
||||||
|
labels: ["admin read", "triage", "bug", "panic / crash"]
|
||||||
body:
|
body:
|
||||||
|
- type: checkboxes
|
||||||
|
attributes:
|
||||||
|
label: Check for existing issues
|
||||||
|
description: Check the backlog of issues to reduce the chances of creating duplicates; if an issue already exists, place a `+1` (👍) on it.
|
||||||
|
options:
|
||||||
|
- label: Completed
|
||||||
|
required: true
|
||||||
- type: textarea
|
- type: textarea
|
||||||
attributes:
|
attributes:
|
||||||
label: Summary
|
label: Describe the bug / provide steps to reproduce it
|
||||||
description: Describe the bug with a one line summary, and provide detailed reproduction steps
|
description: A clear and concise description of what the bug is.
|
||||||
value: |
|
|
||||||
<!-- Please insert a one line summary of the issue below -->
|
|
||||||
|
|
||||||
<!-- Include all steps necessary to reproduce from a clean Zed installation. Be verbose -->
|
|
||||||
Steps to trigger the problem:
|
|
||||||
1.
|
|
||||||
2.
|
|
||||||
3.
|
|
||||||
|
|
||||||
Actual Behavior:
|
|
||||||
|
|
||||||
Expected Behavior:
|
|
||||||
|
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: environment
|
id: environment
|
||||||
attributes:
|
attributes:
|
||||||
label: Zed Version and System Specs
|
label: Environment
|
||||||
description: 'Open Zed, and in the command palette select "zed: Copy System Specs Into Clipboard"'
|
description: Run the `copy system specs into clipboard` command palette action and paste the output in the field below. If you are unable to run the command, please include your Zed version and release channel, operating system and version, RAM amount, and architecture.
|
||||||
placeholder: |
|
|
||||||
Output of "zed: Copy System Specs Into Clipboard"
|
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
- type: textarea
|
- type: textarea
|
||||||
|
|||||||
25
.github/ISSUE_TEMPLATE/config.yml
vendored
@@ -1,12 +1,17 @@
|
|||||||
# yaml-language-server: $schema=https://json.schemastore.org/github-issue-config.json
|
|
||||||
blank_issues_enabled: false
|
blank_issues_enabled: false
|
||||||
contact_links:
|
contact_links:
|
||||||
- name: Feature Request
|
- name: Language Request
|
||||||
url: https://github.com/zed-industries/zed/discussions/new/choose
|
url: https://github.com/zed-industries/extensions/issues/new?assignees=&labels=language&projects=&template=1_language_request.yml&title=%3Cname_of_language%3E
|
||||||
about: To request a feature, open a new Discussion in one of the appropriate Discussion categories
|
about: Request a language in the extensions repository
|
||||||
- name: Zed Discussion Forum
|
- name: Theme Request
|
||||||
url: https://github.com/zed-industries/zed/discussions
|
url: https://github.com/zed-industries/extensions/issues/new?assignees=&labels=theme&projects=&template=0_theme_request.yml&title=%3Cname_of_theme%3E+theme
|
||||||
about: A community discussion forum
|
about: Request a theme in the extensions repository
|
||||||
- name: "Zed Discord: #Support Channel"
|
- name: Top-Ranking Issues
|
||||||
url: https://zed.dev/community-links
|
url: https://github.com/zed-industries/zed/issues/5393
|
||||||
about: Real-time discussion and user support
|
about: See an overview of the most popular Zed issues
|
||||||
|
- name: Platform Support
|
||||||
|
url: https://github.com/zed-industries/zed/issues/5391
|
||||||
|
about: A quick note on platform support
|
||||||
|
- name: Positive Feedback
|
||||||
|
url: https://github.com/zed-industries/zed/discussions/5397
|
||||||
|
about: A central location for kind words about Zed
|
||||||
|
|||||||
4
.github/actions/run_tests/action.yml
vendored
@@ -7,10 +7,10 @@ runs:
|
|||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
shell: bash -euxo pipefail {0}
|
shell: bash -euxo pipefail {0}
|
||||||
run: |
|
run: |
|
||||||
cargo install cargo-nextest --locked
|
cargo install cargo-nextest
|
||||||
|
|
||||||
- name: Install Node
|
- name: Install Node
|
||||||
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4
|
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
|
||||||
with:
|
with:
|
||||||
node-version: "18"
|
node-version: "18"
|
||||||
|
|
||||||
|
|||||||
26
.github/actions/run_tests_windows/action.yml
vendored
@@ -1,26 +0,0 @@
|
|||||||
name: "Run tests on Windows"
|
|
||||||
description: "Runs the tests on Windows"
|
|
||||||
|
|
||||||
inputs:
|
|
||||||
working-directory:
|
|
||||||
description: "The working directory"
|
|
||||||
required: true
|
|
||||||
default: "."
|
|
||||||
|
|
||||||
runs:
|
|
||||||
using: "composite"
|
|
||||||
steps:
|
|
||||||
- name: Install Rust
|
|
||||||
shell: pwsh
|
|
||||||
working-directory: ${{ inputs.working-directory }}
|
|
||||||
run: cargo install cargo-nextest --locked
|
|
||||||
|
|
||||||
- name: Install Node
|
|
||||||
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4
|
|
||||||
with:
|
|
||||||
node-version: "18"
|
|
||||||
|
|
||||||
- name: Run tests
|
|
||||||
shell: pwsh
|
|
||||||
working-directory: ${{ inputs.working-directory }}
|
|
||||||
run: cargo nextest run --workspace --no-fail-fast
|
|
||||||
1
.github/workflows/bump_patch_version.yml
vendored
@@ -14,7 +14,6 @@ concurrency:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
bump_patch_version:
|
bump_patch_version:
|
||||||
if: github.repository_owner == 'zed-industries'
|
|
||||||
runs-on:
|
runs-on:
|
||||||
- buildjet-16vcpu-ubuntu-2204
|
- buildjet-16vcpu-ubuntu-2204
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
270
.github/workflows/ci.yml
vendored
@@ -7,10 +7,14 @@ on:
|
|||||||
- "v[0-9]+.[0-9]+.x"
|
- "v[0-9]+.[0-9]+.x"
|
||||||
tags:
|
tags:
|
||||||
- "v*"
|
- "v*"
|
||||||
|
paths-ignore:
|
||||||
|
- "docs/**"
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- "**"
|
- "**"
|
||||||
|
paths-ignore:
|
||||||
|
- "docs/**/*"
|
||||||
|
- ".github/workflows/community_*"
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
# Allow only one workflow per any non-`main` branch.
|
# Allow only one workflow per any non-`main` branch.
|
||||||
@@ -21,6 +25,7 @@ env:
|
|||||||
CARGO_TERM_COLOR: always
|
CARGO_TERM_COLOR: always
|
||||||
CARGO_INCREMENTAL: 0
|
CARGO_INCREMENTAL: 0
|
||||||
RUST_BACKTRACE: 1
|
RUST_BACKTRACE: 1
|
||||||
|
RUSTFLAGS: "-D warnings"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
migration_checks:
|
migration_checks:
|
||||||
@@ -76,10 +81,6 @@ jobs:
|
|||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
||||||
|
|
||||||
# To support writing comments that they will certainly be revisited.
|
|
||||||
- name: Check for todo! and FIXME comments
|
|
||||||
run: script/check-todos
|
|
||||||
|
|
||||||
- name: Run style checks
|
- name: Run style checks
|
||||||
uses: ./.github/actions/check_style
|
uses: ./.github/actions/check_style
|
||||||
|
|
||||||
@@ -101,36 +102,17 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
clean: false
|
clean: false
|
||||||
|
|
||||||
- name: Configure CI
|
|
||||||
run: |
|
|
||||||
mkdir -p ./../.cargo
|
|
||||||
cp ./.cargo/ci-config.toml ./../.cargo/config.toml
|
|
||||||
|
|
||||||
- name: cargo clippy
|
- name: cargo clippy
|
||||||
run: ./script/clippy
|
run: ./script/clippy
|
||||||
|
|
||||||
- name: Install cargo-machete
|
|
||||||
uses: clechasseur/rs-cargo@8435b10f6e71c2e3d4d3b7573003a8ce4bfc6386 # v2
|
|
||||||
with:
|
|
||||||
command: install
|
|
||||||
args: cargo-machete@0.7.0
|
|
||||||
|
|
||||||
- name: Check unused dependencies
|
- name: Check unused dependencies
|
||||||
uses: clechasseur/rs-cargo@8435b10f6e71c2e3d4d3b7573003a8ce4bfc6386 # v2
|
uses: bnjbvr/cargo-machete@main
|
||||||
with:
|
|
||||||
command: machete
|
|
||||||
|
|
||||||
- name: Check licenses
|
- name: Check licenses
|
||||||
run: |
|
run: |
|
||||||
script/check-licenses
|
script/check-licenses
|
||||||
script/generate-licenses /tmp/zed_licenses_output
|
script/generate-licenses /tmp/zed_licenses_output
|
||||||
|
|
||||||
- name: Check for new vulnerable dependencies
|
|
||||||
if: github.event_name == 'pull_request'
|
|
||||||
uses: actions/dependency-review-action@3b139cfc5fae8b618d3eae3675e383bb1769c019 # v4
|
|
||||||
with:
|
|
||||||
license-check: false
|
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
uses: ./.github/actions/run_tests
|
uses: ./.github/actions/run_tests
|
||||||
|
|
||||||
@@ -141,15 +123,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cargo build --workspace --bins --all-features
|
cargo build --workspace --bins --all-features
|
||||||
cargo check -p gpui --features "macos-blade"
|
cargo check -p gpui --features "macos-blade"
|
||||||
cargo check -p workspace
|
|
||||||
cargo build -p remote_server
|
cargo build -p remote_server
|
||||||
cargo check -p gpui --examples
|
|
||||||
script/check-rust-livekit-macos
|
|
||||||
|
|
||||||
# Since the macOS runners are stateful, so we need to remove the config file to prevent potential bug.
|
|
||||||
- name: Clean CI config file
|
|
||||||
if: always()
|
|
||||||
run: rm -rf ./../.cargo
|
|
||||||
|
|
||||||
linux_tests:
|
linux_tests:
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
@@ -167,7 +141,7 @@ jobs:
|
|||||||
clean: false
|
clean: false
|
||||||
|
|
||||||
- name: Cache dependencies
|
- name: Cache dependencies
|
||||||
uses: swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2
|
uses: swatinem/rust-cache@82a92a6e8fbeee089604da2575dc567ae9ddeaab # v2
|
||||||
with:
|
with:
|
||||||
save-if: ${{ github.ref == 'refs/heads/main' }}
|
save-if: ${{ github.ref == 'refs/heads/main' }}
|
||||||
cache-provider: "buildjet"
|
cache-provider: "buildjet"
|
||||||
@@ -175,30 +149,14 @@ jobs:
|
|||||||
- name: Install Linux dependencies
|
- name: Install Linux dependencies
|
||||||
run: ./script/linux
|
run: ./script/linux
|
||||||
|
|
||||||
- name: Configure CI
|
|
||||||
run: |
|
|
||||||
mkdir -p ./../.cargo
|
|
||||||
cp ./.cargo/ci-config.toml ./../.cargo/config.toml
|
|
||||||
|
|
||||||
- name: cargo clippy
|
- name: cargo clippy
|
||||||
run: ./script/clippy
|
run: ./script/clippy
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
uses: ./.github/actions/run_tests
|
uses: ./.github/actions/run_tests
|
||||||
|
|
||||||
- name: Build other binaries and features
|
- name: Build Zed
|
||||||
run: |
|
run: cargo build -p zed
|
||||||
cargo build -p zed
|
|
||||||
cargo check -p workspace
|
|
||||||
cargo check -p gpui --examples
|
|
||||||
|
|
||||||
# Even the Linux runner is not stateful, in theory there is no need to do this cleanup.
|
|
||||||
# But, to avoid potential issues in the future if we choose to use a stateful Linux runner and forget to add code
|
|
||||||
# to clean up the config file, I’ve included the cleanup code here as a precaution.
|
|
||||||
# While it’s not strictly necessary at this moment, I believe it’s better to err on the side of caution.
|
|
||||||
- name: Clean CI config file
|
|
||||||
if: always()
|
|
||||||
run: rm -rf ./../.cargo
|
|
||||||
|
|
||||||
build_remote_server:
|
build_remote_server:
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
@@ -216,7 +174,7 @@ jobs:
|
|||||||
clean: false
|
clean: false
|
||||||
|
|
||||||
- name: Cache dependencies
|
- name: Cache dependencies
|
||||||
uses: swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2
|
uses: swatinem/rust-cache@82a92a6e8fbeee089604da2575dc567ae9ddeaab # v2
|
||||||
with:
|
with:
|
||||||
save-if: ${{ github.ref == 'refs/heads/main' }}
|
save-if: ${{ github.ref == 'refs/heads/main' }}
|
||||||
cache-provider: "buildjet"
|
cache-provider: "buildjet"
|
||||||
@@ -224,156 +182,39 @@ jobs:
|
|||||||
- name: Install Clang & Mold
|
- name: Install Clang & Mold
|
||||||
run: ./script/remote-server && ./script/install-mold 2.34.0
|
run: ./script/remote-server && ./script/install-mold 2.34.0
|
||||||
|
|
||||||
- name: Configure CI
|
|
||||||
run: |
|
|
||||||
mkdir -p ./../.cargo
|
|
||||||
cp ./.cargo/ci-config.toml ./../.cargo/config.toml
|
|
||||||
|
|
||||||
- name: Build Remote Server
|
- name: Build Remote Server
|
||||||
run: cargo build -p remote_server
|
run: cargo build -p remote_server
|
||||||
|
|
||||||
- name: Clean CI config file
|
# todo(windows): Actually run the tests
|
||||||
if: always()
|
|
||||||
run: rm -rf ./../.cargo
|
|
||||||
|
|
||||||
windows_clippy:
|
|
||||||
timeout-minutes: 60
|
|
||||||
name: (Windows) Run Clippy
|
|
||||||
if: github.repository_owner == 'zed-industries'
|
|
||||||
runs-on: hosted-windows-2
|
|
||||||
steps:
|
|
||||||
# Temporarily Collect some metadata about the hardware behind our runners.
|
|
||||||
- name: GHA Runner Info
|
|
||||||
run: |
|
|
||||||
Invoke-RestMethod -Headers @{"Metadata"="true"} -Method GET -Uri "http://169.254.169.254/metadata/instance/compute?api-version=2023-07-01" |
|
|
||||||
ConvertTo-Json -Depth 10 |
|
|
||||||
jq "{ vm_size: .vmSize, location: .location, os_disk_gb: (.storageProfile.osDisk.diskSizeGB | tonumber), rs_disk_gb: (.storageProfile.resourceDisk.size | tonumber / 1024) }"
|
|
||||||
@{
|
|
||||||
Cores = (Get-CimInstance Win32_Processor).NumberOfCores
|
|
||||||
vCPUs = (Get-CimInstance Win32_Processor).NumberOfLogicalProcessors
|
|
||||||
RamGb = [math]::Round((Get-CimInstance Win32_ComputerSystem).TotalPhysicalMemory / 1GB, 2)
|
|
||||||
cpuid = (Get-CimInstance Win32_Processor).Name.Trim()
|
|
||||||
} | ConvertTo-Json
|
|
||||||
# more info here:- https://github.com/rust-lang/cargo/issues/13020
|
|
||||||
- name: Enable longer pathnames for git
|
|
||||||
run: git config --system core.longpaths true
|
|
||||||
|
|
||||||
- name: Checkout repo
|
|
||||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
|
||||||
with:
|
|
||||||
clean: false
|
|
||||||
|
|
||||||
- name: Create Dev Drive using ReFS
|
|
||||||
run: ./script/setup-dev-driver.ps1
|
|
||||||
|
|
||||||
# actions/checkout does not let us clone into anywhere outside ${{ github.workspace }}, so we have to copy the clone...
|
|
||||||
- name: Copy Git Repo to Dev Drive
|
|
||||||
run: |
|
|
||||||
Copy-Item -Path "${{ github.workspace }}" -Destination "${{ env.ZED_WORKSPACE }}" -Recurse
|
|
||||||
|
|
||||||
- name: Cache dependencies
|
|
||||||
uses: swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2
|
|
||||||
with:
|
|
||||||
save-if: ${{ github.ref == 'refs/heads/main' }}
|
|
||||||
workspaces: ${{ env.ZED_WORKSPACE }}
|
|
||||||
cache-provider: "github"
|
|
||||||
|
|
||||||
- name: Configure CI
|
|
||||||
run: |
|
|
||||||
mkdir -p ${{ env.CARGO_HOME }} -ErrorAction Ignore
|
|
||||||
cp ./.cargo/ci-config.toml ${{ env.CARGO_HOME }}/config.toml
|
|
||||||
|
|
||||||
- name: cargo clippy
|
|
||||||
working-directory: ${{ env.ZED_WORKSPACE }}
|
|
||||||
run: ./script/clippy.ps1
|
|
||||||
|
|
||||||
- name: Check dev drive space
|
|
||||||
working-directory: ${{ env.ZED_WORKSPACE }}
|
|
||||||
# `setup-dev-driver.ps1` creates a 100GB drive, with CI taking up ~45GB of the drive.
|
|
||||||
run: ./script/exit-ci-if-dev-drive-is-full.ps1 95
|
|
||||||
|
|
||||||
# Since the Windows runners are stateful, so we need to remove the config file to prevent potential bug.
|
|
||||||
- name: Clean CI config file
|
|
||||||
if: always()
|
|
||||||
run: |
|
|
||||||
if (Test-Path "${{ env.CARGO_HOME }}/config.toml") {
|
|
||||||
Remove-Item -Path "${{ env.CARGO_HOME }}/config.toml" -Force
|
|
||||||
}
|
|
||||||
|
|
||||||
# Windows CI takes twice as long as our other platforms and fast github hosted runners are expensive.
|
|
||||||
# But we still want to do CI, so let's only run tests on main and come back to this when we're
|
|
||||||
# ready to self host our Windows CI (e.g. during the push for full Windows support)
|
|
||||||
windows_tests:
|
windows_tests:
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
name: (Windows) Run Tests
|
name: (Windows) Run Clippy and tests
|
||||||
if: ${{ github.repository_owner == 'zed-industries' && (github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name, 'windows')) }}
|
if: github.repository_owner == 'zed-industries'
|
||||||
runs-on: hosted-windows-2
|
runs-on: hosted-windows-1
|
||||||
steps:
|
steps:
|
||||||
# Temporarily Collect some metadata about the hardware behind our runners.
|
|
||||||
- name: GHA Runner Info
|
|
||||||
run: |
|
|
||||||
Invoke-RestMethod -Headers @{"Metadata"="true"} -Method GET -Uri "http://169.254.169.254/metadata/instance/compute?api-version=2023-07-01" |
|
|
||||||
ConvertTo-Json -Depth 10 |
|
|
||||||
jq "{ vm_size: .vmSize, location: .location, os_disk_gb: (.storageProfile.osDisk.diskSizeGB | tonumber), rs_disk_gb: (.storageProfile.resourceDisk.size | tonumber / 1024) }"
|
|
||||||
@{
|
|
||||||
Cores = (Get-CimInstance Win32_Processor).NumberOfCores
|
|
||||||
vCPUs = (Get-CimInstance Win32_Processor).NumberOfLogicalProcessors
|
|
||||||
RamGb = [math]::Round((Get-CimInstance Win32_ComputerSystem).TotalPhysicalMemory / 1GB, 2)
|
|
||||||
cpuid = (Get-CimInstance Win32_Processor).Name.Trim()
|
|
||||||
} | ConvertTo-Json
|
|
||||||
# more info here:- https://github.com/rust-lang/cargo/issues/13020
|
# more info here:- https://github.com/rust-lang/cargo/issues/13020
|
||||||
- name: Enable longer pathnames for git
|
- name: Enable longer pathnames for git
|
||||||
run: git config --system core.longpaths true
|
run: git config --system core.longpaths true
|
||||||
|
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
||||||
with:
|
with:
|
||||||
clean: false
|
clean: false
|
||||||
|
|
||||||
- name: Create Dev Drive using ReFS
|
|
||||||
run: ./script/setup-dev-driver.ps1
|
|
||||||
|
|
||||||
# actions/checkout does not let us clone into anywhere outside ${{ github.workspace }}, so we have to copy the clone...
|
|
||||||
- name: Copy Git Repo to Dev Drive
|
|
||||||
run: |
|
|
||||||
Copy-Item -Path "${{ github.workspace }}" -Destination "${{ env.ZED_WORKSPACE }}" -Recurse
|
|
||||||
|
|
||||||
- name: Cache dependencies
|
- name: Cache dependencies
|
||||||
uses: swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2
|
uses: swatinem/rust-cache@82a92a6e8fbeee089604da2575dc567ae9ddeaab # v2
|
||||||
with:
|
with:
|
||||||
save-if: ${{ github.ref == 'refs/heads/main' }}
|
save-if: ${{ github.ref == 'refs/heads/main' }}
|
||||||
workspaces: ${{ env.ZED_WORKSPACE }}
|
|
||||||
cache-provider: "github"
|
cache-provider: "github"
|
||||||
|
|
||||||
- name: Configure CI
|
- name: cargo clippy
|
||||||
run: |
|
# Windows can't run shell scripts, so we need to use `cargo xtask`.
|
||||||
mkdir -p ${{ env.CARGO_HOME }} -ErrorAction Ignore
|
run: cargo xtask clippy
|
||||||
cp ./.cargo/ci-config.toml ${{ env.CARGO_HOME }}/config.toml
|
|
||||||
|
|
||||||
- name: Run tests
|
|
||||||
uses: ./.github/actions/run_tests_windows
|
|
||||||
with:
|
|
||||||
working-directory: ${{ env.ZED_WORKSPACE }}
|
|
||||||
|
|
||||||
- name: Build Zed
|
- name: Build Zed
|
||||||
working-directory: ${{ env.ZED_WORKSPACE }}
|
|
||||||
run: cargo build
|
run: cargo build
|
||||||
|
|
||||||
- name: Check dev drive space
|
|
||||||
working-directory: ${{ env.ZED_WORKSPACE }}
|
|
||||||
# `setup-dev-driver.ps1` creates a 100GB drive, with CI taking up ~45GB of the drive.
|
|
||||||
run: ./script/exit-ci-if-dev-drive-is-full.ps1 95
|
|
||||||
|
|
||||||
# Since the Windows runners are stateful, so we need to remove the config file to prevent potential bug.
|
|
||||||
- name: Clean CI config file
|
|
||||||
if: always()
|
|
||||||
run: |
|
|
||||||
if (Test-Path "${{ env.CARGO_HOME }}/config.toml") {
|
|
||||||
Remove-Item -Path "${{ env.CARGO_HOME }}/config.toml" -Force
|
|
||||||
}
|
|
||||||
|
|
||||||
bundle-mac:
|
bundle-mac:
|
||||||
timeout-minutes: 120
|
timeout-minutes: 60
|
||||||
name: Create a macOS bundle
|
name: Create a macOS bundle
|
||||||
runs-on:
|
runs-on:
|
||||||
- self-hosted
|
- self-hosted
|
||||||
@@ -383,16 +224,15 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
MACOS_CERTIFICATE: ${{ secrets.MACOS_CERTIFICATE }}
|
MACOS_CERTIFICATE: ${{ secrets.MACOS_CERTIFICATE }}
|
||||||
MACOS_CERTIFICATE_PASSWORD: ${{ secrets.MACOS_CERTIFICATE_PASSWORD }}
|
MACOS_CERTIFICATE_PASSWORD: ${{ secrets.MACOS_CERTIFICATE_PASSWORD }}
|
||||||
APPLE_NOTARIZATION_KEY: ${{ secrets.APPLE_NOTARIZATION_KEY }}
|
APPLE_NOTARIZATION_USERNAME: ${{ secrets.APPLE_NOTARIZATION_USERNAME }}
|
||||||
APPLE_NOTARIZATION_KEY_ID: ${{ secrets.APPLE_NOTARIZATION_KEY_ID }}
|
APPLE_NOTARIZATION_PASSWORD: ${{ secrets.APPLE_NOTARIZATION_PASSWORD }}
|
||||||
APPLE_NOTARIZATION_ISSUER_ID: ${{ secrets.APPLE_NOTARIZATION_ISSUER_ID }}
|
|
||||||
ZED_CLIENT_CHECKSUM_SEED: ${{ secrets.ZED_CLIENT_CHECKSUM_SEED }}
|
ZED_CLIENT_CHECKSUM_SEED: ${{ secrets.ZED_CLIENT_CHECKSUM_SEED }}
|
||||||
ZED_CLOUD_PROVIDER_ADDITIONAL_MODELS_JSON: ${{ secrets.ZED_CLOUD_PROVIDER_ADDITIONAL_MODELS_JSON }}
|
ZED_CLOUD_PROVIDER_ADDITIONAL_MODELS_JSON: ${{ secrets.ZED_CLOUD_PROVIDER_ADDITIONAL_MODELS_JSON }}
|
||||||
DIGITALOCEAN_SPACES_ACCESS_KEY: ${{ secrets.DIGITALOCEAN_SPACES_ACCESS_KEY }}
|
DIGITALOCEAN_SPACES_ACCESS_KEY: ${{ secrets.DIGITALOCEAN_SPACES_ACCESS_KEY }}
|
||||||
DIGITALOCEAN_SPACES_SECRET_KEY: ${{ secrets.DIGITALOCEAN_SPACES_SECRET_KEY }}
|
DIGITALOCEAN_SPACES_SECRET_KEY: ${{ secrets.DIGITALOCEAN_SPACES_SECRET_KEY }}
|
||||||
steps:
|
steps:
|
||||||
- name: Install Node
|
- name: Install Node
|
||||||
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4
|
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
|
||||||
with:
|
with:
|
||||||
node-version: "18"
|
node-version: "18"
|
||||||
|
|
||||||
@@ -405,7 +245,6 @@ jobs:
|
|||||||
# 25 was chosen arbitrarily.
|
# 25 was chosen arbitrarily.
|
||||||
fetch-depth: 25
|
fetch-depth: 25
|
||||||
clean: false
|
clean: false
|
||||||
ref: ${{ github.ref }}
|
|
||||||
|
|
||||||
- name: Limit target directory size
|
- name: Limit target directory size
|
||||||
run: script/clear-target-dir-if-larger-than 100
|
run: script/clear-target-dir-if-larger-than 100
|
||||||
@@ -422,28 +261,34 @@ jobs:
|
|||||||
mkdir -p target/
|
mkdir -p target/
|
||||||
# Ignore any errors that occur while drafting release notes to not fail the build.
|
# Ignore any errors that occur while drafting release notes to not fail the build.
|
||||||
script/draft-release-notes "$RELEASE_VERSION" "$RELEASE_CHANNEL" > target/release-notes.md || true
|
script/draft-release-notes "$RELEASE_VERSION" "$RELEASE_CHANNEL" > target/release-notes.md || true
|
||||||
script/create-draft-release target/release-notes.md
|
|
||||||
env:
|
- name: Generate license file
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
run: script/generate-licenses
|
||||||
|
|
||||||
- name: Create macOS app bundle
|
- name: Create macOS app bundle
|
||||||
run: script/bundle-mac
|
run: script/bundle-mac
|
||||||
|
|
||||||
- name: Rename binaries
|
- name: Rename single-architecture binaries
|
||||||
if: ${{ github.ref == 'refs/heads/main' }} || contains(github.event.pull_request.labels.*.name, 'run-bundling') }}
|
if: ${{ github.ref == 'refs/heads/main' }} || contains(github.event.pull_request.labels.*.name, 'run-bundling') }}
|
||||||
run: |
|
run: |
|
||||||
mv target/aarch64-apple-darwin/release/Zed.dmg target/aarch64-apple-darwin/release/Zed-aarch64.dmg
|
mv target/aarch64-apple-darwin/release/Zed.dmg target/aarch64-apple-darwin/release/Zed-aarch64.dmg
|
||||||
mv target/x86_64-apple-darwin/release/Zed.dmg target/x86_64-apple-darwin/release/Zed-x86_64.dmg
|
mv target/x86_64-apple-darwin/release/Zed.dmg target/x86_64-apple-darwin/release/Zed-x86_64.dmg
|
||||||
|
|
||||||
|
- name: Upload app bundle (universal) to workflow run if main branch or specific label
|
||||||
|
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
|
||||||
|
if: ${{ github.ref == 'refs/heads/main' }} || contains(github.event.pull_request.labels.*.name, 'run-bundling') }}
|
||||||
|
with:
|
||||||
|
name: Zed_${{ github.event.pull_request.head.sha || github.sha }}.dmg
|
||||||
|
path: target/release/Zed.dmg
|
||||||
- name: Upload app bundle (aarch64) to workflow run if main branch or specific label
|
- name: Upload app bundle (aarch64) to workflow run if main branch or specific label
|
||||||
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
|
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
|
||||||
if: ${{ github.ref == 'refs/heads/main' }} || contains(github.event.pull_request.labels.*.name, 'run-bundling') }}
|
if: ${{ github.ref == 'refs/heads/main' }} || contains(github.event.pull_request.labels.*.name, 'run-bundling') }}
|
||||||
with:
|
with:
|
||||||
name: Zed_${{ github.event.pull_request.head.sha || github.sha }}-aarch64.dmg
|
name: Zed_${{ github.event.pull_request.head.sha || github.sha }}-aarch64.dmg
|
||||||
path: target/aarch64-apple-darwin/release/Zed-aarch64.dmg
|
path: target/aarch64-apple-darwin/release/Zed-aarch64.dmg
|
||||||
|
|
||||||
- name: Upload app bundle (x86_64) to workflow run if main branch or specific label
|
- name: Upload app bundle (x86_64) to workflow run if main branch or specific label
|
||||||
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
|
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
|
||||||
if: ${{ github.ref == 'refs/heads/main' }} || contains(github.event.pull_request.labels.*.name, 'run-bundling') }}
|
if: ${{ github.ref == 'refs/heads/main' }} || contains(github.event.pull_request.labels.*.name, 'run-bundling') }}
|
||||||
with:
|
with:
|
||||||
name: Zed_${{ github.event.pull_request.head.sha || github.sha }}-x86_64.dmg
|
name: Zed_${{ github.event.pull_request.head.sha || github.sha }}-x86_64.dmg
|
||||||
@@ -460,12 +305,14 @@ jobs:
|
|||||||
target/zed-remote-server-macos-aarch64.gz
|
target/zed-remote-server-macos-aarch64.gz
|
||||||
target/aarch64-apple-darwin/release/Zed-aarch64.dmg
|
target/aarch64-apple-darwin/release/Zed-aarch64.dmg
|
||||||
target/x86_64-apple-darwin/release/Zed-x86_64.dmg
|
target/x86_64-apple-darwin/release/Zed-x86_64.dmg
|
||||||
|
target/release/Zed.dmg
|
||||||
|
body_path: target/release-notes.md
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
bundle-linux-x86_x64:
|
bundle-linux:
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
name: Linux x86_x64 release bundle
|
name: Create a Linux bundle
|
||||||
runs-on:
|
runs-on:
|
||||||
- buildjet-16vcpu-ubuntu-2004
|
- buildjet-16vcpu-ubuntu-2004
|
||||||
if: ${{ startsWith(github.ref, 'refs/tags/v') || contains(github.event.pull_request.labels.*.name, 'run-bundling') }}
|
if: ${{ startsWith(github.ref, 'refs/tags/v') || contains(github.event.pull_request.labels.*.name, 'run-bundling') }}
|
||||||
@@ -473,8 +320,6 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
ZED_CLIENT_CHECKSUM_SEED: ${{ secrets.ZED_CLIENT_CHECKSUM_SEED }}
|
ZED_CLIENT_CHECKSUM_SEED: ${{ secrets.ZED_CLIENT_CHECKSUM_SEED }}
|
||||||
ZED_CLOUD_PROVIDER_ADDITIONAL_MODELS_JSON: ${{ secrets.ZED_CLOUD_PROVIDER_ADDITIONAL_MODELS_JSON }}
|
ZED_CLOUD_PROVIDER_ADDITIONAL_MODELS_JSON: ${{ secrets.ZED_CLOUD_PROVIDER_ADDITIONAL_MODELS_JSON }}
|
||||||
DIGITALOCEAN_SPACES_ACCESS_KEY: ${{ secrets.DIGITALOCEAN_SPACES_ACCESS_KEY }}
|
|
||||||
DIGITALOCEAN_SPACES_SECRET_KEY: ${{ secrets.DIGITALOCEAN_SPACES_SECRET_KEY }}
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
||||||
@@ -494,19 +339,12 @@ jobs:
|
|||||||
run: script/bundle-linux
|
run: script/bundle-linux
|
||||||
|
|
||||||
- name: Upload Linux bundle to workflow run if main branch or specific label
|
- name: Upload Linux bundle to workflow run if main branch or specific label
|
||||||
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
|
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
|
||||||
if: ${{ github.ref == 'refs/heads/main' }} || contains(github.event.pull_request.labels.*.name, 'run-bundling') }}
|
if: ${{ github.ref == 'refs/heads/main' }} || contains(github.event.pull_request.labels.*.name, 'run-bundling') }}
|
||||||
with:
|
with:
|
||||||
name: zed-${{ github.event.pull_request.head.sha || github.sha }}-x86_64-unknown-linux-gnu.tar.gz
|
name: zed-${{ github.event.pull_request.head.sha || github.sha }}-x86_64-unknown-linux-gnu.tar.gz
|
||||||
path: target/release/zed-*.tar.gz
|
path: target/release/zed-*.tar.gz
|
||||||
|
|
||||||
- name: Upload Linux remote server to workflow run if main branch or specific label
|
|
||||||
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
|
|
||||||
if: ${{ github.ref == 'refs/heads/main' }} || contains(github.event.pull_request.labels.*.name, 'run-bundling') }}
|
|
||||||
with:
|
|
||||||
name: zed-remote-server-${{ github.event.pull_request.head.sha || github.sha }}-x86_64-unknown-linux-gnu.gz
|
|
||||||
path: target/zed-remote-server-linux-x86_64.gz
|
|
||||||
|
|
||||||
- name: Upload app bundle to release
|
- name: Upload app bundle to release
|
||||||
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v1
|
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v1
|
||||||
with:
|
with:
|
||||||
@@ -515,12 +353,13 @@ jobs:
|
|||||||
files: |
|
files: |
|
||||||
target/zed-remote-server-linux-x86_64.gz
|
target/zed-remote-server-linux-x86_64.gz
|
||||||
target/release/zed-linux-x86_64.tar.gz
|
target/release/zed-linux-x86_64.tar.gz
|
||||||
|
body: ""
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
bundle-linux-aarch64: # this runs on ubuntu22.04
|
bundle-linux-aarch64: # this runs on ubuntu22.04
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
name: Linux arm64 release bundle
|
name: Create arm64 Linux bundle
|
||||||
runs-on:
|
runs-on:
|
||||||
- buildjet-16vcpu-ubuntu-2204-arm
|
- buildjet-16vcpu-ubuntu-2204-arm
|
||||||
if: ${{ startsWith(github.ref, 'refs/tags/v') || contains(github.event.pull_request.labels.*.name, 'run-bundling') }}
|
if: ${{ startsWith(github.ref, 'refs/tags/v') || contains(github.event.pull_request.labels.*.name, 'run-bundling') }}
|
||||||
@@ -528,8 +367,6 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
ZED_CLIENT_CHECKSUM_SEED: ${{ secrets.ZED_CLIENT_CHECKSUM_SEED }}
|
ZED_CLIENT_CHECKSUM_SEED: ${{ secrets.ZED_CLIENT_CHECKSUM_SEED }}
|
||||||
ZED_CLOUD_PROVIDER_ADDITIONAL_MODELS_JSON: ${{ secrets.ZED_CLOUD_PROVIDER_ADDITIONAL_MODELS_JSON }}
|
ZED_CLOUD_PROVIDER_ADDITIONAL_MODELS_JSON: ${{ secrets.ZED_CLOUD_PROVIDER_ADDITIONAL_MODELS_JSON }}
|
||||||
DIGITALOCEAN_SPACES_ACCESS_KEY: ${{ secrets.DIGITALOCEAN_SPACES_ACCESS_KEY }}
|
|
||||||
DIGITALOCEAN_SPACES_SECRET_KEY: ${{ secrets.DIGITALOCEAN_SPACES_SECRET_KEY }}
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
||||||
@@ -549,19 +386,12 @@ jobs:
|
|||||||
run: script/bundle-linux
|
run: script/bundle-linux
|
||||||
|
|
||||||
- name: Upload Linux bundle to workflow run if main branch or specific label
|
- name: Upload Linux bundle to workflow run if main branch or specific label
|
||||||
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
|
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
|
||||||
if: ${{ github.ref == 'refs/heads/main' }} || contains(github.event.pull_request.labels.*.name, 'run-bundling') }}
|
if: ${{ github.ref == 'refs/heads/main' }} || contains(github.event.pull_request.labels.*.name, 'run-bundling') }}
|
||||||
with:
|
with:
|
||||||
name: zed-${{ github.event.pull_request.head.sha || github.sha }}-aarch64-unknown-linux-gnu.tar.gz
|
name: zed-${{ github.event.pull_request.head.sha || github.sha }}-aarch64-unknown-linux-gnu.tar.gz
|
||||||
path: target/release/zed-*.tar.gz
|
path: target/release/zed-*.tar.gz
|
||||||
|
|
||||||
- name: Upload Linux remote server to workflow run if main branch or specific label
|
|
||||||
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
|
|
||||||
if: ${{ github.ref == 'refs/heads/main' }} || contains(github.event.pull_request.labels.*.name, 'run-bundling') }}
|
|
||||||
with:
|
|
||||||
name: zed-remote-server-${{ github.event.pull_request.head.sha || github.sha }}-aarch64-unknown-linux-gnu.gz
|
|
||||||
path: target/zed-remote-server-linux-aarch64.gz
|
|
||||||
|
|
||||||
- name: Upload app bundle to release
|
- name: Upload app bundle to release
|
||||||
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v1
|
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v1
|
||||||
with:
|
with:
|
||||||
@@ -570,18 +400,6 @@ jobs:
|
|||||||
files: |
|
files: |
|
||||||
target/zed-remote-server-linux-aarch64.gz
|
target/zed-remote-server-linux-aarch64.gz
|
||||||
target/release/zed-linux-aarch64.tar.gz
|
target/release/zed-linux-aarch64.tar.gz
|
||||||
env:
|
body: ""
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
auto-release-preview:
|
|
||||||
name: Auto release preview
|
|
||||||
if: ${{ startsWith(github.ref, 'refs/tags/v') && endsWith(github.ref, '-pre') && !endsWith(github.ref, '.0-pre') }}
|
|
||||||
needs: [bundle-mac, bundle-linux-x86_x64, bundle-linux-aarch64]
|
|
||||||
runs-on:
|
|
||||||
- self-hosted
|
|
||||||
- bundle
|
|
||||||
steps:
|
|
||||||
- name: gh release
|
|
||||||
run: gh release edit $GITHUB_REF_NAME --draft=true
|
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ jobs:
|
|||||||
if: github.repository_owner == 'zed-industries'
|
if: github.repository_owner == 'zed-industries'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9
|
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
stale-issue-message: >
|
stale-issue-message: >
|
||||||
@@ -19,7 +19,11 @@ jobs:
|
|||||||
|
|
||||||
Thanks for your help!
|
Thanks for your help!
|
||||||
close-issue-message: "This issue was closed due to inactivity. If you're still experiencing this problem, please open a new issue with a link to this issue."
|
close-issue-message: "This issue was closed due to inactivity. If you're still experiencing this problem, please open a new issue with a link to this issue."
|
||||||
days-before-stale: 120
|
# We will increase `days-before-stale` to 365 on or after Jan 24th,
|
||||||
|
# 2024. This date marks one year since migrating issues from
|
||||||
|
# 'community' to 'zed' repository. The migration added activity to all
|
||||||
|
# issues, preventing 365 days from working until then.
|
||||||
|
days-before-stale: 180
|
||||||
days-before-close: 7
|
days-before-close: 7
|
||||||
any-of-issue-labels: "bug,panic / crash"
|
any-of-issue-labels: "bug,panic / crash"
|
||||||
operations-per-run: 1000
|
operations-per-run: 1000
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ permissions:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
delete_comment:
|
delete_comment:
|
||||||
if: github.repository_owner == 'zed-industries'
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check for specific strings in comment
|
- name: Check for specific strings in comment
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
discord_release:
|
discord_release:
|
||||||
if: github.repository_owner == 'zed-industries'
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Get release URL
|
- name: Get release URL
|
||||||
@@ -19,7 +18,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
echo "::set-output name=URL::$URL"
|
echo "::set-output name=URL::$URL"
|
||||||
- name: Get content
|
- name: Get content
|
||||||
uses: 2428392/gh-truncate-string-action@b3ff790d21cf42af3ca7579146eedb93c8fb0757 # v1.4.1
|
uses: 2428392/gh-truncate-string-action@e6b5885fb83c81ca9a700a91b079baec2133be3e # v1.4.0
|
||||||
id: get-content
|
id: get-content
|
||||||
with:
|
with:
|
||||||
stringToTruncate: |
|
stringToTruncate: |
|
||||||
|
|||||||
@@ -8,11 +8,11 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
update_top_ranking_issues:
|
update_top_ranking_issues:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.repository == 'zed-industries/zed'
|
if: github.repository_owner == 'zed-industries'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
||||||
- name: Set up uv
|
- name: Set up uv
|
||||||
uses: astral-sh/setup-uv@caf0cab7a618c569241d31dcd442f54681755d39 # v3
|
uses: astral-sh/setup-uv@2e657c127d5b1635d5a8e3fa40e0ac50a5bf6992 # v3
|
||||||
with:
|
with:
|
||||||
version: "latest"
|
version: "latest"
|
||||||
enable-cache: true
|
enable-cache: true
|
||||||
|
|||||||
@@ -8,11 +8,11 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
update_top_ranking_issues:
|
update_top_ranking_issues:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.repository == 'zed-industries/zed'
|
if: github.repository_owner == 'zed-industries'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
||||||
- name: Set up uv
|
- name: Set up uv
|
||||||
uses: astral-sh/setup-uv@caf0cab7a618c569241d31dcd442f54681755d39 # v3
|
uses: astral-sh/setup-uv@2e657c127d5b1635d5a8e3fa40e0ac50a5bf6992 # v3
|
||||||
with:
|
with:
|
||||||
version: "latest"
|
version: "latest"
|
||||||
enable-cache: true
|
enable-cache: true
|
||||||
|
|||||||
3
.github/workflows/danger.yml
vendored
@@ -11,7 +11,6 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
danger:
|
danger:
|
||||||
if: github.repository_owner == 'zed-industries'
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@@ -22,7 +21,7 @@ jobs:
|
|||||||
version: 9
|
version: 9
|
||||||
|
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4
|
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
|
||||||
with:
|
with:
|
||||||
node-version: "20"
|
node-version: "20"
|
||||||
cache: "pnpm"
|
cache: "pnpm"
|
||||||
|
|||||||
15
.github/workflows/deploy_cloudflare.yml
vendored
@@ -37,36 +37,29 @@ jobs:
|
|||||||
mdbook build ./docs --dest-dir=../target/deploy/docs/
|
mdbook build ./docs --dest-dir=../target/deploy/docs/
|
||||||
|
|
||||||
- name: Deploy Docs
|
- name: Deploy Docs
|
||||||
uses: cloudflare/wrangler-action@392082e81ffbcb9ebdde27400634aa004b35ea37 # v3
|
uses: cloudflare/wrangler-action@05f17c4a695b4d94b57b59997562c6a4624c64e4 # v3
|
||||||
with:
|
with:
|
||||||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||||
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
||||||
command: pages deploy target/deploy --project-name=docs
|
command: pages deploy target/deploy --project-name=docs
|
||||||
|
|
||||||
- name: Deploy Install
|
- name: Deploy Install
|
||||||
uses: cloudflare/wrangler-action@392082e81ffbcb9ebdde27400634aa004b35ea37 # v3
|
uses: cloudflare/wrangler-action@05f17c4a695b4d94b57b59997562c6a4624c64e4 # v3
|
||||||
with:
|
with:
|
||||||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||||
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
||||||
command: r2 object put -f script/install.sh zed-open-source-website-assets/install.sh
|
command: r2 object put -f script/install.sh zed-open-source-website-assets/install.sh
|
||||||
|
|
||||||
- name: Deploy Docs Workers
|
- name: Deploy Docs Workers
|
||||||
uses: cloudflare/wrangler-action@392082e81ffbcb9ebdde27400634aa004b35ea37 # v3
|
uses: cloudflare/wrangler-action@05f17c4a695b4d94b57b59997562c6a4624c64e4 # v3
|
||||||
with:
|
with:
|
||||||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||||
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
||||||
command: deploy .cloudflare/docs-proxy/src/worker.js
|
command: deploy .cloudflare/docs-proxy/src/worker.js
|
||||||
|
|
||||||
- name: Deploy Install Workers
|
- name: Deploy Install Workers
|
||||||
uses: cloudflare/wrangler-action@392082e81ffbcb9ebdde27400634aa004b35ea37 # v3
|
uses: cloudflare/wrangler-action@05f17c4a695b4d94b57b59997562c6a4624c64e4 # v3
|
||||||
with:
|
with:
|
||||||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||||
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
||||||
command: deploy .cloudflare/docs-proxy/src/worker.js
|
command: deploy .cloudflare/docs-proxy/src/worker.js
|
||||||
|
|
||||||
- name: Preserve Wrangler logs
|
|
||||||
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
|
|
||||||
if: always()
|
|
||||||
with:
|
|
||||||
name: wrangler_logs
|
|
||||||
path: /home/runner/.config/.wrangler/logs/
|
|
||||||
|
|||||||
3
.github/workflows/deploy_collab.yml
vendored
@@ -12,7 +12,6 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
style:
|
style:
|
||||||
name: Check formatting and Clippy lints
|
name: Check formatting and Clippy lints
|
||||||
if: github.repository_owner == 'zed-industries'
|
|
||||||
runs-on:
|
runs-on:
|
||||||
- self-hosted
|
- self-hosted
|
||||||
- test
|
- test
|
||||||
@@ -45,7 +44,7 @@ jobs:
|
|||||||
- name: Install cargo nextest
|
- name: Install cargo nextest
|
||||||
shell: bash -euxo pipefail {0}
|
shell: bash -euxo pipefail {0}
|
||||||
run: |
|
run: |
|
||||||
cargo install cargo-nextest --locked
|
cargo install cargo-nextest
|
||||||
|
|
||||||
- name: Limit target directory size
|
- name: Limit target directory size
|
||||||
shell: bash -euxo pipefail {0}
|
shell: bash -euxo pipefail {0}
|
||||||
|
|||||||
6
.github/workflows/docs.yml
vendored
@@ -24,13 +24,11 @@ jobs:
|
|||||||
- name: Prettier Check on /docs
|
- name: Prettier Check on /docs
|
||||||
working-directory: ./docs
|
working-directory: ./docs
|
||||||
run: |
|
run: |
|
||||||
pnpm dlx prettier@${PRETTIER_VERSION} . --check || {
|
pnpm dlx prettier . --check || {
|
||||||
echo "To fix, run from the root of the zed repo:"
|
echo "To fix, run from the root of the zed repo:"
|
||||||
echo " cd docs && pnpm dlx prettier@${PRETTIER_VERSION} . --write && cd .."
|
echo " cd docs && pnpm dlx prettier . --write && cd .."
|
||||||
false
|
false
|
||||||
}
|
}
|
||||||
env:
|
|
||||||
PRETTIER_VERSION: 3.5.0
|
|
||||||
|
|
||||||
- name: Check for Typos with Typos-CLI
|
- name: Check for Typos with Typos-CLI
|
||||||
uses: crate-ci/typos@8e6a4285bcbde632c5d79900a7779746e8b7ea3f # v1.24.6
|
uses: crate-ci/typos@8e6a4285bcbde632c5d79900a7779746e8b7ea3f # v1.24.6
|
||||||
|
|||||||
33
.github/workflows/issue_response.yml
vendored
@@ -1,33 +0,0 @@
|
|||||||
name: Issue Response
|
|
||||||
|
|
||||||
on:
|
|
||||||
schedule:
|
|
||||||
- cron: "0 12 * * 2"
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
issue-response:
|
|
||||||
if: github.repository_owner == 'zed-industries'
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
|
||||||
|
|
||||||
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
|
|
||||||
with:
|
|
||||||
version: 9
|
|
||||||
|
|
||||||
- name: Setup Node
|
|
||||||
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4
|
|
||||||
with:
|
|
||||||
node-version: "20"
|
|
||||||
cache: "pnpm"
|
|
||||||
cache-dependency-path: "script/issue_response/pnpm-lock.yaml"
|
|
||||||
|
|
||||||
- run: pnpm install --dir script/issue_response
|
|
||||||
|
|
||||||
- name: Run Issue Response
|
|
||||||
run: pnpm run --dir script/issue_response start
|
|
||||||
env:
|
|
||||||
ISSUE_RESPONSE_GITHUB_TOKEN: ${{ secrets.ISSUE_RESPONSE_GITHUB_TOKEN }}
|
|
||||||
SLACK_ISSUE_RESPONSE_WEBHOOK_URL: ${{ secrets.SLACK_ISSUE_RESPONSE_WEBHOOK_URL }}
|
|
||||||
3
.github/workflows/publish_extension_cli.yml
vendored
@@ -12,7 +12,6 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
publish:
|
publish:
|
||||||
name: Publish zed-extension CLI
|
name: Publish zed-extension CLI
|
||||||
if: github.repository_owner == 'zed-industries'
|
|
||||||
runs-on:
|
runs-on:
|
||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
@@ -22,7 +21,7 @@ jobs:
|
|||||||
clean: false
|
clean: false
|
||||||
|
|
||||||
- name: Cache dependencies
|
- name: Cache dependencies
|
||||||
uses: swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2
|
uses: swatinem/rust-cache@82a92a6e8fbeee089604da2575dc567ae9ddeaab # v2
|
||||||
with:
|
with:
|
||||||
save-if: ${{ github.ref == 'refs/heads/main' }}
|
save-if: ${{ github.ref == 'refs/heads/main' }}
|
||||||
cache-provider: "github"
|
cache-provider: "github"
|
||||||
|
|||||||
3
.github/workflows/randomized_tests.yml
vendored
@@ -18,12 +18,11 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
tests:
|
tests:
|
||||||
name: Run randomized tests
|
name: Run randomized tests
|
||||||
if: github.repository_owner == 'zed-industries'
|
|
||||||
runs-on:
|
runs-on:
|
||||||
- buildjet-16vcpu-ubuntu-2204
|
- buildjet-16vcpu-ubuntu-2204
|
||||||
steps:
|
steps:
|
||||||
- name: Install Node
|
- name: Install Node
|
||||||
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4
|
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
|
||||||
with:
|
with:
|
||||||
node-version: "18"
|
node-version: "18"
|
||||||
|
|
||||||
|
|||||||
12
.github/workflows/release_nightly.yml
vendored
@@ -62,16 +62,15 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
MACOS_CERTIFICATE: ${{ secrets.MACOS_CERTIFICATE }}
|
MACOS_CERTIFICATE: ${{ secrets.MACOS_CERTIFICATE }}
|
||||||
MACOS_CERTIFICATE_PASSWORD: ${{ secrets.MACOS_CERTIFICATE_PASSWORD }}
|
MACOS_CERTIFICATE_PASSWORD: ${{ secrets.MACOS_CERTIFICATE_PASSWORD }}
|
||||||
APPLE_NOTARIZATION_KEY: ${{ secrets.APPLE_NOTARIZATION_KEY }}
|
APPLE_NOTARIZATION_USERNAME: ${{ secrets.APPLE_NOTARIZATION_USERNAME }}
|
||||||
APPLE_NOTARIZATION_KEY_ID: ${{ secrets.APPLE_NOTARIZATION_KEY_ID }}
|
APPLE_NOTARIZATION_PASSWORD: ${{ secrets.APPLE_NOTARIZATION_PASSWORD }}
|
||||||
APPLE_NOTARIZATION_ISSUER_ID: ${{ secrets.APPLE_NOTARIZATION_ISSUER_ID }}
|
|
||||||
DIGITALOCEAN_SPACES_ACCESS_KEY: ${{ secrets.DIGITALOCEAN_SPACES_ACCESS_KEY }}
|
DIGITALOCEAN_SPACES_ACCESS_KEY: ${{ secrets.DIGITALOCEAN_SPACES_ACCESS_KEY }}
|
||||||
DIGITALOCEAN_SPACES_SECRET_KEY: ${{ secrets.DIGITALOCEAN_SPACES_SECRET_KEY }}
|
DIGITALOCEAN_SPACES_SECRET_KEY: ${{ secrets.DIGITALOCEAN_SPACES_SECRET_KEY }}
|
||||||
ZED_CLIENT_CHECKSUM_SEED: ${{ secrets.ZED_CLIENT_CHECKSUM_SEED }}
|
ZED_CLIENT_CHECKSUM_SEED: ${{ secrets.ZED_CLIENT_CHECKSUM_SEED }}
|
||||||
ZED_CLOUD_PROVIDER_ADDITIONAL_MODELS_JSON: ${{ secrets.ZED_CLOUD_PROVIDER_ADDITIONAL_MODELS_JSON }}
|
ZED_CLOUD_PROVIDER_ADDITIONAL_MODELS_JSON: ${{ secrets.ZED_CLOUD_PROVIDER_ADDITIONAL_MODELS_JSON }}
|
||||||
steps:
|
steps:
|
||||||
- name: Install Node
|
- name: Install Node
|
||||||
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4
|
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
|
||||||
with:
|
with:
|
||||||
node-version: "18"
|
node-version: "18"
|
||||||
|
|
||||||
@@ -87,6 +86,9 @@ jobs:
|
|||||||
echo "Publishing version: ${version} on release channel nightly"
|
echo "Publishing version: ${version} on release channel nightly"
|
||||||
echo "nightly" > crates/zed/RELEASE_CHANNEL
|
echo "nightly" > crates/zed/RELEASE_CHANNEL
|
||||||
|
|
||||||
|
- name: Generate license file
|
||||||
|
run: script/generate-licenses
|
||||||
|
|
||||||
- name: Create macOS app bundle
|
- name: Create macOS app bundle
|
||||||
run: script/bundle-mac
|
run: script/bundle-mac
|
||||||
|
|
||||||
@@ -138,7 +140,7 @@ jobs:
|
|||||||
name: Create a Linux *.tar.gz bundle for ARM
|
name: Create a Linux *.tar.gz bundle for ARM
|
||||||
if: github.repository_owner == 'zed-industries'
|
if: github.repository_owner == 'zed-industries'
|
||||||
runs-on:
|
runs-on:
|
||||||
- buildjet-16vcpu-ubuntu-2204-arm
|
- hosted-linux-arm-1
|
||||||
needs: tests
|
needs: tests
|
||||||
env:
|
env:
|
||||||
DIGITALOCEAN_SPACES_ACCESS_KEY: ${{ secrets.DIGITALOCEAN_SPACES_ACCESS_KEY }}
|
DIGITALOCEAN_SPACES_ACCESS_KEY: ${{ secrets.DIGITALOCEAN_SPACES_ACCESS_KEY }}
|
||||||
|
|||||||
21
.github/workflows/script_checks.yml
vendored
@@ -1,21 +0,0 @@
|
|||||||
name: Script
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
paths:
|
|
||||||
- "script/**"
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
shellcheck:
|
|
||||||
name: "ShellCheck Scripts"
|
|
||||||
if: github.repository_owner == 'zed-industries'
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
|
||||||
- name: Shellcheck ./scripts
|
|
||||||
run: |
|
|
||||||
./script/shellcheck-scripts error
|
|
||||||
54
.gitignore
vendored
@@ -1,36 +1,34 @@
|
|||||||
**/*.db
|
|
||||||
**/cargo-target
|
|
||||||
**/target
|
|
||||||
**/venv
|
|
||||||
*.wasm
|
|
||||||
*.xcodeproj
|
|
||||||
.DS_Store
|
|
||||||
.blob_store
|
|
||||||
.build
|
|
||||||
.envrc
|
|
||||||
.flatpak-builder
|
|
||||||
.idea
|
|
||||||
.netrc
|
|
||||||
.pytest_cache
|
|
||||||
.swiftpm
|
|
||||||
.swiftpm/config/registries.json
|
|
||||||
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
|
|
||||||
.venv
|
|
||||||
.vscode
|
|
||||||
.wrangler
|
|
||||||
/.direnv
|
/.direnv
|
||||||
/assets/*licenses.*
|
.idea
|
||||||
/crates/collab/seed.json
|
**/target
|
||||||
/crates/theme/schemas/theme.json
|
**/cargo-target
|
||||||
/crates/zed/resources/flatpak/flatpak-cargo-sources.json
|
/zed.xcworkspace
|
||||||
/dev.zed.Zed*.json
|
.DS_Store
|
||||||
/plugins/bin
|
/plugins/bin
|
||||||
/script/node_modules
|
/script/node_modules
|
||||||
/snap
|
/crates/theme/schemas/theme.json
|
||||||
/zed.xcworkspace
|
/crates/collab/seed.json
|
||||||
DerivedData/
|
/crates/zed/resources/flatpak/flatpak-cargo-sources.json
|
||||||
|
/dev.zed.Zed*.json
|
||||||
|
/assets/*licenses.*
|
||||||
|
**/venv
|
||||||
|
.build
|
||||||
|
*.wasm
|
||||||
Packages
|
Packages
|
||||||
|
*.xcodeproj
|
||||||
xcuserdata/
|
xcuserdata/
|
||||||
|
DerivedData/
|
||||||
|
.swiftpm/config/registries.json
|
||||||
|
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
|
||||||
|
.netrc
|
||||||
|
.swiftpm
|
||||||
|
**/*.db
|
||||||
|
.pytest_cache
|
||||||
|
.venv
|
||||||
|
.blob_store
|
||||||
|
.vscode
|
||||||
|
.wrangler
|
||||||
|
.flatpak-builder
|
||||||
|
|
||||||
# Don't commit any secrets to the repo.
|
# Don't commit any secrets to the repo.
|
||||||
.env.secret.toml
|
.env.secret.toml
|
||||||
|
|||||||
21
.mailmap
@@ -9,8 +9,6 @@
|
|||||||
# Keep these entries sorted alphabetically.
|
# Keep these entries sorted alphabetically.
|
||||||
# In Zed: `editor: sort lines case insensitive`
|
# In Zed: `editor: sort lines case insensitive`
|
||||||
|
|
||||||
Agus Zubiaga <agus@zed.dev>
|
|
||||||
Agus Zubiaga <agus@zed.dev> <hi@aguz.me>
|
|
||||||
Alex Viscreanu <alexviscreanu@gmail.com>
|
Alex Viscreanu <alexviscreanu@gmail.com>
|
||||||
Alex Viscreanu <alexviscreanu@gmail.com> <alexandru.viscreanu@kiwi.com>
|
Alex Viscreanu <alexviscreanu@gmail.com> <alexandru.viscreanu@kiwi.com>
|
||||||
Alexander Mankuta <alex@pointless.one>
|
Alexander Mankuta <alex@pointless.one>
|
||||||
@@ -21,14 +19,11 @@ Andrei Zvonimir Crnković <andrei@0x7f.dev>
|
|||||||
Andrei Zvonimir Crnković <andrei@0x7f.dev> <andreicek@0x7f.dev>
|
Andrei Zvonimir Crnković <andrei@0x7f.dev> <andreicek@0x7f.dev>
|
||||||
Antonio Scandurra <me@as-cii.com>
|
Antonio Scandurra <me@as-cii.com>
|
||||||
Antonio Scandurra <me@as-cii.com> <antonio@zed.dev>
|
Antonio Scandurra <me@as-cii.com> <antonio@zed.dev>
|
||||||
Ben Kunkle <ben@zed.dev>
|
|
||||||
Ben Kunkle <ben@zed.dev> <ben.kunkle@gmail.com>
|
|
||||||
Bennet Bo Fenner <bennet@zed.dev>
|
Bennet Bo Fenner <bennet@zed.dev>
|
||||||
Bennet Bo Fenner <bennet@zed.dev> <53836821+bennetbo@users.noreply.github.com>
|
Bennet Bo Fenner <bennet@zed.dev> <53836821+bennetbo@users.noreply.github.com>
|
||||||
Bennet Bo Fenner <bennet@zed.dev> <bennetbo@gmx.de>
|
Bennet Bo Fenner <bennet@zed.dev> <bennetbo@gmx.de>
|
||||||
Boris Cherny <boris@anthropic.com>
|
Boris Cherny <boris@anthropic.com>
|
||||||
Boris Cherny <boris@anthropic.com> <boris@performancejs.com>
|
Boris Cherny <boris@anthropic.com> <boris@performancejs.com>
|
||||||
Brian Tan <brian.tan88@gmail.com>
|
|
||||||
Chris Hayes <chris+git@hayes.software>
|
Chris Hayes <chris+git@hayes.software>
|
||||||
Christian Bergschneider <christian.bergschneider@gmx.de>
|
Christian Bergschneider <christian.bergschneider@gmx.de>
|
||||||
Christian Bergschneider <christian.bergschneider@gmx.de> <magiclake@gmx.de>
|
Christian Bergschneider <christian.bergschneider@gmx.de> <magiclake@gmx.de>
|
||||||
@@ -37,16 +32,11 @@ Conrad Irwin <conrad@zed.dev> <conrad.irwin@gmail.com>
|
|||||||
Dairon Medina <dairon.medina@gmail.com>
|
Dairon Medina <dairon.medina@gmail.com>
|
||||||
Danilo Leal <danilo@zed.dev>
|
Danilo Leal <danilo@zed.dev>
|
||||||
Danilo Leal <danilo@zed.dev> <67129314+danilo-leal@users.noreply.github.com>
|
Danilo Leal <danilo@zed.dev> <67129314+danilo-leal@users.noreply.github.com>
|
||||||
Edwin Aronsson <75266237+4teapo@users.noreply.github.com>
|
|
||||||
Evren Sen <nervenes@icloud.com>
|
Evren Sen <nervenes@icloud.com>
|
||||||
Evren Sen <nervenes@icloud.com> <146845123+evrensen467@users.noreply.github.com>
|
Evren Sen <nervenes@icloud.com> <146845123+evrensen467@users.noreply.github.com>
|
||||||
Evren Sen <nervenes@icloud.com> <146845123+evrsen@users.noreply.github.com>
|
Evren Sen <nervenes@icloud.com> <146845123+evrsen@users.noreply.github.com>
|
||||||
Fernando Tagawa <tagawafernando@gmail.com>
|
Fernando Tagawa <tagawafernando@gmail.com>
|
||||||
Fernando Tagawa <tagawafernando@gmail.com> <fernando.tagawa.gamail.com@gmail.com>
|
Fernando Tagawa <tagawafernando@gmail.com> <fernando.tagawa.gamail.com@gmail.com>
|
||||||
Finn Evers <dev@bahn.sh>
|
|
||||||
Finn Evers <dev@bahn.sh> <75036051+MrSubidubi@users.noreply.github.com>
|
|
||||||
Finn Evers <dev@bahn.sh> <finn.evers@outlook.de>
|
|
||||||
Gowtham K <73059450+dovakin0007@users.noreply.github.com>
|
|
||||||
Greg Morenz <greg-morenz@droid.cafe>
|
Greg Morenz <greg-morenz@droid.cafe>
|
||||||
Greg Morenz <greg-morenz@droid.cafe> <morenzg@gmail.com>
|
Greg Morenz <greg-morenz@droid.cafe> <morenzg@gmail.com>
|
||||||
Ihnat Aŭtuška <autushka.ihnat@gmail.com>
|
Ihnat Aŭtuška <autushka.ihnat@gmail.com>
|
||||||
@@ -64,14 +54,11 @@ Kirill Bulatov <kirill@zed.dev>
|
|||||||
Kirill Bulatov <kirill@zed.dev> <mail4score@gmail.com>
|
Kirill Bulatov <kirill@zed.dev> <mail4score@gmail.com>
|
||||||
Kyle Caverly <kylebcaverly@gmail.com>
|
Kyle Caverly <kylebcaverly@gmail.com>
|
||||||
Kyle Caverly <kylebcaverly@gmail.com> <kyle@zed.dev>
|
Kyle Caverly <kylebcaverly@gmail.com> <kyle@zed.dev>
|
||||||
Lilith Iris <itslirissama@gmail.com>
|
|
||||||
Lilith Iris <itslirissama@gmail.com> <83819417+Irilith@users.noreply.github.com>
|
|
||||||
LoganDark <contact@logandark.mozmail.com>
|
LoganDark <contact@logandark.mozmail.com>
|
||||||
LoganDark <contact@logandark.mozmail.com> <git@logandark.mozmail.com>
|
LoganDark <contact@logandark.mozmail.com> <git@logandark.mozmail.com>
|
||||||
LoganDark <contact@logandark.mozmail.com> <github@logandark.mozmail.com>
|
LoganDark <contact@logandark.mozmail.com> <github@logandark.mozmail.com>
|
||||||
Marshall Bowers <git@maxdeviant.com>
|
Marshall Bowers <elliott.codes@gmail.com>
|
||||||
Marshall Bowers <git@maxdeviant.com> <elliott.codes@gmail.com>
|
Marshall Bowers <elliott.codes@gmail.com> <marshall@zed.dev>
|
||||||
Marshall Bowers <git@maxdeviant.com> <marshall@zed.dev>
|
|
||||||
Matt Fellenz <matt@felle.nz>
|
Matt Fellenz <matt@felle.nz>
|
||||||
Matt Fellenz <matt@felle.nz> <matt+github@felle.nz>
|
Matt Fellenz <matt@felle.nz> <matt+github@felle.nz>
|
||||||
Max Brunsfeld <maxbrunsfeld@gmail.com>
|
Max Brunsfeld <maxbrunsfeld@gmail.com>
|
||||||
@@ -114,8 +101,6 @@ Sebastijan Kelnerič <sebastijan.kelneric@sebba.dev> <sebastijan.kelneric@vichav
|
|||||||
Sergey Onufrienko <sergey@onufrienko.com>
|
Sergey Onufrienko <sergey@onufrienko.com>
|
||||||
Shish <webmaster@shishnet.org>
|
Shish <webmaster@shishnet.org>
|
||||||
Shish <webmaster@shishnet.org> <shish@shishnet.org>
|
Shish <webmaster@shishnet.org> <shish@shishnet.org>
|
||||||
Smit Barmase <0xtimsb@gmail.com>
|
|
||||||
Smit Barmase <0xtimsb@gmail.com> <smit@zed.dev>
|
|
||||||
Thorben Kröger <dev@thorben.net>
|
Thorben Kröger <dev@thorben.net>
|
||||||
Thorben Kröger <dev@thorben.net> <thorben.kroeger@hexagon.com>
|
Thorben Kröger <dev@thorben.net> <thorben.kroeger@hexagon.com>
|
||||||
Thorsten Ball <thorsten@zed.dev>
|
Thorsten Ball <thorsten@zed.dev>
|
||||||
@@ -127,7 +112,5 @@ Uladzislau Kaminski <i@uladkaminski.com>
|
|||||||
Uladzislau Kaminski <i@uladkaminski.com> <uladzislau_kaminski@epam.com>
|
Uladzislau Kaminski <i@uladkaminski.com> <uladzislau_kaminski@epam.com>
|
||||||
Vitaly Slobodin <vitaliy.slobodin@gmail.com>
|
Vitaly Slobodin <vitaliy.slobodin@gmail.com>
|
||||||
Vitaly Slobodin <vitaliy.slobodin@gmail.com> <vitaly_slobodin@fastmail.com>
|
Vitaly Slobodin <vitaliy.slobodin@gmail.com> <vitaly_slobodin@fastmail.com>
|
||||||
Will Bradley <williambbradley@gmail.com>
|
|
||||||
Will Bradley <williambbradley@gmail.com> <will@zed.dev>
|
|
||||||
WindSoilder <WindSoilder@outlook.com>
|
WindSoilder <WindSoilder@outlook.com>
|
||||||
张小白 <364772080@qq.com>
|
张小白 <364772080@qq.com>
|
||||||
|
|||||||
@@ -14,12 +14,12 @@
|
|||||||
},
|
},
|
||||||
"JSON": {
|
"JSON": {
|
||||||
"tab_size": 2,
|
"tab_size": 2,
|
||||||
"preferred_line_length": 120,
|
"preferred_line_length": 100,
|
||||||
"formatter": "prettier"
|
"formatter": "prettier"
|
||||||
},
|
},
|
||||||
"JSONC": {
|
"JSONC": {
|
||||||
"tab_size": 2,
|
"tab_size": 2,
|
||||||
"preferred_line_length": 120,
|
"preferred_line_length": 100,
|
||||||
"formatter": "prettier"
|
"formatter": "prettier"
|
||||||
},
|
},
|
||||||
"JavaScript": {
|
"JavaScript": {
|
||||||
|
|||||||
@@ -37,16 +37,6 @@ We plan to set aside time each week to pair program with contributors on promisi
|
|||||||
- Pair with us and watch us code to learn the codebase
|
- Pair with us and watch us code to learn the codebase
|
||||||
- Low effort PRs, such as those that just re-arrange syntax, won't be merged without a compelling justification
|
- Low effort PRs, such as those that just re-arrange syntax, won't be merged without a compelling justification
|
||||||
|
|
||||||
## File icons
|
|
||||||
|
|
||||||
Zed's default icon theme consists of icons that are hand-designed to fit together in a cohesive manner.
|
|
||||||
|
|
||||||
We do not accept PRs for file icons that are just an off-the-shelf SVG taken from somewhere else.
|
|
||||||
|
|
||||||
### Adding new icons to the Zed icon theme
|
|
||||||
|
|
||||||
If you would like to add a new icon to the Zed icon theme, [open a Discussion](https://github.com/zed-industries/zed/discussions/new?category=ux-and-design) and we can work with you on getting an icon designed and added to Zed.
|
|
||||||
|
|
||||||
## Bird's-eye view of Zed
|
## Bird's-eye view of Zed
|
||||||
|
|
||||||
Zed is made up of several smaller crates - let's go over those you're most likely to interact with:
|
Zed is made up of several smaller crates - let's go over those you're most likely to interact with:
|
||||||
@@ -62,9 +52,3 @@ Zed is made up of several smaller crates - let's go over those you're most likel
|
|||||||
- [`rpc`](/crates/rpc) defines messages to be exchanged with collaboration server.
|
- [`rpc`](/crates/rpc) defines messages to be exchanged with collaboration server.
|
||||||
- [`theme`](/crates/theme) defines the theme system and provides a default theme.
|
- [`theme`](/crates/theme) defines the theme system and provides a default theme.
|
||||||
- [`ui`](/crates/ui) is a collection of UI components and common patterns used throughout Zed.
|
- [`ui`](/crates/ui) is a collection of UI components and common patterns used throughout Zed.
|
||||||
- [`cli`](/crates/cli) is the CLI crate which invokes the Zed binary.
|
|
||||||
- [`zed`](/crates/zed) is where all things come together, and the `main` entry point for Zed.
|
|
||||||
|
|
||||||
## Packaging Zed
|
|
||||||
|
|
||||||
Check our [notes for packaging Zed](https://zed.dev/docs/development/linux#notes-for-packaging-zed).
|
|
||||||
|
|||||||
6090
Cargo.lock
generated
239
Cargo.toml
@@ -3,24 +3,13 @@ resolver = "2"
|
|||||||
members = [
|
members = [
|
||||||
"crates/activity_indicator",
|
"crates/activity_indicator",
|
||||||
"crates/anthropic",
|
"crates/anthropic",
|
||||||
"crates/askpass",
|
|
||||||
"crates/assets",
|
"crates/assets",
|
||||||
"crates/assistant",
|
"crates/assistant",
|
||||||
"crates/assistant2",
|
|
||||||
"crates/assistant_context_editor",
|
|
||||||
"crates/assistant_scripting",
|
|
||||||
"crates/assistant_settings",
|
|
||||||
"crates/assistant_slash_command",
|
"crates/assistant_slash_command",
|
||||||
"crates/assistant_slash_commands",
|
|
||||||
"crates/assistant_tool",
|
"crates/assistant_tool",
|
||||||
"crates/assistant_tools",
|
|
||||||
"crates/audio",
|
"crates/audio",
|
||||||
"crates/auto_update",
|
"crates/auto_update",
|
||||||
"crates/auto_update_ui",
|
|
||||||
"crates/aws_http_client",
|
|
||||||
"crates/bedrock",
|
|
||||||
"crates/breadcrumbs",
|
"crates/breadcrumbs",
|
||||||
"crates/buffer_diff",
|
|
||||||
"crates/call",
|
"crates/call",
|
||||||
"crates/channel",
|
"crates/channel",
|
||||||
"crates/cli",
|
"crates/cli",
|
||||||
@@ -31,14 +20,9 @@ members = [
|
|||||||
"crates/collections",
|
"crates/collections",
|
||||||
"crates/command_palette",
|
"crates/command_palette",
|
||||||
"crates/command_palette_hooks",
|
"crates/command_palette_hooks",
|
||||||
"crates/component",
|
"crates/context_servers",
|
||||||
"crates/component_preview",
|
|
||||||
"crates/context_server",
|
|
||||||
"crates/context_server_settings",
|
|
||||||
"crates/copilot",
|
"crates/copilot",
|
||||||
"crates/credentials_provider",
|
|
||||||
"crates/db",
|
"crates/db",
|
||||||
"crates/deepseek",
|
|
||||||
"crates/diagnostics",
|
"crates/diagnostics",
|
||||||
"crates/docs_preprocessor",
|
"crates/docs_preprocessor",
|
||||||
"crates/editor",
|
"crates/editor",
|
||||||
@@ -57,39 +41,29 @@ members = [
|
|||||||
"crates/fuzzy",
|
"crates/fuzzy",
|
||||||
"crates/git",
|
"crates/git",
|
||||||
"crates/git_hosting_providers",
|
"crates/git_hosting_providers",
|
||||||
"crates/git_ui",
|
|
||||||
"crates/go_to_line",
|
"crates/go_to_line",
|
||||||
"crates/google_ai",
|
"crates/google_ai",
|
||||||
"crates/gpui",
|
"crates/gpui",
|
||||||
"crates/gpui_macros",
|
"crates/gpui_macros",
|
||||||
"crates/gpui_tokio",
|
|
||||||
"crates/html_to_markdown",
|
"crates/html_to_markdown",
|
||||||
"crates/http_client",
|
"crates/http_client",
|
||||||
"crates/image_viewer",
|
"crates/image_viewer",
|
||||||
"crates/indexed_docs",
|
"crates/indexed_docs",
|
||||||
"crates/inline_completion",
|
|
||||||
"crates/inline_completion_button",
|
"crates/inline_completion_button",
|
||||||
"crates/install_cli",
|
"crates/install_cli",
|
||||||
"crates/journal",
|
"crates/journal",
|
||||||
"crates/language",
|
"crates/language",
|
||||||
"crates/language_extension",
|
|
||||||
"crates/language_model",
|
"crates/language_model",
|
||||||
"crates/language_model_selector",
|
|
||||||
"crates/language_models",
|
|
||||||
"crates/language_selector",
|
"crates/language_selector",
|
||||||
"crates/language_tools",
|
"crates/language_tools",
|
||||||
"crates/languages",
|
"crates/languages",
|
||||||
"crates/livekit_api",
|
"crates/live_kit_client",
|
||||||
"crates/livekit_client",
|
"crates/live_kit_server",
|
||||||
"crates/livekit_client_macos",
|
|
||||||
"crates/lmstudio",
|
|
||||||
"crates/lsp",
|
"crates/lsp",
|
||||||
"crates/markdown",
|
"crates/markdown",
|
||||||
"crates/markdown_preview",
|
"crates/markdown_preview",
|
||||||
"crates/media",
|
"crates/media",
|
||||||
"crates/menu",
|
"crates/menu",
|
||||||
"crates/migrator",
|
|
||||||
"crates/mistral",
|
|
||||||
"crates/multi_buffer",
|
"crates/multi_buffer",
|
||||||
"crates/node_runtime",
|
"crates/node_runtime",
|
||||||
"crates/notifications",
|
"crates/notifications",
|
||||||
@@ -97,16 +71,14 @@ members = [
|
|||||||
"crates/open_ai",
|
"crates/open_ai",
|
||||||
"crates/outline",
|
"crates/outline",
|
||||||
"crates/outline_panel",
|
"crates/outline_panel",
|
||||||
"crates/panel",
|
|
||||||
"crates/paths",
|
"crates/paths",
|
||||||
"crates/picker",
|
"crates/picker",
|
||||||
"crates/prettier",
|
"crates/prettier",
|
||||||
"crates/project",
|
"crates/project",
|
||||||
"crates/project_panel",
|
"crates/project_panel",
|
||||||
"crates/project_symbols",
|
"crates/project_symbols",
|
||||||
"crates/prompt_library",
|
|
||||||
"crates/prompt_store",
|
|
||||||
"crates/proto",
|
"crates/proto",
|
||||||
|
"crates/quick_action_bar",
|
||||||
"crates/recent_projects",
|
"crates/recent_projects",
|
||||||
"crates/refineable",
|
"crates/refineable",
|
||||||
"crates/refineable/derive_refineable",
|
"crates/refineable/derive_refineable",
|
||||||
@@ -118,7 +90,6 @@ members = [
|
|||||||
"crates/rich_text",
|
"crates/rich_text",
|
||||||
"crates/rope",
|
"crates/rope",
|
||||||
"crates/rpc",
|
"crates/rpc",
|
||||||
"crates/schema_generator",
|
|
||||||
"crates/search",
|
"crates/search",
|
||||||
"crates/semantic_index",
|
"crates/semantic_index",
|
||||||
"crates/semantic_version",
|
"crates/semantic_version",
|
||||||
@@ -132,20 +103,17 @@ members = [
|
|||||||
"crates/sqlez_macros",
|
"crates/sqlez_macros",
|
||||||
"crates/story",
|
"crates/story",
|
||||||
"crates/storybook",
|
"crates/storybook",
|
||||||
"crates/streaming_diff",
|
|
||||||
"crates/sum_tree",
|
"crates/sum_tree",
|
||||||
"crates/supermaven",
|
"crates/supermaven",
|
||||||
"crates/supermaven_api",
|
"crates/supermaven_api",
|
||||||
"crates/tab_switcher",
|
"crates/tab_switcher",
|
||||||
"crates/task",
|
"crates/task",
|
||||||
"crates/tasks_ui",
|
"crates/tasks_ui",
|
||||||
"crates/telemetry",
|
|
||||||
"crates/telemetry_events",
|
"crates/telemetry_events",
|
||||||
"crates/terminal",
|
"crates/terminal",
|
||||||
"crates/terminal_view",
|
"crates/terminal_view",
|
||||||
"crates/text",
|
"crates/text",
|
||||||
"crates/theme",
|
"crates/theme",
|
||||||
"crates/theme_extension",
|
|
||||||
"crates/theme_importer",
|
"crates/theme_importer",
|
||||||
"crates/theme_selector",
|
"crates/theme_selector",
|
||||||
"crates/time_format",
|
"crates/time_format",
|
||||||
@@ -154,25 +122,36 @@ members = [
|
|||||||
"crates/ui",
|
"crates/ui",
|
||||||
"crates/ui_input",
|
"crates/ui_input",
|
||||||
"crates/ui_macros",
|
"crates/ui_macros",
|
||||||
|
"crates/reqwest_client",
|
||||||
"crates/util",
|
"crates/util",
|
||||||
"crates/util_macros",
|
"crates/vcs_menu",
|
||||||
"crates/vim",
|
"crates/vim",
|
||||||
"crates/vim_mode_setting",
|
|
||||||
"crates/welcome",
|
"crates/welcome",
|
||||||
"crates/workspace",
|
"crates/workspace",
|
||||||
"crates/worktree",
|
"crates/worktree",
|
||||||
"crates/zed",
|
"crates/zed",
|
||||||
"crates/zed_actions",
|
"crates/zed_actions",
|
||||||
"crates/zeta",
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Extensions
|
# Extensions
|
||||||
#
|
#
|
||||||
|
|
||||||
|
"extensions/astro",
|
||||||
|
"extensions/clojure",
|
||||||
|
"extensions/csharp",
|
||||||
|
"extensions/deno",
|
||||||
|
"extensions/elixir",
|
||||||
|
"extensions/elm",
|
||||||
"extensions/emmet",
|
"extensions/emmet",
|
||||||
|
"extensions/erlang",
|
||||||
"extensions/glsl",
|
"extensions/glsl",
|
||||||
|
"extensions/haskell",
|
||||||
"extensions/html",
|
"extensions/html",
|
||||||
|
"extensions/lua",
|
||||||
|
"extensions/ocaml",
|
||||||
|
"extensions/php",
|
||||||
"extensions/perplexity",
|
"extensions/perplexity",
|
||||||
|
"extensions/prisma",
|
||||||
"extensions/proto",
|
"extensions/proto",
|
||||||
"extensions/purescript",
|
"extensions/purescript",
|
||||||
"extensions/ruff",
|
"extensions/ruff",
|
||||||
@@ -192,10 +171,6 @@ members = [
|
|||||||
]
|
]
|
||||||
default-members = ["crates/zed"]
|
default-members = ["crates/zed"]
|
||||||
|
|
||||||
[workspace.package]
|
|
||||||
publish = false
|
|
||||||
edition = "2021"
|
|
||||||
|
|
||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -205,21 +180,12 @@ edition = "2021"
|
|||||||
activity_indicator = { path = "crates/activity_indicator" }
|
activity_indicator = { path = "crates/activity_indicator" }
|
||||||
ai = { path = "crates/ai" }
|
ai = { path = "crates/ai" }
|
||||||
anthropic = { path = "crates/anthropic" }
|
anthropic = { path = "crates/anthropic" }
|
||||||
askpass = { path = "crates/askpass" }
|
|
||||||
assets = { path = "crates/assets" }
|
assets = { path = "crates/assets" }
|
||||||
assistant = { path = "crates/assistant" }
|
assistant = { path = "crates/assistant" }
|
||||||
assistant2 = { path = "crates/assistant2" }
|
|
||||||
assistant_context_editor = { path = "crates/assistant_context_editor" }
|
|
||||||
assistant_settings = { path = "crates/assistant_settings" }
|
|
||||||
assistant_slash_command = { path = "crates/assistant_slash_command" }
|
assistant_slash_command = { path = "crates/assistant_slash_command" }
|
||||||
assistant_slash_commands = { path = "crates/assistant_slash_commands" }
|
|
||||||
assistant_tool = { path = "crates/assistant_tool" }
|
assistant_tool = { path = "crates/assistant_tool" }
|
||||||
assistant_tools = { path = "crates/assistant_tools" }
|
|
||||||
audio = { path = "crates/audio" }
|
audio = { path = "crates/audio" }
|
||||||
auto_update = { path = "crates/auto_update" }
|
auto_update = { path = "crates/auto_update" }
|
||||||
auto_update_ui = { path = "crates/auto_update_ui" }
|
|
||||||
aws_http_client = { path = "crates/aws_http_client" }
|
|
||||||
bedrock = { path = "crates/bedrock" }
|
|
||||||
breadcrumbs = { path = "crates/breadcrumbs" }
|
breadcrumbs = { path = "crates/breadcrumbs" }
|
||||||
call = { path = "crates/call" }
|
call = { path = "crates/call" }
|
||||||
channel = { path = "crates/channel" }
|
channel = { path = "crates/channel" }
|
||||||
@@ -231,16 +197,10 @@ collab_ui = { path = "crates/collab_ui" }
|
|||||||
collections = { path = "crates/collections" }
|
collections = { path = "crates/collections" }
|
||||||
command_palette = { path = "crates/command_palette" }
|
command_palette = { path = "crates/command_palette" }
|
||||||
command_palette_hooks = { path = "crates/command_palette_hooks" }
|
command_palette_hooks = { path = "crates/command_palette_hooks" }
|
||||||
component = { path = "crates/component" }
|
context_servers = { path = "crates/context_servers" }
|
||||||
component_preview = { path = "crates/component_preview" }
|
|
||||||
context_server = { path = "crates/context_server" }
|
|
||||||
context_server_settings = { path = "crates/context_server_settings" }
|
|
||||||
copilot = { path = "crates/copilot" }
|
copilot = { path = "crates/copilot" }
|
||||||
credentials_provider = { path = "crates/credentials_provider" }
|
|
||||||
db = { path = "crates/db" }
|
db = { path = "crates/db" }
|
||||||
deepseek = { path = "crates/deepseek" }
|
|
||||||
diagnostics = { path = "crates/diagnostics" }
|
diagnostics = { path = "crates/diagnostics" }
|
||||||
buffer_diff = { path = "crates/buffer_diff" }
|
|
||||||
editor = { path = "crates/editor" }
|
editor = { path = "crates/editor" }
|
||||||
extension = { path = "crates/extension" }
|
extension = { path = "crates/extension" }
|
||||||
extension_host = { path = "crates/extension_host" }
|
extension_host = { path = "crates/extension_host" }
|
||||||
@@ -254,41 +214,29 @@ fsevent = { path = "crates/fsevent" }
|
|||||||
fuzzy = { path = "crates/fuzzy" }
|
fuzzy = { path = "crates/fuzzy" }
|
||||||
git = { path = "crates/git" }
|
git = { path = "crates/git" }
|
||||||
git_hosting_providers = { path = "crates/git_hosting_providers" }
|
git_hosting_providers = { path = "crates/git_hosting_providers" }
|
||||||
git_ui = { path = "crates/git_ui" }
|
|
||||||
go_to_line = { path = "crates/go_to_line" }
|
go_to_line = { path = "crates/go_to_line" }
|
||||||
google_ai = { path = "crates/google_ai" }
|
google_ai = { path = "crates/google_ai" }
|
||||||
gpui = { path = "crates/gpui", default-features = false, features = [
|
gpui = { path = "crates/gpui", default-features = false, features = ["http_client"]}
|
||||||
"http_client",
|
|
||||||
] }
|
|
||||||
gpui_macros = { path = "crates/gpui_macros" }
|
gpui_macros = { path = "crates/gpui_macros" }
|
||||||
gpui_tokio = { path = "crates/gpui_tokio" }
|
|
||||||
html_to_markdown = { path = "crates/html_to_markdown" }
|
html_to_markdown = { path = "crates/html_to_markdown" }
|
||||||
http_client = { path = "crates/http_client" }
|
http_client = { path = "crates/http_client" }
|
||||||
image_viewer = { path = "crates/image_viewer" }
|
image_viewer = { path = "crates/image_viewer" }
|
||||||
indexed_docs = { path = "crates/indexed_docs" }
|
indexed_docs = { path = "crates/indexed_docs" }
|
||||||
inline_completion = { path = "crates/inline_completion" }
|
|
||||||
inline_completion_button = { path = "crates/inline_completion_button" }
|
inline_completion_button = { path = "crates/inline_completion_button" }
|
||||||
install_cli = { path = "crates/install_cli" }
|
install_cli = { path = "crates/install_cli" }
|
||||||
journal = { path = "crates/journal" }
|
journal = { path = "crates/journal" }
|
||||||
language = { path = "crates/language" }
|
language = { path = "crates/language" }
|
||||||
language_extension = { path = "crates/language_extension" }
|
|
||||||
language_model = { path = "crates/language_model" }
|
language_model = { path = "crates/language_model" }
|
||||||
language_model_selector = { path = "crates/language_model_selector" }
|
|
||||||
language_models = { path = "crates/language_models" }
|
|
||||||
language_selector = { path = "crates/language_selector" }
|
language_selector = { path = "crates/language_selector" }
|
||||||
language_tools = { path = "crates/language_tools" }
|
language_tools = { path = "crates/language_tools" }
|
||||||
languages = { path = "crates/languages" }
|
languages = { path = "crates/languages" }
|
||||||
livekit_api = { path = "crates/livekit_api" }
|
live_kit_client = { path = "crates/live_kit_client" }
|
||||||
livekit_client = { path = "crates/livekit_client" }
|
live_kit_server = { path = "crates/live_kit_server" }
|
||||||
livekit_client_macos = { path = "crates/livekit_client_macos" }
|
|
||||||
lmstudio = { path = "crates/lmstudio" }
|
|
||||||
lsp = { path = "crates/lsp" }
|
lsp = { path = "crates/lsp" }
|
||||||
markdown = { path = "crates/markdown" }
|
markdown = { path = "crates/markdown" }
|
||||||
markdown_preview = { path = "crates/markdown_preview" }
|
markdown_preview = { path = "crates/markdown_preview" }
|
||||||
media = { path = "crates/media" }
|
media = { path = "crates/media" }
|
||||||
menu = { path = "crates/menu" }
|
menu = { path = "crates/menu" }
|
||||||
migrator = { path = "crates/migrator" }
|
|
||||||
mistral = { path = "crates/mistral" }
|
|
||||||
multi_buffer = { path = "crates/multi_buffer" }
|
multi_buffer = { path = "crates/multi_buffer" }
|
||||||
node_runtime = { path = "crates/node_runtime" }
|
node_runtime = { path = "crates/node_runtime" }
|
||||||
notifications = { path = "crates/notifications" }
|
notifications = { path = "crates/notifications" }
|
||||||
@@ -297,7 +245,6 @@ open_ai = { path = "crates/open_ai" }
|
|||||||
outline = { path = "crates/outline" }
|
outline = { path = "crates/outline" }
|
||||||
outline_panel = { path = "crates/outline_panel" }
|
outline_panel = { path = "crates/outline_panel" }
|
||||||
paths = { path = "crates/paths" }
|
paths = { path = "crates/paths" }
|
||||||
panel = { path = "crates/panel" }
|
|
||||||
picker = { path = "crates/picker" }
|
picker = { path = "crates/picker" }
|
||||||
plugin = { path = "crates/plugin" }
|
plugin = { path = "crates/plugin" }
|
||||||
plugin_macros = { path = "crates/plugin_macros" }
|
plugin_macros = { path = "crates/plugin_macros" }
|
||||||
@@ -305,9 +252,8 @@ prettier = { path = "crates/prettier" }
|
|||||||
project = { path = "crates/project" }
|
project = { path = "crates/project" }
|
||||||
project_panel = { path = "crates/project_panel" }
|
project_panel = { path = "crates/project_panel" }
|
||||||
project_symbols = { path = "crates/project_symbols" }
|
project_symbols = { path = "crates/project_symbols" }
|
||||||
prompt_library = { path = "crates/prompt_library" }
|
|
||||||
prompt_store = { path = "crates/prompt_store" }
|
|
||||||
proto = { path = "crates/proto" }
|
proto = { path = "crates/proto" }
|
||||||
|
quick_action_bar = { path = "crates/quick_action_bar" }
|
||||||
recent_projects = { path = "crates/recent_projects" }
|
recent_projects = { path = "crates/recent_projects" }
|
||||||
refineable = { path = "crates/refineable" }
|
refineable = { path = "crates/refineable" }
|
||||||
release_channel = { path = "crates/release_channel" }
|
release_channel = { path = "crates/release_channel" }
|
||||||
@@ -318,7 +264,6 @@ reqwest_client = { path = "crates/reqwest_client" }
|
|||||||
rich_text = { path = "crates/rich_text" }
|
rich_text = { path = "crates/rich_text" }
|
||||||
rope = { path = "crates/rope" }
|
rope = { path = "crates/rope" }
|
||||||
rpc = { path = "crates/rpc" }
|
rpc = { path = "crates/rpc" }
|
||||||
assistant_scripting = { path = "crates/assistant_scripting" }
|
|
||||||
search = { path = "crates/search" }
|
search = { path = "crates/search" }
|
||||||
semantic_index = { path = "crates/semantic_index" }
|
semantic_index = { path = "crates/semantic_index" }
|
||||||
semantic_version = { path = "crates/semantic_version" }
|
semantic_version = { path = "crates/semantic_version" }
|
||||||
@@ -332,20 +277,17 @@ sqlez = { path = "crates/sqlez" }
|
|||||||
sqlez_macros = { path = "crates/sqlez_macros" }
|
sqlez_macros = { path = "crates/sqlez_macros" }
|
||||||
story = { path = "crates/story" }
|
story = { path = "crates/story" }
|
||||||
storybook = { path = "crates/storybook" }
|
storybook = { path = "crates/storybook" }
|
||||||
streaming_diff = { path = "crates/streaming_diff" }
|
|
||||||
sum_tree = { path = "crates/sum_tree" }
|
sum_tree = { path = "crates/sum_tree" }
|
||||||
supermaven = { path = "crates/supermaven" }
|
supermaven = { path = "crates/supermaven" }
|
||||||
supermaven_api = { path = "crates/supermaven_api" }
|
supermaven_api = { path = "crates/supermaven_api" }
|
||||||
tab_switcher = { path = "crates/tab_switcher" }
|
tab_switcher = { path = "crates/tab_switcher" }
|
||||||
task = { path = "crates/task" }
|
task = { path = "crates/task" }
|
||||||
tasks_ui = { path = "crates/tasks_ui" }
|
tasks_ui = { path = "crates/tasks_ui" }
|
||||||
telemetry = { path = "crates/telemetry" }
|
|
||||||
telemetry_events = { path = "crates/telemetry_events" }
|
telemetry_events = { path = "crates/telemetry_events" }
|
||||||
terminal = { path = "crates/terminal" }
|
terminal = { path = "crates/terminal" }
|
||||||
terminal_view = { path = "crates/terminal_view" }
|
terminal_view = { path = "crates/terminal_view" }
|
||||||
text = { path = "crates/text" }
|
text = { path = "crates/text" }
|
||||||
theme = { path = "crates/theme" }
|
theme = { path = "crates/theme" }
|
||||||
theme_extension = { path = "crates/theme_extension" }
|
|
||||||
theme_importer = { path = "crates/theme_importer" }
|
theme_importer = { path = "crates/theme_importer" }
|
||||||
theme_selector = { path = "crates/theme_selector" }
|
theme_selector = { path = "crates/theme_selector" }
|
||||||
time_format = { path = "crates/time_format" }
|
time_format = { path = "crates/time_format" }
|
||||||
@@ -355,30 +297,28 @@ ui = { path = "crates/ui" }
|
|||||||
ui_input = { path = "crates/ui_input" }
|
ui_input = { path = "crates/ui_input" }
|
||||||
ui_macros = { path = "crates/ui_macros" }
|
ui_macros = { path = "crates/ui_macros" }
|
||||||
util = { path = "crates/util" }
|
util = { path = "crates/util" }
|
||||||
util_macros = { path = "crates/util_macros" }
|
vcs_menu = { path = "crates/vcs_menu" }
|
||||||
vim = { path = "crates/vim" }
|
vim = { path = "crates/vim" }
|
||||||
vim_mode_setting = { path = "crates/vim_mode_setting" }
|
|
||||||
welcome = { path = "crates/welcome" }
|
welcome = { path = "crates/welcome" }
|
||||||
workspace = { path = "crates/workspace" }
|
workspace = { path = "crates/workspace" }
|
||||||
worktree = { path = "crates/worktree" }
|
worktree = { path = "crates/worktree" }
|
||||||
zed = { path = "crates/zed" }
|
zed = { path = "crates/zed" }
|
||||||
zed_actions = { path = "crates/zed_actions" }
|
zed_actions = { path = "crates/zed_actions" }
|
||||||
zeta = { path = "crates/zeta" }
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# External crates
|
# External crates
|
||||||
#
|
#
|
||||||
|
|
||||||
aho-corasick = "1.1"
|
aho-corasick = "1.1"
|
||||||
alacritty_terminal = { git = "https://github.com/zed-industries/alacritty.git", branch = "add-hush-login-flag" }
|
alacritty_terminal = { git = "https://github.com/alacritty/alacritty", rev = "91d034ff8b53867143c005acfaa14609147c9a2c" }
|
||||||
any_vec = "0.14"
|
any_vec = "0.14"
|
||||||
anyhow = "1.0.86"
|
anyhow = "1.0.86"
|
||||||
arrayvec = { version = "0.7.4", features = ["serde"] }
|
arrayvec = { version = "0.7.4", features = ["serde"] }
|
||||||
ashpd = { version = "0.11", default-features = false, features = ["async-std"] }
|
ashpd = "0.9.1"
|
||||||
async-compat = "0.2.1"
|
async-compat = "0.2.1"
|
||||||
async-compression = { version = "0.4", features = ["gzip", "futures-io"] }
|
async-compression = { version = "0.4", features = ["gzip", "futures-io"] }
|
||||||
async-dispatcher = "0.1"
|
async-dispatcher = "0.1"
|
||||||
async-fs = "2.1"
|
async-fs = "1.6"
|
||||||
async-pipe = { git = "https://github.com/zed-industries/async-pipe-rs", rev = "82d00a04211cf4e1236029aa03e6b6ce2a74c553" }
|
async-pipe = { git = "https://github.com/zed-industries/async-pipe-rs", rev = "82d00a04211cf4e1236029aa03e6b6ce2a74c553" }
|
||||||
async-recursion = "1.0.0"
|
async-recursion = "1.0.0"
|
||||||
async-tar = "0.5.0"
|
async-tar = "0.5.0"
|
||||||
@@ -386,29 +326,24 @@ async-trait = "0.1"
|
|||||||
async-tungstenite = "0.28"
|
async-tungstenite = "0.28"
|
||||||
async-watch = "0.3.1"
|
async-watch = "0.3.1"
|
||||||
async_zip = { version = "0.0.17", features = ["deflate", "deflate64"] }
|
async_zip = { version = "0.0.17", features = ["deflate", "deflate64"] }
|
||||||
aws-config = { version = "1.5.16", features = ["behavior-version-latest"] }
|
|
||||||
aws-credential-types = { version = "1.2.1", features = ["hardcoded-credentials"] }
|
|
||||||
aws-sdk-bedrockruntime = { version = "1.73.0", features = ["behavior-version-latest"] }
|
|
||||||
aws-smithy-runtime-api = { version = "1.7.3", features = ["http-1x", "client"] }
|
|
||||||
aws-smithy-types = { version = "1.2.13", features = ["http-body-1-x"] }
|
|
||||||
base64 = "0.22"
|
base64 = "0.22"
|
||||||
bitflags = "2.6.0"
|
bitflags = "2.6.0"
|
||||||
blade-graphics = { git = "https://github.com/kvark/blade", rev = "b16f5c7bd873c7126f48c82c39e7ae64602ae74f" }
|
blade-graphics = { git = "https://github.com/kvark/blade", rev = "e142a3a5e678eb6a13e642ad8401b1f3aa38e969" }
|
||||||
blade-macros = { git = "https://github.com/kvark/blade", rev = "b16f5c7bd873c7126f48c82c39e7ae64602ae74f" }
|
blade-macros = { git = "https://github.com/kvark/blade", rev = "e142a3a5e678eb6a13e642ad8401b1f3aa38e969" }
|
||||||
blade-util = { git = "https://github.com/kvark/blade", rev = "b16f5c7bd873c7126f48c82c39e7ae64602ae74f" }
|
blade-util = { git = "https://github.com/kvark/blade", rev = "e142a3a5e678eb6a13e642ad8401b1f3aa38e969" }
|
||||||
naga = { version = "23.1.0", features = ["wgsl-in"] }
|
|
||||||
blake3 = "1.5.3"
|
blake3 = "1.5.3"
|
||||||
bytes = "1.0"
|
bytes = "1.0"
|
||||||
cargo_metadata = "0.19"
|
cargo_metadata = "0.18"
|
||||||
cargo_toml = "0.21"
|
cargo_toml = "0.20"
|
||||||
chrono = { version = "0.4", features = ["serde"] }
|
chrono = { version = "0.4", features = ["serde"] }
|
||||||
clap = { version = "4.4", features = ["derive"] }
|
clap = { version = "4.4", features = ["derive"] }
|
||||||
|
clickhouse = "0.11.6"
|
||||||
cocoa = "0.26"
|
cocoa = "0.26"
|
||||||
cocoa-foundation = "0.2.0"
|
cocoa-foundation = "0.2.0"
|
||||||
convert_case = "0.8.0"
|
convert_case = "0.6.0"
|
||||||
core-foundation = "0.9.3"
|
core-foundation = "0.9.3"
|
||||||
core-foundation-sys = "0.8.6"
|
core-foundation-sys = "0.8.6"
|
||||||
ctor = "0.4.0"
|
ctor = "0.2.6"
|
||||||
dashmap = "6.0"
|
dashmap = "6.0"
|
||||||
derive_more = "0.99.17"
|
derive_more = "0.99.17"
|
||||||
dirs = "4.0"
|
dirs = "4.0"
|
||||||
@@ -421,61 +356,45 @@ fork = "0.2.0"
|
|||||||
futures = "0.3"
|
futures = "0.3"
|
||||||
futures-batch = "0.6.1"
|
futures-batch = "0.6.1"
|
||||||
futures-lite = "1.13"
|
futures-lite = "1.13"
|
||||||
# TODO: get back to regular versions when https://github.com/rust-lang/git2-rs/pull/1120 is released
|
git2 = { version = "0.19", default-features = false }
|
||||||
git2 = { git = "https://github.com/rust-lang/git2-rs", rev = "a3b90cb3756c1bb63e2317bf9cfa57838178de5c", default-features = false }
|
|
||||||
globset = "0.4"
|
globset = "0.4"
|
||||||
handlebars = "4.3"
|
handlebars = "4.3"
|
||||||
heed = { version = "0.21.0", features = ["read-txn-no-tls"] }
|
heed = { version = "0.20.1", features = ["read-txn-no-tls"] }
|
||||||
hex = "0.4.3"
|
hex = "0.4.3"
|
||||||
html5ever = "0.27.0"
|
html5ever = "0.27.0"
|
||||||
hyper = "0.14"
|
hyper = "0.14"
|
||||||
http = "1.1"
|
|
||||||
ignore = "0.4.22"
|
ignore = "0.4.22"
|
||||||
image = "0.25.1"
|
image = "0.25.1"
|
||||||
imara-diff = "0.1.8"
|
indexmap = { version = "1.6.2", features = ["serde"] }
|
||||||
indexmap = { version = "2.7.0", features = ["serde"] }
|
|
||||||
indoc = "2"
|
indoc = "2"
|
||||||
inventory = "0.3.19"
|
itertools = "0.13.0"
|
||||||
itertools = "0.14.0"
|
|
||||||
jsonwebtoken = "9.3"
|
jsonwebtoken = "9.3"
|
||||||
jupyter-protocol = { version = "0.6.0" }
|
|
||||||
jupyter-websocket-client = { version = "0.9.0" }
|
|
||||||
libc = "0.2"
|
libc = "0.2"
|
||||||
libsqlite3-sys = { version = "0.30.1", features = ["bundled"] }
|
|
||||||
linkify = "0.10.0"
|
linkify = "0.10.0"
|
||||||
linkme = "0.3.31"
|
|
||||||
livekit = { git = "https://github.com/zed-industries/livekit-rust-sdks", rev = "811ceae29fabee455f110c56cd66b3f49a7e5003", features = [
|
|
||||||
"dispatcher",
|
|
||||||
"services-dispatcher",
|
|
||||||
"rustls-tls-native-roots",
|
|
||||||
], default-features = false }
|
|
||||||
log = { version = "0.4.16", features = ["kv_unstable_serde", "serde"] }
|
log = { version = "0.4.16", features = ["kv_unstable_serde", "serde"] }
|
||||||
markup5ever_rcdom = "0.3.0"
|
markup5ever_rcdom = "0.3.0"
|
||||||
mlua = { version = "0.10", features = ["lua54", "vendored", "async", "send"] }
|
|
||||||
nanoid = "0.4"
|
nanoid = "0.4"
|
||||||
nbformat = { version = "0.10.0" }
|
nbformat = "0.5.0"
|
||||||
nix = "0.29"
|
nix = "0.29"
|
||||||
num-format = "0.4.4"
|
num-format = "0.4.4"
|
||||||
|
once_cell = "1.19.0"
|
||||||
ordered-float = "2.1.1"
|
ordered-float = "2.1.1"
|
||||||
palette = { version = "0.7.5", default-features = false, features = ["std"] }
|
palette = { version = "0.7.5", default-features = false, features = ["std"] }
|
||||||
parking_lot = "0.12.1"
|
parking_lot = "0.12.1"
|
||||||
pathdiff = "0.2"
|
pathdiff = "0.2"
|
||||||
pet = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "1abe5cec5ebfbe97ca71746a4cfc7fe89bddf8e0" }
|
pet = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "ffcbf3f28c46633abd5448a52b1f396c322e0d6c" }
|
||||||
pet-fs = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "1abe5cec5ebfbe97ca71746a4cfc7fe89bddf8e0" }
|
pet-fs = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "ffcbf3f28c46633abd5448a52b1f396c322e0d6c" }
|
||||||
pet-pixi = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "1abe5cec5ebfbe97ca71746a4cfc7fe89bddf8e0" }
|
pet-conda = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "ffcbf3f28c46633abd5448a52b1f396c322e0d6c" }
|
||||||
pet-conda = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "1abe5cec5ebfbe97ca71746a4cfc7fe89bddf8e0" }
|
pet-core = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "ffcbf3f28c46633abd5448a52b1f396c322e0d6c" }
|
||||||
pet-core = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "1abe5cec5ebfbe97ca71746a4cfc7fe89bddf8e0" }
|
pet-poetry = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "ffcbf3f28c46633abd5448a52b1f396c322e0d6c" }
|
||||||
pet-poetry = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "1abe5cec5ebfbe97ca71746a4cfc7fe89bddf8e0" }
|
pet-reporter = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "ffcbf3f28c46633abd5448a52b1f396c322e0d6c" }
|
||||||
pet-reporter = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "1abe5cec5ebfbe97ca71746a4cfc7fe89bddf8e0" }
|
|
||||||
postage = { version = "0.5", features = ["futures-traits"] }
|
postage = { version = "0.5", features = ["futures-traits"] }
|
||||||
pretty_assertions = { version = "1.3.0", features = ["unstable"] }
|
pretty_assertions = "1.3.0"
|
||||||
proc-macro2 = "1.0.93"
|
|
||||||
profiling = "1"
|
profiling = "1"
|
||||||
prost = "0.9"
|
prost = "0.9"
|
||||||
prost-build = "0.9"
|
prost-build = "0.9"
|
||||||
prost-types = "0.9"
|
prost-types = "0.9"
|
||||||
pulldown-cmark = { version = "0.12.0", default-features = false }
|
pulldown-cmark = { version = "0.12.0", default-features = false }
|
||||||
quote = "1.0.9"
|
|
||||||
rand = "0.8.5"
|
rand = "0.8.5"
|
||||||
rayon = "1.8"
|
rayon = "1.8"
|
||||||
regex = "1.5"
|
regex = "1.5"
|
||||||
@@ -489,15 +408,14 @@ reqwest = { git = "https://github.com/zed-industries/reqwest.git", rev = "fd110f
|
|||||||
"stream",
|
"stream",
|
||||||
] }
|
] }
|
||||||
rsa = "0.9.6"
|
rsa = "0.9.6"
|
||||||
runtimelib = { version = "0.25.0", default-features = false, features = [
|
runtimelib = { version = "0.19.0", default-features = false, features = [
|
||||||
"async-dispatcher-runtime",
|
"async-dispatcher-runtime",
|
||||||
] }
|
] }
|
||||||
rustc-demangle = "0.1.23"
|
rustc-demangle = "0.1.23"
|
||||||
rust-embed = { version = "8.4", features = ["include-exclude"] }
|
rust-embed = { version = "8.4", features = ["include-exclude"] }
|
||||||
rustc-hash = "2.1.0"
|
rustls = "0.21.12"
|
||||||
rustls = { version = "0.23.22" }
|
rustls-native-certs = "0.8.0"
|
||||||
rustls-platform-verifier = "0.5.0"
|
schemars = { version = "0.8", features = ["impl_json_schema"] }
|
||||||
schemars = { version = "0.8", features = ["impl_json_schema", "indexmap2"] }
|
|
||||||
semver = "1.0"
|
semver = "1.0"
|
||||||
serde = { version = "1.0", features = ["derive", "rc"] }
|
serde = { version = "1.0", features = ["derive", "rc"] }
|
||||||
serde_derive = { version = "1.0", features = ["deserialize_in_place"] }
|
serde_derive = { version = "1.0", features = ["deserialize_in_place"] }
|
||||||
@@ -511,21 +429,19 @@ sha2 = "0.10"
|
|||||||
shellexpand = "2.1.0"
|
shellexpand = "2.1.0"
|
||||||
shlex = "1.3.0"
|
shlex = "1.3.0"
|
||||||
signal-hook = "0.3.17"
|
signal-hook = "0.3.17"
|
||||||
|
similar = "1.3"
|
||||||
simplelog = "0.12.2"
|
simplelog = "0.12.2"
|
||||||
smallvec = { version = "1.6", features = ["union"] }
|
smallvec = { version = "1.6", features = ["union"] }
|
||||||
smol = "2.0"
|
smol = "1.2"
|
||||||
sqlformat = "0.2"
|
sqlformat = "0.2"
|
||||||
streaming-iterator = "0.1"
|
|
||||||
strsim = "0.11"
|
strsim = "0.11"
|
||||||
strum = { version = "0.26.0", features = ["derive"] }
|
strum = { version = "0.25.0", features = ["derive"] }
|
||||||
subtle = "2.5.0"
|
subtle = "2.5.0"
|
||||||
syn = { version = "1.0.72", features = ["full", "extra-traits"] }
|
|
||||||
sys-locale = "0.3.1"
|
sys-locale = "0.3.1"
|
||||||
sysinfo = "0.31.0"
|
sysinfo = "0.31.0"
|
||||||
take-until = "0.2.0"
|
|
||||||
tempfile = "3.9.0"
|
tempfile = "3.9.0"
|
||||||
thiserror = "1.0.29"
|
thiserror = "1.0.29"
|
||||||
tiktoken-rs = "0.6.0"
|
tiktoken-rs = "0.5.9"
|
||||||
time = { version = "0.3", features = [
|
time = { version = "0.3", features = [
|
||||||
"macros",
|
"macros",
|
||||||
"parsing",
|
"parsing",
|
||||||
@@ -537,50 +453,47 @@ tiny_http = "0.8"
|
|||||||
toml = "0.8"
|
toml = "0.8"
|
||||||
tokio = { version = "1" }
|
tokio = { version = "1" }
|
||||||
tower-http = "0.4.4"
|
tower-http = "0.4.4"
|
||||||
tree-sitter = { version = "0.25.3", features = ["wasm"] }
|
tree-sitter = { version = "0.23", features = ["wasm"] }
|
||||||
tree-sitter-bash = "0.23"
|
tree-sitter-bash = "0.23"
|
||||||
tree-sitter-c = "0.23"
|
tree-sitter-c = "0.23"
|
||||||
tree-sitter-cpp = "0.23"
|
tree-sitter-cpp = "0.23"
|
||||||
tree-sitter-css = "0.23"
|
tree-sitter-css = "0.23"
|
||||||
tree-sitter-elixir = "0.3"
|
tree-sitter-elixir = "0.3"
|
||||||
tree-sitter-embedded-template = "0.23.0"
|
tree-sitter-embedded-template = "0.23.0"
|
||||||
tree-sitter-gitcommit = { git = "https://github.com/zed-industries/tree-sitter-git-commit", rev = "88309716a69dd13ab83443721ba6e0b491d37ee9" }
|
|
||||||
tree-sitter-go = "0.23"
|
tree-sitter-go = "0.23"
|
||||||
tree-sitter-go-mod = { git = "https://github.com/camdencheek/tree-sitter-go-mod", rev = "6efb59652d30e0e9cd5f3b3a669afd6f1a926d3c", package = "tree-sitter-gomod" }
|
tree-sitter-go-mod = { git = "https://github.com/zed-industries/tree-sitter-go-mod", rev = "a9aea5e358cde4d0f8ff20b7bc4fa311e359c7ca", package = "tree-sitter-gomod" }
|
||||||
tree-sitter-gowork = { git = "https://github.com/zed-industries/tree-sitter-go-work", rev = "acb0617bf7f4fda02c6217676cc64acb89536dc7" }
|
tree-sitter-gowork = { git = "https://github.com/zed-industries/tree-sitter-go-work", rev = "acb0617bf7f4fda02c6217676cc64acb89536dc7" }
|
||||||
tree-sitter-heex = { git = "https://github.com/zed-industries/tree-sitter-heex", rev = "1dd45142fbb05562e35b2040c6129c9bca346592" }
|
tree-sitter-heex = { git = "https://github.com/zed-industries/tree-sitter-heex", rev = "1dd45142fbb05562e35b2040c6129c9bca346592" }
|
||||||
tree-sitter-diff = "0.1.0"
|
tree-sitter-diff = "0.1.0"
|
||||||
tree-sitter-html = "0.23"
|
tree-sitter-html = "0.20"
|
||||||
tree-sitter-jsdoc = "0.23"
|
tree-sitter-jsdoc = "0.23"
|
||||||
tree-sitter-json = "0.24"
|
tree-sitter-json = "0.23"
|
||||||
tree-sitter-md = { git = "https://github.com/tree-sitter-grammars/tree-sitter-markdown", rev = "9a23c1a96c0513d8fc6520972beedd419a973539" }
|
tree-sitter-md = { git = "https://github.com/tree-sitter-grammars/tree-sitter-markdown", rev = "9a23c1a96c0513d8fc6520972beedd419a973539" }
|
||||||
tree-sitter-python = "0.23"
|
tree-sitter-python = "0.23"
|
||||||
tree-sitter-regex = "0.24"
|
tree-sitter-regex = "0.23"
|
||||||
tree-sitter-ruby = "0.23"
|
tree-sitter-ruby = "0.23"
|
||||||
tree-sitter-rust = "0.23"
|
tree-sitter-rust = "0.23"
|
||||||
tree-sitter-typescript = "0.23"
|
tree-sitter-typescript = "0.23"
|
||||||
tree-sitter-yaml = { git = "https://github.com/zed-industries/tree-sitter-yaml", rev = "baff0b51c64ef6a1fb1f8390f3ad6015b83ec13a" }
|
tree-sitter-yaml = { git = "https://github.com/zed-industries/tree-sitter-yaml", rev = "baff0b51c64ef6a1fb1f8390f3ad6015b83ec13a" }
|
||||||
unicase = "2.6"
|
unicase = "2.6"
|
||||||
unindent = "0.2.0"
|
unindent = "0.1.7"
|
||||||
unicode-segmentation = "1.10"
|
unicode-segmentation = "1.10"
|
||||||
unicode-script = "0.5.7"
|
unicode-script = "0.5.7"
|
||||||
url = "2.2"
|
url = "2.2"
|
||||||
uuid = { version = "1.1.2", features = ["v4", "v5", "v7", "serde"] }
|
uuid = { version = "1.1.2", features = ["v4", "v5", "serde"] }
|
||||||
wasmparser = "0.221"
|
wasmparser = "0.215"
|
||||||
wasm-encoder = "0.221"
|
wasm-encoder = "0.215"
|
||||||
wasmtime = { version = "29", default-features = false, features = [
|
wasmtime = { version = "24", default-features = false, features = [
|
||||||
"async",
|
"async",
|
||||||
"demangle",
|
"demangle",
|
||||||
"runtime",
|
"runtime",
|
||||||
"cranelift",
|
"cranelift",
|
||||||
"component-model",
|
"component-model",
|
||||||
] }
|
] }
|
||||||
wasmtime-wasi = "29"
|
wasmtime-wasi = "24"
|
||||||
which = "6.0.0"
|
which = "6.0.0"
|
||||||
wit-component = "0.221"
|
wit-component = "0.201"
|
||||||
zed_llm_client = "0.4"
|
|
||||||
zstd = "0.11"
|
zstd = "0.11"
|
||||||
metal = "0.31"
|
|
||||||
|
|
||||||
[workspace.dependencies.async-stripe]
|
[workspace.dependencies.async-stripe]
|
||||||
git = "https://github.com/zed-industries/async-stripe"
|
git = "https://github.com/zed-industries/async-stripe"
|
||||||
@@ -600,11 +513,9 @@ features = [
|
|||||||
version = "0.58"
|
version = "0.58"
|
||||||
features = [
|
features = [
|
||||||
"implement",
|
"implement",
|
||||||
"Foundation_Collections",
|
|
||||||
"Foundation_Numerics",
|
"Foundation_Numerics",
|
||||||
"Storage",
|
"Storage",
|
||||||
"System_Threading",
|
"System_Threading",
|
||||||
"UI_StartScreen",
|
|
||||||
"UI_ViewManagement",
|
"UI_ViewManagement",
|
||||||
"Wdk_System_SystemServices",
|
"Wdk_System_SystemServices",
|
||||||
"Win32_Globalization",
|
"Win32_Globalization",
|
||||||
@@ -621,7 +532,6 @@ features = [
|
|||||||
"Win32_Storage_FileSystem",
|
"Win32_Storage_FileSystem",
|
||||||
"Win32_System_Com",
|
"Win32_System_Com",
|
||||||
"Win32_System_Com_StructuredStorage",
|
"Win32_System_Com_StructuredStorage",
|
||||||
"Win32_System_Console",
|
|
||||||
"Win32_System_DataExchange",
|
"Win32_System_DataExchange",
|
||||||
"Win32_System_LibraryLoader",
|
"Win32_System_LibraryLoader",
|
||||||
"Win32_System_Memory",
|
"Win32_System_Memory",
|
||||||
@@ -639,11 +549,6 @@ features = [
|
|||||||
"Win32_UI_WindowsAndMessaging",
|
"Win32_UI_WindowsAndMessaging",
|
||||||
]
|
]
|
||||||
|
|
||||||
# TODO livekit https://github.com/RustAudio/cpal/pull/891
|
|
||||||
[patch.crates-io]
|
|
||||||
cpal = { git = "https://github.com/zed-industries/cpal", rev = "fd8bc2fd39f1f5fdee5a0690656caff9a26d9d50" }
|
|
||||||
real-async-tls = { git = "https://github.com/zed-industries/async-tls", rev = "1e759a4b5e370f87dc15e40756ac4f8815b61d9d", package = "async-tls" }
|
|
||||||
|
|
||||||
[profile.dev]
|
[profile.dev]
|
||||||
split-debuginfo = "unpacked"
|
split-debuginfo = "unpacked"
|
||||||
debug = "limited"
|
debug = "limited"
|
||||||
@@ -673,7 +578,6 @@ image_viewer = { codegen-units = 1 }
|
|||||||
inline_completion_button = { codegen-units = 1 }
|
inline_completion_button = { codegen-units = 1 }
|
||||||
install_cli = { codegen-units = 1 }
|
install_cli = { codegen-units = 1 }
|
||||||
journal = { codegen-units = 1 }
|
journal = { codegen-units = 1 }
|
||||||
lmstudio = { codegen-units = 1 }
|
|
||||||
menu = { codegen-units = 1 }
|
menu = { codegen-units = 1 }
|
||||||
notifications = { codegen-units = 1 }
|
notifications = { codegen-units = 1 }
|
||||||
ollama = { codegen-units = 1 }
|
ollama = { codegen-units = 1 }
|
||||||
@@ -696,6 +600,7 @@ telemetry_events = { codegen-units = 1 }
|
|||||||
theme_selector = { codegen-units = 1 }
|
theme_selector = { codegen-units = 1 }
|
||||||
time_format = { codegen-units = 1 }
|
time_format = { codegen-units = 1 }
|
||||||
ui_input = { codegen-units = 1 }
|
ui_input = { codegen-units = 1 }
|
||||||
|
vcs_menu = { codegen-units = 1 }
|
||||||
zed_actions = { codegen-units = 1 }
|
zed_actions = { codegen-units = 1 }
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
@@ -712,9 +617,6 @@ debug = "full"
|
|||||||
lto = false
|
lto = false
|
||||||
codegen-units = 16
|
codegen-units = 16
|
||||||
|
|
||||||
[workspace.lints.rust]
|
|
||||||
unexpected_cfgs = { level = "allow" }
|
|
||||||
|
|
||||||
[workspace.lints.clippy]
|
[workspace.lints.clippy]
|
||||||
dbg_macro = "deny"
|
dbg_macro = "deny"
|
||||||
todo = "deny"
|
todo = "deny"
|
||||||
@@ -749,7 +651,6 @@ new_ret_no_self = { level = "allow" }
|
|||||||
# We have a few `next` functions that differ in lifetimes
|
# We have a few `next` functions that differ in lifetimes
|
||||||
# compared to Iterator::next. Yet, clippy complains about those.
|
# compared to Iterator::next. Yet, clippy complains about those.
|
||||||
should_implement_trait = { level = "allow" }
|
should_implement_trait = { level = "allow" }
|
||||||
let_underscore_future = "allow"
|
|
||||||
|
|
||||||
[workspace.metadata.cargo-machete]
|
[workspace.metadata.cargo-machete]
|
||||||
ignored = ["bindgen", "cbindgen", "prost_build", "serde", "component", "linkme"]
|
ignored = ["bindgen", "cbindgen", "prost_build", "serde"]
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
Copyright 2022 - 2025 Zed Industries, Inc.
|
Copyright 2022 - 2024 Zed Industries, Inc.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
Copyright 2022 - 2025 Zed Industries, Inc.
|
Copyright 2022 - 2024 Zed Industries, Inc.
|
||||||
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
|||||||
@@ -1,4 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="283.6413 127.3453 56 55.9999" width="16px" height="16px">
|
|
||||||
<path d="M 808.592 158.131 C 807.489 158.131 806.592 157.234 806.592 156.131 C 806.592 155.028 807.489 154.131 808.592 154.131 C 809.695 154.131 810.592 155.028 810.592 156.131 C 810.592 157.234 809.695 158.131 808.592 158.131 Z M 776.705 185.039 L 773.457 183.145 L 780.122 178.979 L 779.062 177.283 L 771.505 182.006 L 765.592 178.557 L 765.592 169.666 L 771.147 165.963 L 770.037 164.299 L 764.551 167.956 L 758.592 164.551 L 758.592 159.711 L 765.088 155.999 L 764.096 154.263 L 758.592 157.408 L 758.592 153.711 L 764.592 150.283 L 770.592 153.711 L 770.592 157.565 L 766.077 160.274 L 767.107 161.988 L 771.592 159.297 L 776.077 161.988 L 777.107 160.274 L 772.592 157.565 L 772.592 153.666 L 778.147 149.963 C 778.425 149.777 778.592 149.465 778.592 149.131 L 778.592 142.131 L 776.592 142.131 L 776.592 148.596 L 771.551 151.956 L 765.592 148.551 L 765.592 139.705 L 770.592 136.789 L 770.592 145.131 L 772.592 145.131 L 772.592 135.622 L 776.705 133.223 L 784.592 135.852 L 784.592 164.565 L 770.077 173.274 L 771.107 174.988 L 784.592 166.897 L 784.592 182.41 L 776.705 185.039 Z M 806.592 169.131 C 806.592 170.234 805.695 171.131 804.592 171.131 C 803.489 171.131 802.592 170.234 802.592 169.131 C 802.592 168.028 803.489 167.131 804.592 167.131 C 805.695 167.131 806.592 168.028 806.592 169.131 Z M 796.592 179.131 C 796.592 180.234 795.695 181.131 794.592 181.131 C 793.489 181.131 792.592 180.234 792.592 179.131 C 792.592 178.028 793.489 177.131 794.592 177.131 C 795.695 177.131 796.592 178.028 796.592 179.131 Z M 795.592 139.131 C 795.592 138.028 796.489 137.131 797.592 137.131 C 798.695 137.131 799.592 138.028 799.592 139.131 C 799.592 140.234 798.695 141.131 797.592 141.131 C 796.489 141.131 795.592 140.234 795.592 139.131 Z M 808.592 152.131 C 806.733 152.131 805.181 153.411 804.734 155.131 L 786.592 155.131 L 786.592 150.131 L 797.592 150.131 C 798.145 150.131 798.592 149.683 798.592 149.131 L 798.592 142.989 C 800.312 142.542 801.592 140.989 801.592 139.131 C 801.592 136.925 799.798 135.131 797.592 135.131 C 795.386 135.131 793.592 136.925 793.592 139.131 C 793.592 140.989 794.872 142.542 796.592 142.989 L 796.592 148.131 L 786.592 148.131 L 786.592 135.131 C 786.592 134.7 786.317 134.319 785.908 134.182 L 776.908 131.182 C 776.634 131.092 776.336 131.122 776.088 131.267 L 764.088 138.267 C 763.78 138.446 763.592 138.776 763.592 139.131 L 763.592 148.551 L 757.096 152.263 C 756.784 152.441 756.592 152.772 756.592 153.131 L 756.592 165.131 C 756.592 165.49 756.784 165.821 757.096 165.999 L 763.592 169.711 L 763.592 179.131 C 763.592 179.486 763.78 179.816 764.088 179.995 L 776.088 186.995 C 776.242 187.085 776.417 187.131 776.592 187.131 C 776.698 187.131 776.805 187.114 776.908 187.08 L 785.908 184.08 C 786.317 183.943 786.592 183.562 786.592 183.131 L 786.592 171.131 L 793.592 171.131 L 793.592 175.273 C 791.872 175.72 790.592 177.273 790.592 179.131 C 790.592 181.337 792.386 183.131 794.592 183.131 C 796.798 183.131 798.592 181.337 798.592 179.131 C 798.592 177.273 797.312 175.72 795.592 175.273 L 795.592 170.131 C 795.592 169.579 795.145 169.131 794.592 169.131 L 786.592 169.131 L 786.592 164.131 L 799.092 164.131 L 801.23 166.981 C 800.831 167.603 800.592 168.338 800.592 169.131 C 800.592 171.337 802.386 173.131 804.592 173.131 C 806.798 173.131 808.592 171.337 808.592 169.131 C 808.592 166.925 806.798 165.131 804.592 165.131 C 803.908 165.131 803.274 165.319 802.711 165.623 L 800.392 162.531 C 800.203 162.279 799.906 162.131 799.592 162.131 L 786.592 162.131 L 786.592 157.131 L 804.734 157.131 C 805.181 158.851 806.733 160.131 808.592 160.131 C 810.798 160.131 812.592 158.337 812.592 156.131 C 812.592 153.925 810.798 152.131 808.592 152.131 Z" fill-rule="evenodd" fill-opacity="1" style="" id="object-0" transform="matrix(1, 0, 0, 1, -472.9506530761719, -3.7858259677886963)"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 3.9 KiB |
@@ -1 +0,0 @@
|
|||||||
<svg height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><title>DeepSeek</title><path d="M23.748 4.482c-.254-.124-.364.113-.512.234-.051.039-.094.09-.137.136-.372.397-.806.657-1.373.626-.829-.046-1.537.214-2.163.848-.133-.782-.575-1.248-1.247-1.548-.352-.156-.708-.311-.955-.65-.172-.241-.219-.51-.305-.774-.055-.16-.11-.323-.293-.35-.2-.031-.278.136-.356.276-.313.572-.434 1.202-.422 1.84.027 1.436.633 2.58 1.838 3.393.137.093.172.187.129.323-.082.28-.18.552-.266.833-.055.179-.137.217-.329.14a5.526 5.526 0 01-1.736-1.18c-.857-.828-1.631-1.742-2.597-2.458a11.365 11.365 0 00-.689-.471c-.985-.957.13-1.743.388-1.836.27-.098.093-.432-.779-.428-.872.004-1.67.295-2.687.684a3.055 3.055 0 01-.465.137 9.597 9.597 0 00-2.883-.102c-1.885.21-3.39 1.102-4.497 2.623C.082 8.606-.231 10.684.152 12.85c.403 2.284 1.569 4.175 3.36 5.653 1.858 1.533 3.997 2.284 6.438 2.14 1.482-.085 3.133-.284 4.994-1.86.47.234.962.327 1.78.397.63.059 1.236-.03 1.705-.128.735-.156.684-.837.419-.961-2.155-1.004-1.682-.595-2.113-.926 1.096-1.296 2.746-2.642 3.392-7.003.05-.347.007-.565 0-.845-.004-.17.035-.237.23-.256a4.173 4.173 0 001.545-.475c1.396-.763 1.96-2.015 2.093-3.517.02-.23-.004-.467-.247-.588zM11.581 18c-2.089-1.642-3.102-2.183-3.52-2.16-.392.024-.321.471-.235.763.09.288.207.486.371.739.114.167.192.416-.113.603-.673.416-1.842-.14-1.897-.167-1.361-.802-2.5-1.86-3.301-3.307-.774-1.393-1.224-2.887-1.298-4.482-.02-.386.093-.522.477-.592a4.696 4.696 0 011.529-.039c2.132.312 3.946 1.265 5.468 2.774.868.86 1.525 1.887 2.202 2.891.72 1.066 1.494 2.082 2.48 2.914.348.292.625.514.891.677-.802.09-2.14.11-3.054-.614zm1-6.44a.306.306 0 01.415-.287.302.302 0 01.2.288.306.306 0 01-.31.307.303.303 0 01-.304-.308zm3.11 1.596c-.2.081-.399.151-.59.16a1.245 1.245 0 01-.798-.254c-.274-.23-.47-.358-.552-.758a1.73 1.73 0 01.016-.588c.07-.327-.008-.537-.239-.727-.187-.156-.426-.199-.688-.199a.559.559 0 01-.254-.078c-.11-.054-.2-.19-.114-.358.028-.054.16-.186.192-.21.356-.202.767-.136 1.146.016.352.144.618.408 1.001.782.391.451.462.576.685.914.176.265.336.537.445.848.067.195-.019.354-.25.452z" fill="black"></path></svg>
|
|
||||||
|
Before Width: | Height: | Size: 2.1 KiB |
@@ -1,10 +0,0 @@
|
|||||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path d="M12.5871 5.40624C12.8514 5.14195 13 4.78346 13 4.40965C13 4.03583 12.8516 3.67731 12.5873 3.41295C12.323 3.14859 11.9645 3.00005 11.5907 3C11.2169 2.99995 10.8584 3.14841 10.594 3.4127L3.92098 10.0874C3.80488 10.2031 3.71903 10.3456 3.67097 10.5024L3.01047 12.6784C2.99754 12.7217 2.99657 12.7676 3.00764 12.8113C3.01872 12.8551 3.04143 12.895 3.07337 12.9269C3.1053 12.9588 3.14528 12.9815 3.18905 12.9925C3.23282 13.0035 3.27875 13.0024 3.32197 12.9894L5.49849 12.3294C5.65508 12.2818 5.79758 12.1964 5.91349 12.0809L12.5871 5.40624Z" stroke="black" stroke-width="1.33" stroke-linecap="round" stroke-linejoin="round"/>
|
|
||||||
<path d="M10 4L12 6" stroke="black" stroke-width="1.33" stroke-linecap="round" stroke-linejoin="round"/>
|
|
||||||
<path d="M6.38818 3.53598V2.53598" stroke="black" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
||||||
<path d="M9.56982 12.6995L9.56982 13.6995" stroke="black" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
||||||
<path d="M2.38818 6.53598H3.38818" stroke="black" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
||||||
<path d="M13.5698 9.69949L12.5698 9.69949" stroke="black" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
||||||
<path d="M4.38818 4.53598L3.38818 3.53598" stroke="black" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
||||||
<path d="M11.5698 11.6995L12.5698 12.6995" stroke="black" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 1.5 KiB |
@@ -1,33 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
||||||
<title>Artboard</title>
|
|
||||||
<g id="Artboard" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
||||||
<rect id="Rectangle" stroke="black" stroke-width="1.26" x="1.22" y="1.22" width="13.56" height="13.56" rx="2.66"></rect>
|
|
||||||
<g id="Group-7" transform="translate(2.44, 3.03)" fill="black">
|
|
||||||
<g id="Group" transform="translate(0.37, 0)">
|
|
||||||
<rect id="Rectangle" opacity="0.487118676" x="1.9" y="0" width="6.28" height="1.43" rx="0.71"></rect>
|
|
||||||
<rect id="Rectangle" opacity="0.845098586" x="0" y="0" width="6.28" height="1.43" rx="0.71"></rect>
|
|
||||||
</g>
|
|
||||||
<g id="Group-2" transform="translate(2.88, 1.7)">
|
|
||||||
<rect id="Rectangle" opacity="0.487118676" x="1.9" y="0" width="6.28" height="1.43" rx="0.71"></rect>
|
|
||||||
<rect id="Rectangle" opacity="0.845098586" x="0" y="0" width="6.28" height="1.43" rx="0.71"></rect>
|
|
||||||
</g>
|
|
||||||
<g id="Group-3" transform="translate(1.53, 3.38)">
|
|
||||||
<rect id="Rectangle" opacity="0.487118676" x="1.92" y="0" width="6.28" height="1.43" rx="0.71"></rect>
|
|
||||||
<rect id="Rectangle" opacity="0.845098586" x="0" y="0" width="6.28" height="1.43" rx="0.71"></rect>
|
|
||||||
</g>
|
|
||||||
<g id="Group-4" transform="translate(0, 5.09)">
|
|
||||||
<rect id="Rectangle" opacity="0.487118676" x="1.9" y="0" width="6.28" height="1.43" rx="0.71"></rect>
|
|
||||||
<rect id="Rectangle" opacity="0.845098586" x="0" y="0" width="6.28" height="1.43" rx="0.71"></rect>
|
|
||||||
</g>
|
|
||||||
<g id="Group-5" transform="translate(1.64, 6.77)">
|
|
||||||
<rect id="Rectangle" opacity="0.487118676" x="1.94" y="0" width="5.46" height="1.43" rx="0.71"></rect>
|
|
||||||
<rect id="Rectangle" opacity="0.845098586" x="0" y="0" width="5.46" height="1.43" rx="0.71"></rect>
|
|
||||||
</g>
|
|
||||||
<g id="Group-6" transform="translate(4.24, 8.47)">
|
|
||||||
<rect id="Rectangle" opacity="0.487118676" x="2.11" y="0" width="4.56" height="1.43" rx="0.71"></rect>
|
|
||||||
<rect id="Rectangle" opacity="0.845098586" x="0" y="0" width="4.56" height="1.43" rx="0.71"></rect>
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 2.3 KiB |
@@ -1 +0,0 @@
|
|||||||
<svg fill="currentColor" fill-rule="evenodd" height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><title>Mistral</title><g><path d="M15 6v4h-2V6h2zm4-4v4h-2V2h2zM3 2H1h2zM1 2h2v20H1V2zm8 12h2v4H9v-4zm8 0h2v8h-2v-8z"></path><path d="M19 2h4v4h-4V2zM3 2h4v4H3V2z" opacity=".4"></path><path d="M15 10V6h8v4h-8zM3 10V6h8v4H3z" opacity=".5"></path><path d="M3 14v-4h20v4z" opacity=".6"></path><path d="M11 14h4v4h-4v-4zm8 0h4v4h-4v-4zM3 14h4v4H3v-4z" opacity=".7"></path><path d="M19 18h4v4h-4v-4zM3 18h4v4H3v-4z" opacity=".8"></path></g></svg>
|
|
||||||
|
Before Width: | Height: | Size: 598 B |
@@ -1 +0,0 @@
|
|||||||
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="7.25" cy="7.25" r="3" fill="currentColor"></circle></svg>
|
|
||||||
|
Before Width: | Height: | Size: 165 B |
@@ -1 +0,0 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-cloud"><path d="M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z"/></svg>
|
|
||||||
|
Before Width: | Height: | Size: 279 B |
@@ -1,4 +1 @@
|
|||||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-copy"><rect width="14" height="14" x="8" y="8" rx="2" ry="2"/><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"/></svg>
|
||||||
<path d="M18.4286 9H10.5714C9.70355 9 9 9.70355 9 10.5714V18.4286C9 19.2964 9.70355 20 10.5714 20H18.4286C19.2964 20 20 19.2964 20 18.4286V10.5714C20 9.70355 19.2964 9 18.4286 9Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
||||||
<path d="M5.57143 15C4.70714 15 4 14.2929 4 13.4286V5.57143C4 4.70714 4.70714 4 5.57143 4H13.4286C14.2929 4 15 4.70714 15 5.57143" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
||||||
</svg>
|
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 576 B After Width: | Height: | Size: 338 B |
@@ -1,5 +1 @@
|
|||||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-text-cursor"><path d="M17 22h-1a4 4 0 0 1-4-4V6a4 4 0 0 1 4-4h1"/><path d="M7 22h1a4 4 0 0 0 4-4v-1"/><path d="M7 2h1a4 4 0 0 1 4 4v1"/></svg>
|
||||||
<path d="M17 20H16C14.9391 20 13.9217 19.6629 13.1716 19.0627C12.4214 18.4626 12 17.6487 12 16.8V7.2C12 6.35131 12.4214 5.53737 13.1716 4.93726C13.9217 4.33714 14.9391 4 16 4H17" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
||||||
<path d="M7 20H8C9.06087 20 10.0783 19.5786 10.8284 18.8284C11.5786 18.0783 12 17.0609 12 16V15" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
||||||
<path d="M7 4H8C9.06087 4 10.0783 4.42143 10.8284 5.17157C11.5786 5.92172 12 6.93913 12 8V9" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
||||||
</svg>
|
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 715 B After Width: | Height: | Size: 345 B |
@@ -1,4 +0,0 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-eraser">
|
|
||||||
<path d="m7 21-4.3-4.3c-1-1-1-2.5 0-3.4l9.6-9.6c1-1 2.5-1 3.4 0l5.6 5.6c1 1 1 2.5 0 3.4L13 21"/>
|
|
||||||
<path d="M22 21H7"/><path d="m5 11 9 9"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 365 B |
@@ -1,4 +1,8 @@
|
|||||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
<path d="M10.0001 1.33334H4.00008C3.64646 1.33334 3.30732 1.47382 3.05727 1.72387C2.80722 1.97392 2.66675 2.31305 2.66675 2.66668V13.3333C2.66675 13.687 2.80722 14.0261 3.05727 14.2762C3.30732 14.5262 3.64646 14.6667 4.00008 14.6667H12.0001C12.3537 14.6667 12.6928 14.5262 12.9429 14.2762C13.1929 14.0261 13.3334 13.687 13.3334 13.3333V4.66668L10.0001 1.33334Z" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
<path
|
||||||
<path d="M9.33325 1.33334V4.00001C9.33325 4.35363 9.47373 4.69277 9.72378 4.94282C9.97383 5.19287 10.313 5.33334 10.6666 5.33334H13.3333" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
fill-rule="evenodd"
|
||||||
|
clip-rule="evenodd"
|
||||||
|
d="M3.5 2C3.22386 2 3 2.22386 3 2.5V12.5C3 12.7761 3.22386 13 3.5 13H11.5C11.7761 13 12 12.7761 12 12.5V6H8.5C8.22386 6 8 5.77614 8 5.5V2H3.5ZM9 2.70711L11.2929 5H9V2.70711ZM2 2.5C2 1.67157 2.67157 1 3.5 1H8.5C8.63261 1 8.75979 1.05268 8.85355 1.14645L12.8536 5.14645C12.9473 5.24021 13 5.36739 13 5.5V12.5C13 13.3284 12.3284 14 11.5 14H3.5C2.67157 14 2 13.3284 2 12.5V2.5Z"
|
||||||
|
fill="currentColor"
|
||||||
|
/>
|
||||||
</svg>
|
</svg>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 769 B After Width: | Height: | Size: 567 B |
@@ -1 +0,0 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-file-diff"><path d="M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z"/><path d="M9 10h6"/><path d="M12 13V7"/><path d="M9 17h6"/></svg>
|
|
||||||
|
Before Width: | Height: | Size: 348 B |
@@ -1,8 +1,4 @@
|
|||||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
<path d="M3.5 6.66666V8.66666" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
<path d="M9.20721 10.8551C7.67694 10.8551 6.33401 11.0424 5.52243 11.1878C5.15088 11.2543 4.808 10.9114 4.87454 10.5399C5.01987 9.72825 5.20721 8.38532 5.20721 6.85505C5.20721 5.69375 5.09932 4.64034 4.98377 3.84516C4.9431 3.56522 5.40267 3.3722 5.5684 3.60145C6.30333 4.61809 7.44022 6.08806 8.70721 7.35505C9.9742 8.62204 11.4442 9.75893 12.4608 10.4939C12.69 10.6596 12.497 11.1192 12.2171 11.0785C11.4219 10.963 10.3685 10.8551 9.20721 10.8551Z" fill="black" stroke="black" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
<path d="M5.5 5V11" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
<path d="M7.11129 10.6816L5.28324 8.85355C5.08798 8.65829 4.7714 8.65829 4.57613 8.85355L3.35355 10.0761C3.15829 10.2714 3.15829 10.588 3.35355 10.7832L5.1816 12.6113C5.37686 12.8066 5.69345 12.8066 5.88871 12.6113L7.11129 11.3887C7.30655 11.1934 7.30655 10.8769 7.11129 10.6816Z" fill="black"/>
|
||||||
<path d="M7.5 3V13" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
||||||
<path d="M9.5 5.33334V10" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
||||||
<path d="M11.5 4V12" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
||||||
<path d="M13.5 6.66666V8.66666" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
||||||
</svg>
|
</svg>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 751 B After Width: | Height: | Size: 946 B |
@@ -1,3 +1,3 @@
|
|||||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M12.58 2H2.5V12.08C2.5 12.5892 2.70229 13.0776 3.06235 13.4376C3.42242 13.7977 3.91078 14 4.42 14H12.58C13.0892 14 13.5776 13.7977 13.9376 13.4376C14.2977 13.0776 14.5 12.5892 14.5 12.08V3.92C14.5 3.41078 14.2977 2.92242 13.9376 2.56235C13.5776 2.20229 13.0892 2 12.58 2ZM3.358 11.6285C3.34615 12.6668 3.96437 13.2311 4.96636 13.232H4.96621C6.06429 13.2456 6.70951 12.4798 6.63088 11.3867H5.48085C5.4899 11.601 5.47243 11.8974 5.36026 12.0313C5.27992 12.1441 5.16183 12.2005 5.00645 12.2005C4.67402 12.1952 4.50788 11.9534 4.50788 11.4753V9.19488C4.50788 8.94247 4.54407 8.75168 4.61645 8.62283C4.73423 8.38524 5.17961 8.3584 5.34825 8.58663C5.47804 8.71252 5.48974 9.04683 5.48101 9.26757H6.63104C6.66099 8.70582 6.53494 8.10381 6.20079 7.80913C5.65853 7.23521 4.37403 7.26765 3.82039 7.80102C3.51213 8.07495 3.358 8.47525 3.358 9.00159V11.6285ZM7.04116 11.3867C7.01043 12.4573 7.50713 13.2473 8.61739 13.232L8.61723 13.2317C10.1571 13.2967 10.5874 11.592 9.96023 10.4759C9.74995 10.1097 9.16994 9.80702 8.71379 9.62981C8.36155 9.46772 8.21038 9.3086 8.20711 8.92079C8.20711 8.55559 8.35983 8.37291 8.66543 8.37291C8.83688 8.37291 8.95357 8.42939 9.01519 8.54217C9.10317 8.6754 9.12454 9.0409 9.11565 9.26742H10.1612C10.1866 8.71627 10.0554 8.11739 9.75509 7.81303C9.26822 7.22257 7.99791 7.24909 7.5115 7.82504C7.0109 8.29179 6.97783 9.4437 7.3346 9.96848C7.49278 10.205 7.75143 10.409 8.1107 10.5809C8.15897 10.6051 8.21552 10.6314 8.27633 10.6598C8.53247 10.7792 8.86416 10.9338 8.97119 11.1046C9.16073 11.3241 9.13593 11.8913 9.00333 12.0877C8.9336 12.1952 8.81285 12.2489 8.64141 12.2489C8.25703 12.2785 8.09666 11.8534 8.12677 11.3867H7.04116ZM10.5474 11.3867C10.5167 12.4573 11.0134 13.2473 12.1236 13.232L12.1235 13.2317C13.6634 13.2967 14.0936 11.592 13.4665 10.4759C13.2562 10.1097 12.6762 9.80702 12.2201 9.62981C11.8678 9.46772 11.7166 9.3086 11.7134 8.92079C11.7134 8.55559 11.8661 8.37291 12.1717 8.37291C12.3431 8.37291 12.4598 8.42939 12.5214 8.54217C12.6094 8.6754 12.6308 9.0409 12.6219 9.26742H13.6674C13.6928 8.71627 13.5617 8.11739 13.2614 7.81303C12.7745 7.22257 11.5042 7.24909 11.0178 7.82504C10.5172 8.29179 10.4841 9.4437 10.8409 9.96848C10.999 10.205 11.2577 10.409 11.617 10.5809C11.6652 10.6051 11.7218 10.6314 11.7826 10.6598C12.0387 10.7792 12.3704 10.9338 12.4775 11.1046C12.667 11.3241 12.6422 11.8913 12.5096 12.0877C12.4399 12.1952 12.3191 12.2489 12.1477 12.2489C11.7633 12.2785 11.6029 11.8534 11.633 11.3867H10.5474Z" fill="black"/>
|
<path d="M11.7633 4.2078H4.23674L4.3551 5.5189H10.1429L9.99592 6.87645H6.20408L6.33877 8.16255H9.86939L9.66122 9.92379L8 10.3275L6.3102 9.92021L6.20408 8.86633H4.7102L4.87755 10.7955L8 11.6457L11.0694 10.8812L11.7633 4.2078ZM2 2H14L12.9061 12.7818L7.98775 14L3.09388 12.7818L2 2Z" fill="black"/>
|
||||||
</svg>
|
</svg>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 403 B |
@@ -1,5 +0,0 @@
|
|||||||
<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path d="M8.5 3L8.5 10" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
||||||
<path d="M5 6.5H12" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
||||||
<path d="M5 13H12" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 415 B |
395
assets/icons/file_icons/file_types.json
Normal file
@@ -0,0 +1,395 @@
|
|||||||
|
{
|
||||||
|
"stems": {
|
||||||
|
"Dockerfile": "docker",
|
||||||
|
"Podfile": "ruby",
|
||||||
|
"Procfile": "heroku"
|
||||||
|
},
|
||||||
|
"suffixes": {
|
||||||
|
"Emakefile": "erlang",
|
||||||
|
"aac": "audio",
|
||||||
|
"accdb": "storage",
|
||||||
|
"app.src": "erlang",
|
||||||
|
"astro": "astro",
|
||||||
|
"avi": "video",
|
||||||
|
"avif": "image",
|
||||||
|
"bak": "backup",
|
||||||
|
"bash": "terminal",
|
||||||
|
"bash_aliases": "terminal",
|
||||||
|
"bash_logout": "terminal",
|
||||||
|
"bash_profile": "terminal",
|
||||||
|
"bashrc": "terminal",
|
||||||
|
"bmp": "image",
|
||||||
|
"c": "c",
|
||||||
|
"c++": "cpp",
|
||||||
|
"cc": "cpp",
|
||||||
|
"cjs": "javascript",
|
||||||
|
"coffee": "coffeescript",
|
||||||
|
"conf": "settings",
|
||||||
|
"cpp": "cpp",
|
||||||
|
"css": "css",
|
||||||
|
"csv": "storage",
|
||||||
|
"cxx": "cpp",
|
||||||
|
"cts": "typescript",
|
||||||
|
"dart": "dart",
|
||||||
|
"dat": "storage",
|
||||||
|
"db": "storage",
|
||||||
|
"dbf": "storage",
|
||||||
|
"dll": "storage",
|
||||||
|
"doc": "document",
|
||||||
|
"docx": "document",
|
||||||
|
"eex": "elixir",
|
||||||
|
"elm": "elm",
|
||||||
|
"erl": "erlang",
|
||||||
|
"escript": "erlang",
|
||||||
|
"eslintrc": "eslint",
|
||||||
|
"eslintrc.js": "eslint",
|
||||||
|
"eslintrc.json": "eslint",
|
||||||
|
"ex": "elixir",
|
||||||
|
"exs": "elixir",
|
||||||
|
"fish": "terminal",
|
||||||
|
"flac": "audio",
|
||||||
|
"fmp": "storage",
|
||||||
|
"fp7": "storage",
|
||||||
|
"frm": "storage",
|
||||||
|
"fs": "fsharp",
|
||||||
|
"gdb": "storage",
|
||||||
|
"gif": "image",
|
||||||
|
"gitattributes": "vcs",
|
||||||
|
"gitignore": "vcs",
|
||||||
|
"gitkeep": "vcs",
|
||||||
|
"gitmodules": "vcs",
|
||||||
|
"gleam": "gleam",
|
||||||
|
"go": "go",
|
||||||
|
"gql": "graphql",
|
||||||
|
"graphql": "graphql",
|
||||||
|
"graphqls": "graphql",
|
||||||
|
"h": "c",
|
||||||
|
"handlebars": "code",
|
||||||
|
"hbs": "template",
|
||||||
|
"hcl": "hcl",
|
||||||
|
"heex": "elixir",
|
||||||
|
"heic": "image",
|
||||||
|
"heif": "image",
|
||||||
|
"hh": "cpp",
|
||||||
|
"hpp": "cpp",
|
||||||
|
"hrl": "erlang",
|
||||||
|
"hs": "haskell",
|
||||||
|
"htm": "template",
|
||||||
|
"html": "template",
|
||||||
|
"hxx": "cpp",
|
||||||
|
"ib": "storage",
|
||||||
|
"ico": "image",
|
||||||
|
"ini": "settings",
|
||||||
|
"inl": "cpp",
|
||||||
|
"j2k": "image",
|
||||||
|
"java": "java",
|
||||||
|
"jfif": "image",
|
||||||
|
"jl": "julia",
|
||||||
|
"jp2": "image",
|
||||||
|
"jpeg": "image",
|
||||||
|
"jpg": "image",
|
||||||
|
"js": "javascript",
|
||||||
|
"json": "storage",
|
||||||
|
"jsonc": "storage",
|
||||||
|
"jsx": "react",
|
||||||
|
"jxl": "image",
|
||||||
|
"kt": "kotlin",
|
||||||
|
"ldf": "storage",
|
||||||
|
"lock": "lock",
|
||||||
|
"lockb": "bun",
|
||||||
|
"log": "log",
|
||||||
|
"lua": "lua",
|
||||||
|
"m4a": "audio",
|
||||||
|
"m4v": "video",
|
||||||
|
"markdown": "document",
|
||||||
|
"md": "document",
|
||||||
|
"mdb": "storage",
|
||||||
|
"mdf": "storage",
|
||||||
|
"mdx": "document",
|
||||||
|
"metadata": "code",
|
||||||
|
"mjs": "javascript",
|
||||||
|
"mka": "audio",
|
||||||
|
"mkv": "video",
|
||||||
|
"ml": "ocaml",
|
||||||
|
"mli": "ocaml",
|
||||||
|
"mov": "video",
|
||||||
|
"mp3": "audio",
|
||||||
|
"mp4": "video",
|
||||||
|
"mts": "typescript",
|
||||||
|
"myd": "storage",
|
||||||
|
"myi": "storage",
|
||||||
|
"nim": "nim",
|
||||||
|
"nix": "nix",
|
||||||
|
"nu": "terminal",
|
||||||
|
"odp": "document",
|
||||||
|
"ods": "document",
|
||||||
|
"odt": "document",
|
||||||
|
"ogg": "audio",
|
||||||
|
"opus": "audio",
|
||||||
|
"otf": "font",
|
||||||
|
"pdb": "storage",
|
||||||
|
"pdf": "document",
|
||||||
|
"php": "php",
|
||||||
|
"plist": "template",
|
||||||
|
"png": "image",
|
||||||
|
"postcss": "css",
|
||||||
|
"ppt": "document",
|
||||||
|
"pptx": "document",
|
||||||
|
"prettierignore": "prettier",
|
||||||
|
"prettierrc": "prettier",
|
||||||
|
"prisma": "prisma",
|
||||||
|
"profile": "terminal",
|
||||||
|
"ps1": "terminal",
|
||||||
|
"psd": "image",
|
||||||
|
"py": "python",
|
||||||
|
"qoi": "image",
|
||||||
|
"r": "r",
|
||||||
|
"rb": "ruby",
|
||||||
|
"rebar.config": "erlang",
|
||||||
|
"rkt": "code",
|
||||||
|
"roc": "roc",
|
||||||
|
"rs": "rust",
|
||||||
|
"rtf": "document",
|
||||||
|
"sass": "sass",
|
||||||
|
"sav": "storage",
|
||||||
|
"sc": "scala",
|
||||||
|
"scala": "scala",
|
||||||
|
"scm": "code",
|
||||||
|
"scss": "sass",
|
||||||
|
"sdf": "storage",
|
||||||
|
"sh": "terminal",
|
||||||
|
"sql": "storage",
|
||||||
|
"sqlite": "storage",
|
||||||
|
"svelte": "template",
|
||||||
|
"svg": "image",
|
||||||
|
"swift": "swift",
|
||||||
|
"tcl": "tcl",
|
||||||
|
"tf": "terraform",
|
||||||
|
"tfvars": "terraform",
|
||||||
|
"tiff": "image",
|
||||||
|
"toml": "toml",
|
||||||
|
"ts": "typescript",
|
||||||
|
"tsv": "storage",
|
||||||
|
"tsx": "react",
|
||||||
|
"ttf": "font",
|
||||||
|
"txt": "document",
|
||||||
|
"vue": "vue",
|
||||||
|
"wav": "audio",
|
||||||
|
"webm": "video",
|
||||||
|
"webp": "image",
|
||||||
|
"wma": "audio",
|
||||||
|
"wmv": "video",
|
||||||
|
"woff": "font",
|
||||||
|
"woff2": "font",
|
||||||
|
"wv": "audio",
|
||||||
|
"xls": "document",
|
||||||
|
"xlsx": "document",
|
||||||
|
"xml": "template",
|
||||||
|
"xrl": "erlang",
|
||||||
|
"yaml": "settings",
|
||||||
|
"yml": "settings",
|
||||||
|
"yrl": "erlang",
|
||||||
|
"zig": "zig",
|
||||||
|
"zlogin": "terminal",
|
||||||
|
"zsh": "terminal",
|
||||||
|
"zsh_aliases": "terminal",
|
||||||
|
"zsh_histfile": "terminal",
|
||||||
|
"zsh_profile": "terminal",
|
||||||
|
"zshenv": "terminal",
|
||||||
|
"zshrc": "terminal"
|
||||||
|
},
|
||||||
|
"types": {
|
||||||
|
"astro": {
|
||||||
|
"icon": "icons/file_icons/astro.svg"
|
||||||
|
},
|
||||||
|
"audio": {
|
||||||
|
"icon": "icons/file_icons/audio.svg"
|
||||||
|
},
|
||||||
|
"bun": {
|
||||||
|
"icon": "icons/file_icons/bun.svg"
|
||||||
|
},
|
||||||
|
"c": {
|
||||||
|
"icon": "icons/file_icons/c.svg"
|
||||||
|
},
|
||||||
|
"code": {
|
||||||
|
"icon": "icons/file_icons/code.svg"
|
||||||
|
},
|
||||||
|
"coffeescript": {
|
||||||
|
"icon": "icons/file_icons/coffeescript.svg"
|
||||||
|
},
|
||||||
|
"collapsed_chevron": {
|
||||||
|
"icon": "icons/file_icons/chevron_right.svg"
|
||||||
|
},
|
||||||
|
"collapsed_folder": {
|
||||||
|
"icon": "icons/file_icons/folder.svg"
|
||||||
|
},
|
||||||
|
"cpp": {
|
||||||
|
"icon": "icons/file_icons/cpp.svg"
|
||||||
|
},
|
||||||
|
"css": {
|
||||||
|
"icon": "icons/file_icons/css.svg"
|
||||||
|
},
|
||||||
|
"dart": {
|
||||||
|
"icon": "icons/file_icons/dart.svg"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"icon": "icons/file_icons/file.svg"
|
||||||
|
},
|
||||||
|
"docker": {
|
||||||
|
"icon": "icons/file_icons/docker.svg"
|
||||||
|
},
|
||||||
|
"document": {
|
||||||
|
"icon": "icons/file_icons/book.svg"
|
||||||
|
},
|
||||||
|
"elixir": {
|
||||||
|
"icon": "icons/file_icons/elixir.svg"
|
||||||
|
},
|
||||||
|
"elm": {
|
||||||
|
"icon": "icons/file_icons/elm.svg"
|
||||||
|
},
|
||||||
|
"erlang": {
|
||||||
|
"icon": "icons/file_icons/erlang.svg"
|
||||||
|
},
|
||||||
|
"eslint": {
|
||||||
|
"icon": "icons/file_icons/eslint.svg"
|
||||||
|
},
|
||||||
|
"expanded_chevron": {
|
||||||
|
"icon": "icons/file_icons/chevron_down.svg"
|
||||||
|
},
|
||||||
|
"expanded_folder": {
|
||||||
|
"icon": "icons/file_icons/folder_open.svg"
|
||||||
|
},
|
||||||
|
"font": {
|
||||||
|
"icon": "icons/file_icons/font.svg"
|
||||||
|
},
|
||||||
|
"fsharp": {
|
||||||
|
"icon": "icons/file_icons/fsharp.svg"
|
||||||
|
},
|
||||||
|
"gleam": {
|
||||||
|
"icon": "icons/file_icons/gleam.svg"
|
||||||
|
},
|
||||||
|
"go": {
|
||||||
|
"icon": "icons/file_icons/go.svg"
|
||||||
|
},
|
||||||
|
"graphql": {
|
||||||
|
"icon": "icons/file_icons/graphql.svg"
|
||||||
|
},
|
||||||
|
"haskell": {
|
||||||
|
"icon": "icons/file_icons/haskell.svg"
|
||||||
|
},
|
||||||
|
"hcl": {
|
||||||
|
"icon": "icons/file_icons/hcl.svg"
|
||||||
|
},
|
||||||
|
"heroku": {
|
||||||
|
"icon": "icons/file_icons/heroku.svg"
|
||||||
|
},
|
||||||
|
"image": {
|
||||||
|
"icon": "icons/file_icons/image.svg"
|
||||||
|
},
|
||||||
|
"java": {
|
||||||
|
"icon": "icons/file_icons/java.svg"
|
||||||
|
},
|
||||||
|
"javascript": {
|
||||||
|
"icon": "icons/file_icons/javascript.svg"
|
||||||
|
},
|
||||||
|
"julia": {
|
||||||
|
"icon": "icons/file_icons/julia.svg"
|
||||||
|
},
|
||||||
|
"kotlin": {
|
||||||
|
"icon": "icons/file_icons/kotlin.svg"
|
||||||
|
},
|
||||||
|
"lock": {
|
||||||
|
"icon": "icons/file_icons/lock.svg"
|
||||||
|
},
|
||||||
|
"log": {
|
||||||
|
"icon": "icons/file_icons/info.svg"
|
||||||
|
},
|
||||||
|
"lua": {
|
||||||
|
"icon": "icons/file_icons/lua.svg"
|
||||||
|
},
|
||||||
|
"nim": {
|
||||||
|
"icon": "icons/file_icons/nim.svg"
|
||||||
|
},
|
||||||
|
"nix": {
|
||||||
|
"icon": "icons/file_icons/nix.svg"
|
||||||
|
},
|
||||||
|
"ocaml": {
|
||||||
|
"icon": "icons/file_icons/ocaml.svg"
|
||||||
|
},
|
||||||
|
"phoenix": {
|
||||||
|
"icon": "icons/file_icons/phoenix.svg"
|
||||||
|
},
|
||||||
|
"php": {
|
||||||
|
"icon": "icons/file_icons/php.svg"
|
||||||
|
},
|
||||||
|
"prettier": {
|
||||||
|
"icon": "icons/file_icons/prettier.svg"
|
||||||
|
},
|
||||||
|
"prisma": {
|
||||||
|
"icon": "icons/file_icons/prisma.svg"
|
||||||
|
},
|
||||||
|
"python": {
|
||||||
|
"icon": "icons/file_icons/python.svg"
|
||||||
|
},
|
||||||
|
"r": {
|
||||||
|
"icon": "icons/file_icons/r.svg"
|
||||||
|
},
|
||||||
|
"react": {
|
||||||
|
"icon": "icons/file_icons/react.svg"
|
||||||
|
},
|
||||||
|
"roc": {
|
||||||
|
"icon": "icons/file_icons/roc.svg"
|
||||||
|
},
|
||||||
|
"ruby": {
|
||||||
|
"icon": "icons/file_icons/ruby.svg"
|
||||||
|
},
|
||||||
|
"rust": {
|
||||||
|
"icon": "icons/file_icons/rust.svg"
|
||||||
|
},
|
||||||
|
"sass": {
|
||||||
|
"icon": "icons/file_icons/sass.svg"
|
||||||
|
},
|
||||||
|
"scala": {
|
||||||
|
"icon": "icons/file_icons/scala.svg"
|
||||||
|
},
|
||||||
|
"settings": {
|
||||||
|
"icon": "icons/file_icons/settings.svg"
|
||||||
|
},
|
||||||
|
"storage": {
|
||||||
|
"icon": "icons/file_icons/database.svg"
|
||||||
|
},
|
||||||
|
"swift": {
|
||||||
|
"icon": "icons/file_icons/swift.svg"
|
||||||
|
},
|
||||||
|
"tcl": {
|
||||||
|
"icon": "icons/file_icons/tcl.svg"
|
||||||
|
},
|
||||||
|
"template": {
|
||||||
|
"icon": "icons/file_icons/html.svg"
|
||||||
|
},
|
||||||
|
"terminal": {
|
||||||
|
"icon": "icons/file_icons/terminal.svg"
|
||||||
|
},
|
||||||
|
"terraform": {
|
||||||
|
"icon": "icons/file_icons/terraform.svg"
|
||||||
|
},
|
||||||
|
"toml": {
|
||||||
|
"icon": "icons/file_icons/toml.svg"
|
||||||
|
},
|
||||||
|
"typescript": {
|
||||||
|
"icon": "icons/file_icons/typescript.svg"
|
||||||
|
},
|
||||||
|
"vcs": {
|
||||||
|
"icon": "icons/file_icons/git.svg"
|
||||||
|
},
|
||||||
|
"video": {
|
||||||
|
"icon": "icons/file_icons/video.svg"
|
||||||
|
},
|
||||||
|
"vue": {
|
||||||
|
"icon": "icons/file_icons/vue.svg"
|
||||||
|
},
|
||||||
|
"zig": {
|
||||||
|
"icon": "icons/file_icons/zig.svg"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.36197 1.67985C5.3748 1.41534 4.36011 2.00117 4.0956 2.98834L2.17985 10.138C1.91534 11.1252 2.50117 12.1399 3.48833 12.4044L10.638 14.3202C11.6252 14.5847 12.6399 13.9988 12.9044 13.0117L14.8202 5.86197C15.0847 4.8748 14.4988 3.86012 13.5117 3.59561L6.36197 1.67985ZM10.0457 4.58266C9.77896 4.51119 9.50479 4.66948 9.43332 4.93621L8.76235 7.44028C8.69088 7.70701 8.84917 7.98118 9.11591 8.05265L11.62 8.72362C11.8867 8.79509 12.1609 8.6368 12.2324 8.37006L12.9033 5.86599C12.9748 5.59926 12.8165 5.32509 12.5498 5.25362L10.0457 4.58266Z" fill="black"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 707 B |
@@ -1 +0,0 @@
|
|||||||
<svg width="16" height="16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M4.56 4.502 3.25 3.027V11.5h1.5V6.973l2.69 3.025 1.31 1.475V7.918l3.306 3.582h2.042L8.55 5.491 7.25 4.081V7.528L4.56 4.502Z" fill="#000"/></svg>
|
|
||||||
|
Before Width: | Height: | Size: 269 B |
@@ -1,4 +0,0 @@
|
|||||||
<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path opacity="0.5" d="M10.0469 12.8661L13.3884 3.31889C13.4386 3.1754 13.3167 3.03055 13.1667 3.05554L10.7292 3.46179C10.5875 3.48542 10.4693 3.58324 10.4197 3.71807L7.24789 12.3271C7.12763 12.6536 7.36919 13 7.71706 13H9.8581C9.94309 13 10.0188 12.9463 10.0469 12.8661Z" fill="black"/>
|
|
||||||
<path d="M6.90625 12.7321L3.61161 3.31889C3.56139 3.1754 3.6833 3.03055 3.83326 3.05554L6.27076 3.46179C6.4125 3.48542 6.53067 3.58324 6.58034 3.71807L9.90084 12.7309C9.94895 12.8614 9.85232 13 9.71317 13H7.28379C7.11381 13 6.9624 12.8926 6.90625 12.7321Z" fill="black"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 663 B |
@@ -1,7 +0,0 @@
|
|||||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path d="M6.5 13L1.5 5H11.5L6.5 13Z" fill="black"/>
|
|
||||||
<path d="M14 9H9L11.5 5L14 9Z" fill="black" fill-opacity="0.75"/>
|
|
||||||
<path d="M9 9L14 9L11.5 13L9 9Z" fill="black" fill-opacity="0.65"/>
|
|
||||||
<path d="M14 5L15.25 7L12.75 7L14 5Z" fill="black" fill-opacity="0.5"/>
|
|
||||||
<path d="M14 9L12.75 7H15.25L14 9Z" fill="black" fill-opacity="0.55"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 432 B |
@@ -1,5 +1 @@
|
|||||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-file-search"><path d="M14 2v4a2 2 0 0 0 2 2h4"/><path d="M4.268 21a2 2 0 0 0 1.727 1H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v3"/><path d="m9 18-1.5-1.5"/><circle cx="5" cy="14" r="3"/></svg>
|
||||||
<path d="M5.2345 20.1C5.38772 20.373 5.60794 20.5998 5.87313 20.7577C6.13832 20.9157 6.43919 20.9992 6.74562 21H17.25C17.7141 21 18.1592 20.8104 18.4874 20.4728C18.8156 20.1352 19 19.6774 19 19.2V7.5L14.625 3H6.75C6.28587 3 5.84075 3.18964 5.51256 3.52721C5.18437 3.86477 5 4.32261 5 4.8V6.5" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
||||||
<path d="M10 16.8182L8.5 15.3182" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
||||||
<path d="M6 15.8182C7.65685 15.8182 9 14.475 9 12.8182C9 11.1613 7.65685 9.81818 6 9.81818C4.34315 9.81818 3 11.1613 3 12.8182C3 14.475 4.34315 15.8182 6 15.8182Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
||||||
</svg>
|
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 837 B After Width: | Height: | Size: 393 B |
@@ -1,3 +1,3 @@
|
|||||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
<path d="M12.9416 2.99643C13.08 2.79636 12.9568 2.5 12.7352 2.5H3.26475C3.04317 2.5 2.91999 2.79636 3.0584 2.99643L6.04033 7.30646C6.24713 7.60535 6.35981 7.97674 6.35981 8.3596C6.35981 9.18422 6.35981 11.4639 6.35981 12.891C6.35981 13.2285 6.59643 13.5 6.88831 13.5H9.11168C9.40357 13.5 9.64019 13.2285 9.64019 12.891C9.64019 11.4639 9.64019 9.18422 9.64019 8.3596C9.64019 7.97674 9.75289 7.60535 9.95969 7.30646L12.9416 2.99643Z" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
<path d="M11.6749 2.40608C11.8058 2.24239 11.6893 1.99991 11.4796 1.99991H2.51996C2.31033 1.99991 2.19379 2.24239 2.32474 2.40608L5.14583 5.93246C5.34148 6.17701 5.44808 6.48087 5.44808 6.79412C5.44808 7.46881 5.44808 10.334 5.44808 11.5016C5.44808 11.7778 5.67194 11.9999 5.94808 11.9999H8.05153C8.32767 11.9999 8.55153 11.7778 8.55153 11.5016C8.55153 10.334 8.55153 7.46881 8.55153 6.79412C8.55153 6.48087 8.65815 6.17701 8.8538 5.93246L11.6749 2.40608Z" stroke="black" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
</svg>
|
</svg>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 618 B After Width: | Height: | Size: 644 B |
@@ -1,3 +1,3 @@
|
|||||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
<path d="M13.3333 13.3333C13.6869 13.3333 14.026 13.1929 14.2761 12.9428C14.5261 12.6928 14.6666 12.3536 14.6666 12V5.33333C14.6666 4.97971 14.5261 4.64057 14.2761 4.39052C14.026 4.14048 13.6869 4 13.3333 4H8.06659C7.84359 4.00219 7.62362 3.94841 7.42679 3.84359C7.22996 3.73877 7.06256 3.58625 6.93992 3.4L6.39992 2.6C6.27851 2.41565 6.11324 2.26432 5.91892 2.1596C5.7246 2.05488 5.50732 2.00004 5.28659 2H2.66659C2.31296 2 1.97382 2.14048 1.72378 2.39052C1.47373 2.64057 1.33325 2.97971 1.33325 3.33333V12C1.33325 12.3536 1.47373 12.6928 1.72378 12.9428C1.97382 13.1929 2.31296 13.3333 2.66659 13.3333H13.3333Z" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
<path d="M8.26046 3.97337C8.3527 4.17617 8.4795 4.47151 8.57375 4.69341C8.65258 4.87898 8.83437 4.99999 9.03599 4.99999H12.5C12.7761 4.99999 13 5.22385 13 5.49999V12.125C13 12.4011 12.7761 12.625 12.5 12.625H3.5C3.22386 12.625 3 12.4011 3 12.125V3.86932C3 3.59318 3.22386 3.36932 3.5 3.36932H7.34219C7.74141 3.36932 8.09483 3.60924 8.26046 3.97337Z" stroke="black" stroke-width="1.5" stroke-linecap="round"/>
|
||||||
</svg>
|
</svg>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 800 B After Width: | Height: | Size: 512 B |
@@ -1 +0,0 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-git-branch"><line x1="6" x2="6" y1="3" y2="15"/><circle cx="18" cy="6" r="3"/><circle cx="6" cy="18" r="3"/><path d="M18 9a9 9 0 0 1-9 9"/></svg>
|
|
||||||
|
Before Width: | Height: | Size: 348 B |
@@ -1,6 +0,0 @@
|
|||||||
<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.75 3.25C4.02614 3.25 4.25 3.02614 4.25 2.75C4.25 2.47386 4.02614 2.25 3.75 2.25C3.47386 2.25 3.25 2.47386 3.25 2.75C3.25 3.02614 3.47386 3.25 3.75 3.25ZM3.75 4.25C4.57843 4.25 5.25 3.57843 5.25 2.75C5.25 1.92157 4.57843 1.25 3.75 1.25C2.92157 1.25 2.25 1.92157 2.25 2.75C2.25 3.57843 2.92157 4.25 3.75 4.25Z" fill="black"/>
|
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.25 3.25C8.52614 3.25 8.75 3.02614 8.75 2.75C8.75 2.47386 8.52614 2.25 8.25 2.25C7.97386 2.25 7.75 2.47386 7.75 2.75C7.75 3.02614 7.97386 3.25 8.25 3.25ZM8.25 4.25C9.07843 4.25 9.75 3.57843 9.75 2.75C9.75 1.92157 9.07843 1.25 8.25 1.25C7.42157 1.25 6.75 1.92157 6.75 2.75C6.75 3.57843 7.42157 4.25 8.25 4.25Z" fill="black"/>
|
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.75 9.75C4.02614 9.75 4.25 9.52614 4.25 9.25C4.25 8.97386 4.02614 8.75 3.75 8.75C3.47386 8.75 3.25 8.97386 3.25 9.25C3.25 9.52614 3.47386 9.75 3.75 9.75ZM3.75 10.75C4.57843 10.75 5.25 10.0784 5.25 9.25C5.25 8.42157 4.57843 7.75 3.75 7.75C2.92157 7.75 2.25 8.42157 2.25 9.25C2.25 10.0784 2.92157 10.75 3.75 10.75Z" fill="black"/>
|
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.25 3.75H4.25V5.59609C4.67823 5.35824 5.24991 5.25 6 5.25H7.25017C7.5262 5.25 7.75 5.02625 7.75 4.75V3.75H8.75V4.75C8.75 5.57832 8.07871 6.25 7.25017 6.25H6C5.14559 6.25 4.77639 6.41132 4.59684 6.56615C4.42571 6.71373 4.33877 6.92604 4.25 7.30651V8.25H3.25V3.75Z" fill="black"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 1.5 KiB |
@@ -1,12 +0,0 @@
|
|||||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<g clip-path="url(#clip0_2226_61)">
|
|
||||||
<path d="M7.99992 14.6667C11.6818 14.6667 14.6666 11.6819 14.6666 8C14.6666 4.3181 11.6818 1.33333 7.99992 1.33333C4.31802 1.33333 1.33325 4.3181 1.33325 8C1.33325 11.6819 4.31802 14.6667 7.99992 14.6667Z" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
||||||
<path d="M7.99992 1.33333C6.28807 3.13076 5.33325 5.51782 5.33325 8C5.33325 10.4822 6.28807 12.8692 7.99992 14.6667C9.71176 12.8692 10.6666 10.4822 10.6666 8C10.6666 5.51782 9.71176 3.13076 7.99992 1.33333Z" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
||||||
<path d="M1.33325 8H14.6666" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
||||||
</g>
|
|
||||||
<defs>
|
|
||||||
<clipPath id="clip0_2226_61">
|
|
||||||
<rect width="16" height="16" fill="white"/>
|
|
||||||
</clipPath>
|
|
||||||
</defs>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 937 B |
@@ -1,5 +1,5 @@
|
|||||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
<path d="M2 8C2 9.18669 2.35189 10.3467 3.01118 11.3334C3.67047 12.3201 4.60754 13.0892 5.7039 13.5433C6.80026 13.9974 8.00666 14.1162 9.17054 13.8847C10.3344 13.6532 11.4035 13.0818 12.2426 12.2426C13.0818 11.4035 13.6532 10.3344 13.8847 9.17054C14.1162 8.00666 13.9974 6.80026 13.5433 5.7039C13.0892 4.60754 12.3201 3.67047 11.3334 3.01118C10.3467 2.35189 9.18669 2 8 2C6.32263 2.00631 4.71265 2.66082 3.50667 3.82667L2 5.33333" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
<path d="M1.5 6C1.5 6.89002 1.76392 7.76004 2.25839 8.50007C2.75285 9.24009 3.45566 9.81686 4.27792 10.1575C5.10019 10.4981 6.00499 10.5872 6.87791 10.4135C7.75082 10.2399 8.55264 9.81132 9.18198 9.18198C9.81132 8.55264 10.2399 7.75082 10.4135 6.87791C10.5872 6.00499 10.4981 5.10019 10.1575 4.27792C9.81686 3.45566 9.24009 2.75285 8.50007 2.25839C7.76004 1.76392 6.89002 1.5 6 1.5C4.74198 1.50473 3.53448 1.99561 2.63 2.87L1.5 4" stroke="#919081" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
<path d="M2 2V5.33333H5.33333" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
<path d="M1.5 1.5V4H4" stroke="#919081" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
<path d="M8 5V8.5L10 9.5" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
<path d="M6 3.5V6L8 7" stroke="#919081" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
</svg>
|
</svg>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 840 B After Width: | Height: | Size: 778 B |
@@ -1,5 +0,0 @@
|
|||||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path d="M8 14C11.3137 14 14 11.3137 14 8C14 4.68629 11.3137 2 8 2C4.68629 2 2 4.68629 2 8C2 11.3137 4.68629 14 8 14Z" stroke="black" stroke-width="1.5"/>
|
|
||||||
<path d="M7 11H8M8 11H9M8 11V8.1C8 8.04477 7.95523 8 7.9 8H7" stroke="black" stroke-width="1.5" stroke-linecap="round"/>
|
|
||||||
<path d="M8 6.5C8.55228 6.5 9 6.05228 9 5.5C9 4.94772 8.55228 4.5 8 4.5C7.44772 4.5 7 4.94772 7 5.5C7 6.05228 7.44772 6.5 8 6.5Z" fill="black"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 524 B |
@@ -1,6 +0,0 @@
|
|||||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path d="M5 5C5 3.89543 5.89543 3 7 3H9C10.1046 3 11 3.89543 11 5V6H5V5Z" stroke="black" stroke-width="1.5"/>
|
|
||||||
<path d="M8 9V11" stroke="black" stroke-width="1.5" stroke-linecap="round"/>
|
|
||||||
<circle cx="8" cy="9" r="1" fill="black"/>
|
|
||||||
<rect x="3.75" y="5.75" width="8.5" height="7.5" rx="1.25" stroke="black" stroke-width="1.5" stroke-linejoin="round"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 452 B |
@@ -1,3 +1,3 @@
|
|||||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
<path d="M13 13L10.4138 10.4138M3 7.31034C3 4.92981 4.92981 3 7.31034 3C9.6909 3 11.6207 4.92981 11.6207 7.31034C11.6207 9.6909 9.6909 11.6207 7.31034 11.6207C4.92981 11.6207 3 9.6909 3 7.31034Z" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
<path d="M12 12L9.41379 9.41379M2 6.31034C2 3.92981 3.92981 2 6.31034 2C8.6909 2 10.6207 3.92981 10.6207 6.31034C10.6207 8.6909 8.6909 10.6207 6.31034 10.6207C3.92981 10.6207 2 8.6909 2 6.31034Z" stroke="black" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
</svg>
|
</svg>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 382 B After Width: | Height: | Size: 383 B |
@@ -1,6 +1,4 @@
|
|||||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
<path d="M5.26659 13.3333C6.53897 13.986 8.00264 14.1628 9.39384 13.8319C10.785 13.5009 12.0123 12.6839 12.8544 11.5281C13.6966 10.3724 14.0982 8.95381 13.987 7.52811C13.8758 6.10241 13.259 4.76332 12.2478 3.75213C11.2366 2.74095 9.89751 2.12417 8.47181 2.01295C7.04611 1.90173 5.62757 2.30337 4.4718 3.1455C3.31603 3.98764 2.49905 5.21488 2.16807 6.60608C1.83709 7.99728 2.01388 9.46095 2.66659 10.7333L1.33325 14.6667L5.26659 13.3333Z" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
<path d="M5.46115 8.43419C7.30678 8.43419 8.92229 7.43411 8.92229 5.21171C8.92229 2.98933 7.30678 1.98926 5.46115 1.98926C3.61553 1.98926 2 2.98933 2 5.21171C2 6.028 2.21794 6.67935 2.58519 7.17685C2.7184 7.35732 2.69033 7.77795 2.58387 7.97539C2.32908 8.44793 2.81048 8.9657 3.33372 8.84571C3.72539 8.75597 4.13621 8.63447 4.49574 8.4715C4.62736 8.41181 4.7727 8.38777 4.91631 8.40402C5.09471 8.42416 5.27678 8.43419 5.46115 8.43419Z" fill="black" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
<path d="M5.33325 8H5.33992" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
<path d="M11.3385 6.24835C11.7049 6.74561 11.9224 7.39641 11.9224 8.2117C11.9224 9.02799 11.7044 9.67934 11.3372 10.1768C11.204 10.3573 11.232 10.7779 11.3385 10.9754C11.5933 11.4479 11.1119 11.9657 10.5886 11.8457C10.197 11.756 9.78615 11.6345 9.42662 11.4715C9.295 11.4118 9.14966 11.3878 9.00605 11.404C8.82765 11.4242 8.64558 11.4342 8.46121 11.4342C7.61469 11.4342 6.81658 11.2238 6.20055 10.7816" stroke="black" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
<path d="M8 8H8.00667" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
||||||
<path d="M10.6667 8H10.6734" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
||||||
</svg>
|
</svg>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 954 B After Width: | Height: | Size: 1.1 KiB |
@@ -1 +0,0 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-message-circle-more"><path d="M7.9 20A9 9 0 1 0 4 16.1L2 22Z"/><path d="M8 12h.01"/><path d="M12 12h.01"/><path d="M16 12h.01"/></svg>
|
|
||||||
|
Before Width: | Height: | Size: 337 B |
@@ -1 +0,0 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-panel-left"><rect width="18" height="18" x="3" y="3" rx="2"/><path d="M9 3v18"/></svg>
|
|
||||||
|
Before Width: | Height: | Size: 289 B |
@@ -1 +0,0 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-panel-right"><rect width="18" height="18" x="3" y="3" rx="2"/><path d="M15 3v18"/></svg>
|
|
||||||
|
Before Width: | Height: | Size: 291 B |
@@ -1,4 +1,3 @@
|
|||||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
<path d="M12.6666 14V12.6667C12.6666 11.9594 12.3856 11.2811 11.8855 10.781C11.3854 10.281 10.7072 10 9.99992 10H5.99992C5.29267 10 4.6144 10.281 4.1143 10.781C3.6142 11.2811 3.33325 11.9594 3.33325 12.6667V14" stroke="black" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/>
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.5 0.875C5.49797 0.875 3.875 2.49797 3.875 4.5C3.875 6.15288 4.98124 7.54738 6.49373 7.98351C5.2997 8.12901 4.27557 8.55134 3.50407 9.31167C2.52216 10.2794 2.02502 11.72 2.02502 13.5999C2.02502 13.8623 2.23769 14.0749 2.50002 14.0749C2.76236 14.0749 2.97502 13.8623 2.97502 13.5999C2.97502 11.8799 3.42786 10.7206 4.17091 9.9883C4.91536 9.25463 6.02674 8.87499 7.49995 8.87499C8.97317 8.87499 10.0846 9.25463 10.8291 9.98831C11.5721 10.7206 12.025 11.8799 12.025 13.5999C12.025 13.8623 12.2376 14.0749 12.5 14.0749C12.7623 14.075 12.975 13.8623 12.975 13.6C12.975 11.72 12.4778 10.2794 11.4959 9.31166C10.7244 8.55135 9.70025 8.12903 8.50625 7.98352C10.0187 7.5474 11.125 6.15289 11.125 4.5C11.125 2.49797 9.50203 0.875 7.5 0.875ZM4.825 4.5C4.825 3.02264 6.02264 1.825 7.5 1.825C8.97736 1.825 10.175 3.02264 10.175 4.5C10.175 5.97736 8.97736 7.175 7.5 7.175C6.02264 7.175 4.825 5.97736 4.825 4.5Z" fill="black"/>
|
||||||
<path d="M7.99992 7.33333C9.47268 7.33333 10.6666 6.13943 10.6666 4.66667C10.6666 3.19391 9.47268 2 7.99992 2C6.52716 2 5.33325 3.19391 5.33325 4.66667C5.33325 6.13943 6.52716 7.33333 7.99992 7.33333Z" stroke="black" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/>
|
|
||||||
</svg>
|
</svg>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 690 B After Width: | Height: | Size: 1.0 KiB |
@@ -1 +0,0 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-circle-user"><circle cx="12" cy="12" r="10"/><circle cx="12" cy="10" r="3"/><path d="M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662"/></svg>
|
|
||||||
|
Before Width: | Height: | Size: 345 B |
@@ -1,4 +1,8 @@
|
|||||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
<path d="M3.33325 8H12.6666" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
<path
|
||||||
<path d="M8 3.33333V12.6667" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
fill-rule="evenodd"
|
||||||
|
clip-rule="evenodd"
|
||||||
|
d="M8 2.75C8 2.47386 7.77614 2.25 7.5 2.25C7.22386 2.25 7 2.47386 7 2.75V7H2.75C2.47386 7 2.25 7.22386 2.25 7.5C2.25 7.77614 2.47386 8 2.75 8H7V12.25C7 12.5261 7.22386 12.75 7.5 12.75C7.77614 12.75 8 12.5261 8 12.25V8H12.25C12.5261 8 12.75 7.77614 12.75 7.5C12.75 7.22386 12.5261 7 12.25 7H8V2.75Z"
|
||||||
|
fill="currentColor"
|
||||||
|
/>
|
||||||
</svg>
|
</svg>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 327 B After Width: | Height: | Size: 491 B |
@@ -1,4 +1 @@
|
|||||||
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-rotate-cw"><path d="M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8"/><path d="M21 3v5h-5"/></svg>
|
||||||
<path d="M12 6.5L9.99556 4.21778C9.27778 3.5 8.12 3 7 3C6.20888 3 5.43552 3.2346 4.77772 3.67412C4.11992 4.11365 3.60723 4.73836 3.30448 5.46927C3.00173 6.20017 2.92252 7.00444 3.07686 7.78036C3.2312 8.55628 3.61216 9.26902 4.17157 9.82842C4.73098 10.3878 5.44372 10.7688 6.21964 10.9231C6.99556 11.0775 7.79983 10.9983 8.53073 10.6955C8.88113 10.5504 9.20712 10.357 9.5 10.1225" stroke="black" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
||||||
<path d="M12 4V6.5H9.5" stroke="black" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
||||||
</svg>
|
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 673 B After Width: | Height: | Size: 303 B |
@@ -1,4 +1,4 @@
|
|||||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
<path d="M8.14667 1.33334H7.85333C7.49971 1.33334 7.16057 1.47382 6.91053 1.72387C6.66048 1.97392 6.52 2.31305 6.52 2.66668V2.78668C6.51976 3.02049 6.45804 3.25014 6.34103 3.45257C6.22401 3.655 6.05583 3.8231 5.85333 3.94001L5.56667 4.10668C5.36398 4.2237 5.13405 4.28531 4.9 4.28531C4.66595 4.28531 4.43603 4.2237 4.23333 4.10668L4.13333 4.05334C3.82738 3.87685 3.46389 3.82897 3.12267 3.92022C2.78145 4.01146 2.49037 4.23437 2.31333 4.54001L2.16667 4.79334C1.99018 5.0993 1.9423 5.46279 2.03354 5.80401C2.12478 6.14523 2.34769 6.43631 2.65333 6.61334L2.75333 6.68001C2.95485 6.79635 3.12241 6.9634 3.23937 7.16456C3.35632 7.36573 3.4186 7.59399 3.42 7.82668V8.16668C3.42093 8.40162 3.35977 8.63265 3.2427 8.83635C3.12563 9.04005 2.95681 9.2092 2.75333 9.32668L2.65333 9.38668C2.34769 9.56371 2.12478 9.85479 2.03354 10.196C1.9423 10.5372 1.99018 10.9007 2.16667 11.2067L2.31333 11.46C2.49037 11.7657 2.78145 11.9886 3.12267 12.0798C3.46389 12.171 3.82738 12.1232 4.13333 11.9467L4.23333 11.8933C4.43603 11.7763 4.66595 11.7147 4.9 11.7147C5.13405 11.7147 5.36398 11.7763 5.56667 11.8933L5.85333 12.06C6.05583 12.1769 6.22401 12.345 6.34103 12.5475C6.45804 12.7499 6.51976 12.9795 6.52 13.2133V13.3333C6.52 13.687 6.66048 14.0261 6.91053 14.2762C7.16057 14.5262 7.49971 14.6667 7.85333 14.6667H8.14667C8.50029 14.6667 8.83943 14.5262 9.08948 14.2762C9.33953 14.0261 9.48 13.687 9.48 13.3333V13.2133C9.48024 12.9795 9.54196 12.7499 9.65898 12.5475C9.77599 12.345 9.94418 12.1769 10.1467 12.06L10.4333 11.8933C10.636 11.7763 10.866 11.7147 11.1 11.7147C11.3341 11.7147 11.564 11.7763 11.7667 11.8933L11.8667 11.9467C12.1726 12.1232 12.5361 12.171 12.8773 12.0798C13.2186 11.9886 13.5096 11.7657 13.6867 11.46L13.8333 11.2C14.0098 10.8941 14.0577 10.5306 13.9665 10.1893C13.8752 9.84812 13.6523 9.55704 13.3467 9.38001L13.2467 9.32668C13.0432 9.2092 12.8744 9.04005 12.7573 8.83635C12.6402 8.63265 12.5791 8.40162 12.58 8.16668V7.83334C12.5791 7.5984 12.6402 7.36738 12.7573 7.16367C12.8744 6.95997 13.0432 6.79082 13.2467 6.67334L13.3467 6.61334C13.6523 6.43631 13.8752 6.14523 13.9665 5.80401C14.0577 5.46279 14.0098 5.0993 13.8333 4.79334L13.6867 4.54001C13.5096 4.23437 13.2186 4.01146 12.8773 3.92022C12.5361 3.82897 12.1726 3.87685 11.8667 4.05334L11.7667 4.10668C11.564 4.2237 11.3341 4.28531 11.1 4.28531C10.866 4.28531 10.636 4.2237 10.4333 4.10668L10.1467 3.94001C9.94418 3.8231 9.77599 3.655 9.65898 3.45257C9.54196 3.25014 9.48024 3.02049 9.48 2.78668V2.66668C9.48 2.31305 9.33953 1.97392 9.08948 1.72387C8.83943 1.47382 8.50029 1.33334 8.14667 1.33334Z" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
<path d="M3.16089 10.2476L3.99598 10.3784C4.61244 10.4749 5.05269 11.0395 5.00728 11.6755L4.94576 12.5377C4.92784 12.789 5.06165 13.0255 5.28326 13.1348L5.90091 13.4391C6.12253 13.5485 6.38717 13.5075 6.56817 13.3371L7.1888 12.7505C7.64641 12.3178 8.35245 12.3178 8.81059 12.7505L9.43121 13.3371C9.61222 13.5081 9.87629 13.5485 10.0985 13.4391L10.7173 13.1341C10.9384 13.0255 11.0716 12.7895 11.0537 12.539L10.9921 11.6755C10.9467 11.0395 11.3869 10.4749 12.0033 10.3784L12.8385 10.2476C13.0817 10.2097 13.2776 10.0233 13.3325 9.77768L13.4848 9.09455C13.5398 8.8489 13.4425 8.59408 13.2393 8.45229L12.5422 7.96404C12.0279 7.60355 11.8708 6.89963 12.1814 6.34659L12.6025 5.59745C12.7249 5.3793 12.7047 5.10616 12.5511 4.9094L12.1241 4.36128C11.9706 4.16451 11.7149 4.08325 11.4795 4.15719L10.6719 4.41016C10.0752 4.59714 9.43903 4.28367 9.20962 3.69035L8.90017 2.88803C8.80937 2.65339 8.58777 2.4994 8.34108 2.5L7.65649 2.50184C7.40979 2.50244 7.1888 2.65766 7.09921 2.89291L6.79751 3.68607C6.57053 4.28307 5.93138 4.59898 5.33284 4.41077L4.49178 4.1468C4.25583 4.07225 3.99897 4.15413 3.84545 4.35212L3.42133 4.90084C3.26781 5.09943 3.2493 5.37319 3.37414 5.59133L3.80483 6.34232C4.12201 6.89591 3.96671 7.60659 3.44941 7.96897L2.76065 8.45169C2.55756 8.59408 2.4602 8.84891 2.51516 9.09393L2.66747 9.77708C2.72184 10.0233 2.91777 10.2097 3.16089 10.2476Z" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
<path d="M8 10C9.10457 10 10 9.10457 10 8C10 6.89543 9.10457 6 8 6C6.89543 6 6 6.89543 6 8C6 9.10457 6.89543 10 8 10Z" fill="black"/>
|
<path d="M9.41432 6.83576C8.63332 6.05481 7.36676 6.05476 6.58575 6.83571C5.8048 7.61672 5.80476 8.88327 6.58571 9.66427C7.36671 10.4452 8.63326 10.4452 9.41426 9.66432C10.1952 8.88332 10.1952 7.61676 9.41432 6.83576Z" fill="black"/>
|
||||||
</svg>
|
</svg>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 1.7 KiB |
@@ -1 +0,0 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-square-dot"><rect width="18" height="18" x="3" y="3" rx="2"/><circle cx="12" cy="12" r="1"/></svg>
|
|
||||||
|
Before Width: | Height: | Size: 301 B |
@@ -1 +0,0 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-square-minus"><rect width="18" height="18" x="3" y="3" rx="2"/><path d="M8 12h8"/></svg>
|
|
||||||
|
Before Width: | Height: | Size: 291 B |
@@ -1 +0,0 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-square-plus"><rect width="18" height="18" x="3" y="3" rx="2"/><path d="M8 12h8"/><path d="M12 8v8"/></svg>
|
|
||||||
|
Before Width: | Height: | Size: 309 B |
@@ -1 +0,0 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-thumbs-down"><path d="M17 14V2"/><path d="M9 18.12 10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22a3.13 3.13 0 0 1-3-3.88Z"/></svg>
|
|
||||||
|
Before Width: | Height: | Size: 405 B |
@@ -1 +0,0 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-thumbs-up"><path d="M7 10v12"/><path d="M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z"/></svg>
|
|
||||||
|
Before Width: | Height: | Size: 404 B |
@@ -1,3 +1,3 @@
|
|||||||
<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
<path d="M8.5 3L3 12H14L8.5 3Z" fill="black"/>
|
<path d="M8 4L4 12H12L8 4Z" fill="currentColor"/>
|
||||||
</svg>
|
</svg>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 150 B After Width: | Height: | Size: 155 B |
@@ -1,3 +1,3 @@
|
|||||||
<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
<path d="M5 4.5L12 11.5M12 4.5L5 11.5" stroke="black" stroke-width="2" stroke-linecap="round"/>
|
<path d="M4 4L12 12M12 4L4 12" stroke="currentColor" stroke-width="2"/>
|
||||||
</svg>
|
</svg>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 199 B After Width: | Height: | Size: 177 B |
@@ -1,5 +0,0 @@
|
|||||||
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path d="M5.27772 1.38585L4.39187 4.07909C4.34653 4.21692 4.26946 4.34219 4.16685 4.44479C4.06425 4.5474 3.93898 4.62447 3.80115 4.66981L1.10791 5.55566L3.80115 6.44151C3.93898 6.48685 4.06425 6.56392 4.16685 6.66653C4.26946 6.76913 4.34653 6.8944 4.39187 7.03223L5.27772 9.72547L6.16357 7.03223C6.20891 6.8944 6.28598 6.76913 6.38859 6.66653C6.49119 6.56392 6.61646 6.48685 6.7543 6.44151L9.44753 5.55566L6.7543 4.66981C6.61646 4.62447 6.49119 4.5474 6.38859 4.44479C6.28598 4.34219 6.20891 4.21692 6.16357 4.07909L5.27772 1.38585Z" fill="black" fill-opacity="0.15" stroke="black" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
||||||
<path d="M8.35938 12.3555C8.35938 12.0664 8.52734 11.8086 9.00781 11.3594L10.2031 10.2344C10.6094 9.85156 10.7891 9.60156 10.7891 9.34375C10.7891 9.05469 10.5781 8.85938 10.2734 8.85938C10.0391 8.85938 9.87109 8.95312 9.66406 9.21094C9.42578 9.50781 9.25391 9.60938 8.99219 9.60938C8.61719 9.60938 8.35156 9.35938 8.35156 9.01172C8.35156 8.25 9.26953 7.57812 10.3594 7.57812C11.4961 7.57812 12.3438 8.26172 12.3438 9.17969C12.3438 9.75391 12.0391 10.3008 11.418 10.8516L10.4961 11.6719V11.7344H11.8047C12.2578 11.7344 12.5391 11.9766 12.5391 12.3711C12.5391 12.7656 12.2656 13 11.8047 13H9.08203C8.65234 13 8.35938 12.7383 8.35938 12.3555Z" fill="black"/>
|
|
||||||
<path d="M11.0834 1.38585V3.71918M9.91675 2.55248H12.2501" stroke="black" stroke-opacity="0.75" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 1.5 KiB |
@@ -1,5 +0,0 @@
|
|||||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path d="M12 5L14 8L12 11" stroke="black" stroke-width="1.5"/>
|
|
||||||
<path d="M10 6.5L11 8L10 9.5" stroke="black" stroke-width="1.5"/>
|
|
||||||
<path d="M7.5 8.9V11C5.43097 11 4.56903 11 2.5 11V10.4L7.5 5.6V5H2.5V7.1" stroke="black" stroke-width="1.5"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 342 B |
@@ -1,19 +0,0 @@
|
|||||||
<svg width="550" height="128" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<defs>
|
|
||||||
<pattern id="tilePattern" width="23" height="23" patternUnits="userSpaceOnUse">
|
|
||||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path d="M12 5L14 8L12 11" stroke="black" stroke-width="1.5"/>
|
|
||||||
<path d="M10 6.5L11 8L10 9.5" stroke="black" stroke-width="1.5"/>
|
|
||||||
<path d="M7.5 8.9V11C5.43097 11 4.56903 11 2.5 11V10.4L7.5 5.6V5H2.5V7.1" stroke="black" stroke-width="1.5"/>
|
|
||||||
</svg>
|
|
||||||
</pattern>
|
|
||||||
<linearGradient id="fade" y2="1" x2="0">
|
|
||||||
<stop offset="0" stop-color="white" stop-opacity=".24"/>
|
|
||||||
<stop offset="1" stop-color="white" stop-opacity="0"/>
|
|
||||||
</linearGradient>
|
|
||||||
<mask id="fadeMask" maskContentUnits="objectBoundingBox">
|
|
||||||
<rect width="1" height="1" fill="url(#fade)"/>
|
|
||||||
</mask>
|
|
||||||
</defs>
|
|
||||||
<rect width="100%" height="100%" fill="url(#tilePattern)" mask="url(#fadeMask)"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 971 B |
@@ -1,6 +0,0 @@
|
|||||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path opacity="0.6" fill-rule="evenodd" clip-rule="evenodd" d="M6.75 9.31247L8.25 10.5576V11.75H1.75V10.0803L4.49751 7.44273L5.65909 8.40693L3.73923 10.25H6.75V9.31247ZM8.25 5.85739V4.25H6.31358L8.25 5.85739ZM1.75 5.16209V7.1H3.25V6.4072L1.75 5.16209Z" fill="black"/>
|
|
||||||
<path opacity="0.6" fill-rule="evenodd" clip-rule="evenodd" d="M10.9624 9.40853L11.9014 8L10.6241 6.08397L9.37598 6.91603L10.0986 8L9.80184 8.44518L10.9624 9.40853Z" fill="black"/>
|
|
||||||
<path opacity="0.6" fill-rule="evenodd" clip-rule="evenodd" d="M12.8936 11.0116L14.9014 8L12.6241 4.58397L11.376 5.41603L13.0986 8L11.7331 10.0483L12.8936 11.0116Z" fill="black"/>
|
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M14.1225 13.809C14.0341 13.9146 13.877 13.9289 13.7711 13.8409L1.19311 3.40021C1.08659 3.31178 1.07221 3.15362 1.16104 3.04743L1.87752 2.19101C1.96588 2.0854 2.123 2.07112 2.22895 2.15906L14.8069 12.5998C14.9134 12.6882 14.9278 12.8464 14.839 12.9526L14.1225 13.809Z" fill="black"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 1.0 KiB |
@@ -1,5 +0,0 @@
|
|||||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path d="M15 9.33333L14.5 9.66667L12.5 11L10.5 9.66667L10 9.33333" stroke="black" stroke-width="1.5"/>
|
|
||||||
<path d="M12.5 11V4.5" stroke="black" stroke-width="1.5"/>
|
|
||||||
<path d="M7.5 8.9V11C5.43097 11 4.56903 11 2.5 11V10.4L7.5 5.6V5H2.5V7.1" stroke="black" stroke-width="1.5"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 375 B |
@@ -1,4 +0,0 @@
|
|||||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path opacity="0.6" d="M7.5 8.9V11C5.43097 11 4.56903 11 2.5 11V10.4L7.5 5.6V5H2.5V7.1" stroke="black" stroke-width="1.5"/>
|
|
||||||
<path d="M14 8L10 12M14 12L10 8" stroke="black" stroke-width="1.5"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 296 B |
@@ -1,5 +0,0 @@
|
|||||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path d="M10 6.66667L10.5 6.33333L12.5 5L14.5 6.33333L15 6.66667" stroke="black" stroke-width="1.5"/>
|
|
||||||
<path d="M12.5 11V5" stroke="black" stroke-width="1.5"/>
|
|
||||||
<path d="M7.5 8.9V11C5.43097 11 4.56903 11 2.5 11V10.4L7.5 5.6V5H2.5V7.1" stroke="black" stroke-width="1.5"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 372 B |
@@ -2,50 +2,46 @@
|
|||||||
// Standard Linux bindings
|
// Standard Linux bindings
|
||||||
{
|
{
|
||||||
"bindings": {
|
"bindings": {
|
||||||
|
"shift-tab": "menu::SelectPrev",
|
||||||
"home": "menu::SelectFirst",
|
"home": "menu::SelectFirst",
|
||||||
"shift-pageup": "menu::SelectFirst",
|
|
||||||
"pageup": "menu::SelectFirst",
|
"pageup": "menu::SelectFirst",
|
||||||
"end": "menu::SelectLast",
|
"shift-pageup": "menu::SelectFirst",
|
||||||
"shift-pagedown": "menu::SelectLast",
|
"ctrl-p": "menu::SelectPrev",
|
||||||
"pagedown": "menu::SelectLast",
|
|
||||||
"ctrl-n": "menu::SelectNext",
|
|
||||||
"tab": "menu::SelectNext",
|
"tab": "menu::SelectNext",
|
||||||
"ctrl-p": "menu::SelectPrevious",
|
"end": "menu::SelectLast",
|
||||||
"shift-tab": "menu::SelectPrevious",
|
"pagedown": "menu::SelectLast",
|
||||||
|
"shift-pagedown": "menu::SelectFirst",
|
||||||
|
"ctrl-n": "menu::SelectNext",
|
||||||
"enter": "menu::Confirm",
|
"enter": "menu::Confirm",
|
||||||
"ctrl-enter": "menu::SecondaryConfirm",
|
"ctrl-enter": "menu::SecondaryConfirm",
|
||||||
|
"escape": "menu::Cancel",
|
||||||
"ctrl-escape": "menu::Cancel",
|
"ctrl-escape": "menu::Cancel",
|
||||||
"ctrl-c": "menu::Cancel",
|
"ctrl-c": "menu::Cancel",
|
||||||
"escape": "menu::Cancel",
|
|
||||||
"alt-shift-enter": "menu::Restart",
|
|
||||||
"alt-enter": ["picker::ConfirmInput", { "secondary": false }],
|
"alt-enter": ["picker::ConfirmInput", { "secondary": false }],
|
||||||
"ctrl-alt-enter": ["picker::ConfirmInput", { "secondary": true }],
|
"ctrl-alt-enter": ["picker::ConfirmInput", { "secondary": true }],
|
||||||
"ctrl-shift-w": "workspace::CloseWindow",
|
"ctrl-shift-w": "workspace::CloseWindow",
|
||||||
"shift-escape": "workspace::ToggleZoom",
|
"shift-escape": "workspace::ToggleZoom",
|
||||||
"open": "workspace::Open",
|
|
||||||
"ctrl-o": "workspace::Open",
|
"ctrl-o": "workspace::Open",
|
||||||
"ctrl-=": ["zed::IncreaseBufferFontSize", { "persist": false }],
|
"ctrl-=": "zed::IncreaseBufferFontSize",
|
||||||
"ctrl-+": ["zed::IncreaseBufferFontSize", { "persist": false }],
|
"ctrl-+": "zed::IncreaseBufferFontSize",
|
||||||
"ctrl--": ["zed::DecreaseBufferFontSize", { "persist": false }],
|
"ctrl--": "zed::DecreaseBufferFontSize",
|
||||||
"ctrl-0": ["zed::ResetBufferFontSize", { "persist": false }],
|
"ctrl-0": "zed::ResetBufferFontSize",
|
||||||
"ctrl-,": "zed::OpenSettings",
|
"ctrl-,": "zed::OpenSettings",
|
||||||
"ctrl-q": "zed::Quit",
|
"ctrl-q": "zed::Quit",
|
||||||
"f11": "zed::ToggleFullScreen",
|
"f11": "zed::ToggleFullScreen"
|
||||||
"ctrl-alt-z": "edit_prediction::RateCompletions",
|
|
||||||
"ctrl-shift-i": "edit_prediction::ToggleMenu"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "Picker || menu",
|
"context": "Picker || menu",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"up": "menu::SelectPrevious",
|
"up": "menu::SelectPrev",
|
||||||
"down": "menu::SelectNext"
|
"down": "menu::SelectNext"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "Prompt",
|
"context": "Prompt",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"left": "menu::SelectPrevious",
|
"left": "menu::SelectPrev",
|
||||||
"right": "menu::SelectNext"
|
"right": "menu::SelectNext"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -53,30 +49,22 @@
|
|||||||
"context": "Editor",
|
"context": "Editor",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"escape": "editor::Cancel",
|
"escape": "editor::Cancel",
|
||||||
"shift-backspace": "editor::Backspace",
|
|
||||||
"backspace": "editor::Backspace",
|
"backspace": "editor::Backspace",
|
||||||
|
"shift-backspace": "editor::Backspace",
|
||||||
"delete": "editor::Delete",
|
"delete": "editor::Delete",
|
||||||
"tab": "editor::Tab",
|
"tab": "editor::Tab",
|
||||||
"shift-tab": "editor::Backtab",
|
"shift-tab": "editor::TabPrev",
|
||||||
"ctrl-k": "editor::CutToEndOfLine",
|
"ctrl-k": "editor::CutToEndOfLine",
|
||||||
// "ctrl-t": "editor::Transpose",
|
// "ctrl-t": "editor::Transpose",
|
||||||
"ctrl-k ctrl-q": "editor::Rewrap",
|
"ctrl-k ctrl-q": "editor::Rewrap",
|
||||||
"ctrl-k q": "editor::Rewrap",
|
"ctrl-k q": "editor::Rewrap",
|
||||||
"ctrl-backspace": "editor::DeleteToPreviousWordStart",
|
"ctrl-backspace": "editor::DeleteToPreviousWordStart",
|
||||||
"ctrl-delete": "editor::DeleteToNextWordEnd",
|
"ctrl-delete": "editor::DeleteToNextWordEnd",
|
||||||
"cut": "editor::Cut",
|
|
||||||
"shift-delete": "editor::Cut",
|
"shift-delete": "editor::Cut",
|
||||||
"ctrl-x": "editor::Cut",
|
|
||||||
"copy": "editor::Copy",
|
|
||||||
"ctrl-insert": "editor::Copy",
|
"ctrl-insert": "editor::Copy",
|
||||||
"ctrl-c": "editor::Copy",
|
|
||||||
"paste": "editor::Paste",
|
|
||||||
"shift-insert": "editor::Paste",
|
"shift-insert": "editor::Paste",
|
||||||
"ctrl-v": "editor::Paste",
|
|
||||||
"undo": "editor::Undo",
|
|
||||||
"ctrl-z": "editor::Undo",
|
|
||||||
"redo": "editor::Redo",
|
|
||||||
"ctrl-y": "editor::Redo",
|
"ctrl-y": "editor::Redo",
|
||||||
|
"ctrl-z": "editor::Undo",
|
||||||
"ctrl-shift-z": "editor::Redo",
|
"ctrl-shift-z": "editor::Redo",
|
||||||
"up": "editor::MoveUp",
|
"up": "editor::MoveUp",
|
||||||
"ctrl-up": "editor::LineUp",
|
"ctrl-up": "editor::LineUp",
|
||||||
@@ -84,12 +72,12 @@
|
|||||||
"pageup": "editor::MovePageUp",
|
"pageup": "editor::MovePageUp",
|
||||||
"alt-pageup": "editor::PageUp",
|
"alt-pageup": "editor::PageUp",
|
||||||
"shift-pageup": "editor::SelectPageUp",
|
"shift-pageup": "editor::SelectPageUp",
|
||||||
"home": ["editor::MoveToBeginningOfLine", { "stop_at_soft_wraps": true, "stop_at_indent": true }],
|
"home": "editor::MoveToBeginningOfLine",
|
||||||
"down": "editor::MoveDown",
|
"down": "editor::MoveDown",
|
||||||
"pagedown": "editor::MovePageDown",
|
"pagedown": "editor::MovePageDown",
|
||||||
"alt-pagedown": "editor::PageDown",
|
"alt-pagedown": "editor::PageDown",
|
||||||
"shift-pagedown": "editor::SelectPageDown",
|
"shift-pagedown": "editor::SelectPageDown",
|
||||||
"end": ["editor::MoveToEndOfLine", { "stop_at_soft_wraps": true }],
|
"end": "editor::MoveToEndOfLine",
|
||||||
"left": "editor::MoveLeft",
|
"left": "editor::MoveLeft",
|
||||||
"right": "editor::MoveRight",
|
"right": "editor::MoveRight",
|
||||||
"ctrl-left": "editor::MoveToPreviousWordStart",
|
"ctrl-left": "editor::MoveToPreviousWordStart",
|
||||||
@@ -107,56 +95,60 @@
|
|||||||
"ctrl-a": "editor::SelectAll",
|
"ctrl-a": "editor::SelectAll",
|
||||||
"ctrl-l": "editor::SelectLine",
|
"ctrl-l": "editor::SelectLine",
|
||||||
"ctrl-shift-i": "editor::Format",
|
"ctrl-shift-i": "editor::Format",
|
||||||
// "cmd-shift-left": ["editor::SelectToBeginningOfLine", {"stop_at_soft_wraps": true, "stop_at_indent": true }],
|
// "cmd-shift-left": ["editor::SelectToBeginningOfLine", {"stop_at_soft_wraps": true }],
|
||||||
// "ctrl-shift-a": ["editor::SelectToBeginningOfLine", { "stop_at_soft_wraps": true, "stop_at_indent": true }],
|
"shift-home": ["editor::SelectToBeginningOfLine", { "stop_at_soft_wraps": true }],
|
||||||
"shift-home": ["editor::SelectToBeginningOfLine", { "stop_at_soft_wraps": true, "stop_at_indent": true }],
|
// "ctrl-shift-a": ["editor::SelectToBeginningOfLine", { "stop_at_soft_wraps": true }],
|
||||||
// "cmd-shift-right": ["editor::SelectToEndOfLine", { "stop_at_soft_wraps": true }],
|
// "cmd-shift-right": ["editor::SelectToEndOfLine", { "stop_at_soft_wraps": true }],
|
||||||
// "ctrl-shift-e": ["editor::SelectToEndOfLine", { "stop_at_soft_wraps": true }],
|
|
||||||
"shift-end": ["editor::SelectToEndOfLine", { "stop_at_soft_wraps": true }],
|
"shift-end": ["editor::SelectToEndOfLine", { "stop_at_soft_wraps": true }],
|
||||||
|
// "ctrl-shift-e": ["editor::SelectToEndOfLine", { "stop_at_soft_wraps": true }],
|
||||||
// "alt-v": ["editor::MovePageUp", { "center_cursor": true }],
|
// "alt-v": ["editor::MovePageUp", { "center_cursor": true }],
|
||||||
"ctrl-alt-space": "editor::ShowCharacterPalette",
|
"ctrl-alt-space": "editor::ShowCharacterPalette",
|
||||||
"ctrl-;": "editor::ToggleLineNumbers",
|
"ctrl-;": "editor::ToggleLineNumbers",
|
||||||
"ctrl-k ctrl-r": "git::Restore",
|
"ctrl-k ctrl-r": "editor::RevertSelectedHunks",
|
||||||
"ctrl-'": "editor::ToggleSelectedDiffHunks",
|
"ctrl-'": "editor::ToggleHunkDiff",
|
||||||
"ctrl-\"": "editor::ExpandAllDiffHunks",
|
"ctrl-\"": "editor::ExpandAllHunkDiffs",
|
||||||
"ctrl-i": "editor::ShowSignatureHelp",
|
"ctrl-i": "editor::ShowSignatureHelp",
|
||||||
"alt-g b": "editor::ToggleGitBlame",
|
"alt-g b": "editor::ToggleGitBlame"
|
||||||
"menu": "editor::OpenContextMenu",
|
}
|
||||||
"shift-f10": "editor::OpenContextMenu",
|
},
|
||||||
"ctrl-shift-e": "editor::ToggleEditPrediction"
|
{
|
||||||
|
// Separate block with same context so these display in context menus
|
||||||
|
"context": "Editor",
|
||||||
|
"bindings": {
|
||||||
|
"ctrl-x": "editor::Cut",
|
||||||
|
"ctrl-c": "editor::Copy",
|
||||||
|
"ctrl-v": "editor::Paste"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "Editor && mode == full",
|
"context": "Editor && mode == full",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"shift-enter": "editor::Newline",
|
|
||||||
"enter": "editor::Newline",
|
"enter": "editor::Newline",
|
||||||
|
"shift-enter": "editor::Newline",
|
||||||
"ctrl-enter": "editor::NewlineAbove",
|
"ctrl-enter": "editor::NewlineAbove",
|
||||||
"ctrl-shift-enter": "editor::NewlineBelow",
|
"ctrl-shift-enter": "editor::NewlineBelow",
|
||||||
"ctrl-k ctrl-z": "editor::ToggleSoftWrap",
|
"ctrl-k ctrl-z": "editor::ToggleSoftWrap",
|
||||||
"ctrl-k z": "editor::ToggleSoftWrap",
|
"ctrl-k z": "editor::ToggleSoftWrap",
|
||||||
"find": "buffer_search::Deploy",
|
|
||||||
"ctrl-f": "buffer_search::Deploy",
|
"ctrl-f": "buffer_search::Deploy",
|
||||||
"ctrl-h": "buffer_search::DeployReplace",
|
"ctrl-h": ["buffer_search::Deploy", { "replace_enabled": true }],
|
||||||
// "cmd-e": ["buffer_search::Deploy", { "focus": false }],
|
// "cmd-e": ["buffer_search::Deploy", { "focus": false }],
|
||||||
"ctrl->": "assistant::QuoteSelection",
|
"ctrl->": "assistant::QuoteSelection",
|
||||||
"ctrl-<": "assistant::InsertIntoEditor",
|
"ctrl-<": "assistant::InsertIntoEditor",
|
||||||
"ctrl-alt-e": "editor::SelectEnclosingSymbol",
|
"ctrl-alt-e": "editor::SelectEnclosingSymbol"
|
||||||
"alt-enter": "editor::OpenSelectionsInMultibuffer"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "Editor && mode == full && edit_prediction",
|
"context": "Editor && mode == full && inline_completion",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"alt-]": "editor::NextEditPrediction",
|
"alt-]": "editor::NextInlineCompletion",
|
||||||
"alt-[": "editor::PreviousEditPrediction",
|
"alt-[": "editor::PreviousInlineCompletion",
|
||||||
"alt-right": "editor::AcceptPartialEditPrediction"
|
"alt-right": "editor::AcceptPartialInlineCompletion"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "Editor && !edit_prediction",
|
"context": "Editor && !inline_completion",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"alt-\\": "editor::ShowEditPrediction"
|
"alt-\\": "editor::ShowInlineCompletion"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -170,7 +162,6 @@
|
|||||||
{
|
{
|
||||||
"context": "Markdown",
|
"context": "Markdown",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"copy": "markdown::Copy",
|
|
||||||
"ctrl-c": "markdown::Copy"
|
"ctrl-c": "markdown::Copy"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -178,21 +169,17 @@
|
|||||||
"context": "AssistantPanel",
|
"context": "AssistantPanel",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"ctrl-k c": "assistant::CopyCode",
|
"ctrl-k c": "assistant::CopyCode",
|
||||||
"ctrl-shift-e": "project_panel::ToggleFocus",
|
|
||||||
"ctrl-g": "search::SelectNextMatch",
|
"ctrl-g": "search::SelectNextMatch",
|
||||||
"ctrl-shift-g": "search::SelectPreviousMatch",
|
"ctrl-shift-g": "search::SelectPrevMatch",
|
||||||
"ctrl-alt-/": "assistant::ToggleModelSelector",
|
"ctrl-shift-m": "assistant::ToggleModelSelector",
|
||||||
"ctrl-k h": "assistant::DeployHistory",
|
"ctrl-k h": "assistant::DeployHistory",
|
||||||
"ctrl-k l": "assistant::DeployPromptLibrary",
|
"ctrl-k l": "assistant::DeployPromptLibrary",
|
||||||
"new": "assistant::NewChat",
|
"ctrl-n": "assistant::NewContext"
|
||||||
"ctrl-t": "assistant::NewChat",
|
|
||||||
"ctrl-n": "assistant::NewChat"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "PromptLibrary",
|
"context": "PromptLibrary",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"new": "prompt_library::NewPrompt",
|
|
||||||
"ctrl-n": "prompt_library::NewPrompt",
|
"ctrl-n": "prompt_library::NewPrompt",
|
||||||
"ctrl-shift-s": "prompt_library::ToggleDefaultPrompt"
|
"ctrl-shift-s": "prompt_library::ToggleDefaultPrompt"
|
||||||
}
|
}
|
||||||
@@ -203,9 +190,8 @@
|
|||||||
"escape": "buffer_search::Dismiss",
|
"escape": "buffer_search::Dismiss",
|
||||||
"tab": "buffer_search::FocusEditor",
|
"tab": "buffer_search::FocusEditor",
|
||||||
"enter": "search::SelectNextMatch",
|
"enter": "search::SelectNextMatch",
|
||||||
"shift-enter": "search::SelectPreviousMatch",
|
"shift-enter": "search::SelectPrevMatch",
|
||||||
"alt-enter": "search::SelectAllMatches",
|
"alt-enter": "search::SelectAllMatches",
|
||||||
"find": "search::FocusSearch",
|
|
||||||
"ctrl-f": "search::FocusSearch",
|
"ctrl-f": "search::FocusSearch",
|
||||||
"ctrl-h": "search::ToggleReplace",
|
"ctrl-h": "search::ToggleReplace",
|
||||||
"ctrl-l": "search::ToggleSelection"
|
"ctrl-l": "search::ToggleSelection"
|
||||||
@@ -229,7 +215,6 @@
|
|||||||
"context": "ProjectSearchBar",
|
"context": "ProjectSearchBar",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"escape": "project_search::ToggleFocus",
|
"escape": "project_search::ToggleFocus",
|
||||||
"shift-find": "search::FocusSearch",
|
|
||||||
"ctrl-shift-f": "search::FocusSearch",
|
"ctrl-shift-f": "search::FocusSearch",
|
||||||
"ctrl-shift-h": "search::ToggleReplace",
|
"ctrl-shift-h": "search::ToggleReplace",
|
||||||
"alt-ctrl-g": "search::ToggleRegex",
|
"alt-ctrl-g": "search::ToggleRegex",
|
||||||
@@ -262,48 +247,28 @@
|
|||||||
{
|
{
|
||||||
"context": "Pane",
|
"context": "Pane",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"alt-1": ["pane::ActivateItem", 0],
|
"ctrl-pageup": "pane::ActivatePrevItem",
|
||||||
"alt-2": ["pane::ActivateItem", 1],
|
|
||||||
"alt-3": ["pane::ActivateItem", 2],
|
|
||||||
"alt-4": ["pane::ActivateItem", 3],
|
|
||||||
"alt-5": ["pane::ActivateItem", 4],
|
|
||||||
"alt-6": ["pane::ActivateItem", 5],
|
|
||||||
"alt-7": ["pane::ActivateItem", 6],
|
|
||||||
"alt-8": ["pane::ActivateItem", 7],
|
|
||||||
"alt-9": ["pane::ActivateItem", 8],
|
|
||||||
"alt-0": "pane::ActivateLastItem",
|
|
||||||
"ctrl-pageup": "pane::ActivatePreviousItem",
|
|
||||||
"ctrl-pagedown": "pane::ActivateNextItem",
|
"ctrl-pagedown": "pane::ActivateNextItem",
|
||||||
"ctrl-shift-pageup": "pane::SwapItemLeft",
|
"ctrl-shift-pageup": "pane::SwapItemLeft",
|
||||||
"ctrl-shift-pagedown": "pane::SwapItemRight",
|
"ctrl-shift-pagedown": "pane::SwapItemRight",
|
||||||
"ctrl-f4": ["pane::CloseActiveItem", { "close_pinned": false }],
|
"ctrl-w": "pane::CloseActiveItem",
|
||||||
"ctrl-w": ["pane::CloseActiveItem", { "close_pinned": false }],
|
"ctrl-f4": "pane::CloseActiveItem",
|
||||||
"alt-ctrl-t": ["pane::CloseInactiveItems", { "close_pinned": false }],
|
"alt-ctrl-t": ["pane::CloseInactiveItems", { "close_pinned": false }],
|
||||||
"alt-ctrl-shift-w": "workspace::CloseInactiveTabsAndPanes",
|
"alt-ctrl-shift-w": "workspace::CloseInactiveTabsAndPanes",
|
||||||
"ctrl-k e": ["pane::CloseItemsToTheLeft", { "close_pinned": false }],
|
|
||||||
"ctrl-k t": ["pane::CloseItemsToTheRight", { "close_pinned": false }],
|
|
||||||
"ctrl-k u": ["pane::CloseCleanItems", { "close_pinned": false }],
|
"ctrl-k u": ["pane::CloseCleanItems", { "close_pinned": false }],
|
||||||
"ctrl-k w": ["pane::CloseAllItems", { "close_pinned": false }],
|
"ctrl-k w": ["pane::CloseAllItems", { "close_pinned": false }],
|
||||||
"back": "pane::GoBack",
|
|
||||||
"ctrl-alt--": "pane::GoBack",
|
|
||||||
"ctrl-alt-_": "pane::GoForward",
|
|
||||||
"forward": "pane::GoForward",
|
|
||||||
"ctrl-alt-g": "search::SelectNextMatch",
|
|
||||||
"f3": "search::SelectNextMatch",
|
|
||||||
"ctrl-alt-shift-g": "search::SelectPreviousMatch",
|
|
||||||
"shift-f3": "search::SelectPreviousMatch",
|
|
||||||
"shift-find": "project_search::ToggleFocus",
|
|
||||||
"ctrl-shift-f": "project_search::ToggleFocus",
|
"ctrl-shift-f": "project_search::ToggleFocus",
|
||||||
|
"ctrl-alt-g": "search::SelectNextMatch",
|
||||||
|
"ctrl-alt-shift-g": "search::SelectPrevMatch",
|
||||||
"ctrl-alt-shift-h": "search::ToggleReplace",
|
"ctrl-alt-shift-h": "search::ToggleReplace",
|
||||||
"ctrl-alt-shift-l": "search::ToggleSelection",
|
"ctrl-alt-shift-l": "search::ToggleSelection",
|
||||||
"alt-enter": "search::SelectAllMatches",
|
"alt-enter": "search::SelectAllMatches",
|
||||||
"alt-c": "search::ToggleCaseSensitive",
|
"alt-c": "search::ToggleCaseSensitive",
|
||||||
"alt-w": "search::ToggleWholeWord",
|
"alt-w": "search::ToggleWholeWord",
|
||||||
"alt-find": "project_search::ToggleFilters",
|
"alt-r": "search::ToggleRegex",
|
||||||
"alt-ctrl-f": "project_search::ToggleFilters",
|
"alt-ctrl-f": "project_search::ToggleFilters",
|
||||||
"ctrl-alt-shift-r": "search::ToggleRegex",
|
"ctrl-alt-shift-r": "search::ToggleRegex",
|
||||||
"ctrl-alt-shift-x": "search::ToggleRegex",
|
"ctrl-alt-shift-x": "search::ToggleRegex",
|
||||||
"alt-r": "search::ToggleRegex",
|
|
||||||
"ctrl-k shift-enter": "pane::TogglePinTab"
|
"ctrl-k shift-enter": "pane::TogglePinTab"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -334,7 +299,7 @@
|
|||||||
"ctrl-u": "editor::UndoSelection",
|
"ctrl-u": "editor::UndoSelection",
|
||||||
"ctrl-shift-u": "editor::RedoSelection",
|
"ctrl-shift-u": "editor::RedoSelection",
|
||||||
"f8": "editor::GoToDiagnostic",
|
"f8": "editor::GoToDiagnostic",
|
||||||
"shift-f8": "editor::GoToPreviousDiagnostic",
|
"shift-f8": "editor::GoToPrevDiagnostic",
|
||||||
"f2": "editor::Rename",
|
"f2": "editor::Rename",
|
||||||
"f12": "editor::GoToDefinition",
|
"f12": "editor::GoToDefinition",
|
||||||
"alt-f12": "editor::GoToDefinitionSplit",
|
"alt-f12": "editor::GoToDefinitionSplit",
|
||||||
@@ -344,21 +309,21 @@
|
|||||||
"alt-ctrl-f12": "editor::GoToTypeDefinitionSplit",
|
"alt-ctrl-f12": "editor::GoToTypeDefinitionSplit",
|
||||||
"alt-shift-f12": "editor::FindAllReferences",
|
"alt-shift-f12": "editor::FindAllReferences",
|
||||||
"ctrl-m": "editor::MoveToEnclosingBracket",
|
"ctrl-m": "editor::MoveToEnclosingBracket",
|
||||||
"ctrl-|": "editor::MoveToEnclosingBracket",
|
"ctrl-shift-\\": "editor::MoveToEnclosingBracket",
|
||||||
"ctrl-{": "editor::Fold",
|
"ctrl-shift-[": "editor::Fold",
|
||||||
"ctrl-}": "editor::UnfoldLines",
|
"ctrl-shift-]": "editor::UnfoldLines",
|
||||||
"ctrl-k ctrl-l": "editor::ToggleFold",
|
"ctrl-k ctrl-l": "editor::ToggleFold",
|
||||||
"ctrl-k ctrl-[": "editor::FoldRecursive",
|
"ctrl-k ctrl-[": "editor::FoldRecursive",
|
||||||
"ctrl-k ctrl-]": "editor::UnfoldRecursive",
|
"ctrl-k ctrl-]": "editor::UnfoldRecursive",
|
||||||
"ctrl-k ctrl-1": ["editor::FoldAtLevel", 1],
|
"ctrl-k ctrl-1": ["editor::FoldAtLevel", { "level": 1 }],
|
||||||
"ctrl-k ctrl-2": ["editor::FoldAtLevel", 2],
|
"ctrl-k ctrl-2": ["editor::FoldAtLevel", { "level": 2 }],
|
||||||
"ctrl-k ctrl-3": ["editor::FoldAtLevel", 3],
|
"ctrl-k ctrl-3": ["editor::FoldAtLevel", { "level": 3 }],
|
||||||
"ctrl-k ctrl-4": ["editor::FoldAtLevel", 4],
|
"ctrl-k ctrl-4": ["editor::FoldAtLevel", { "level": 4 }],
|
||||||
"ctrl-k ctrl-5": ["editor::FoldAtLevel", 5],
|
"ctrl-k ctrl-5": ["editor::FoldAtLevel", { "level": 5 }],
|
||||||
"ctrl-k ctrl-6": ["editor::FoldAtLevel", 6],
|
"ctrl-k ctrl-6": ["editor::FoldAtLevel", { "level": 6 }],
|
||||||
"ctrl-k ctrl-7": ["editor::FoldAtLevel", 7],
|
"ctrl-k ctrl-7": ["editor::FoldAtLevel", { "level": 7 }],
|
||||||
"ctrl-k ctrl-8": ["editor::FoldAtLevel", 8],
|
"ctrl-k ctrl-8": ["editor::FoldAtLevel", { "level": 8 }],
|
||||||
"ctrl-k ctrl-9": ["editor::FoldAtLevel", 9],
|
"ctrl-k ctrl-9": ["editor::FoldAtLevel", { "level": 9 }],
|
||||||
"ctrl-k ctrl-0": "editor::FoldAll",
|
"ctrl-k ctrl-0": "editor::FoldAll",
|
||||||
"ctrl-k ctrl-j": "editor::UnfoldAll",
|
"ctrl-k ctrl-j": "editor::UnfoldAll",
|
||||||
"ctrl-space": "editor::ShowCompletions",
|
"ctrl-space": "editor::ShowCompletions",
|
||||||
@@ -368,12 +333,7 @@
|
|||||||
"ctrl-\\": "pane::SplitRight",
|
"ctrl-\\": "pane::SplitRight",
|
||||||
"ctrl-k v": "markdown::OpenPreviewToTheSide",
|
"ctrl-k v": "markdown::OpenPreviewToTheSide",
|
||||||
"ctrl-shift-v": "markdown::OpenPreview",
|
"ctrl-shift-v": "markdown::OpenPreview",
|
||||||
"ctrl-alt-shift-c": "editor::DisplayCursorNames",
|
"ctrl-alt-shift-c": "editor::DisplayCursorNames"
|
||||||
"ctrl-alt-y": "git::ToggleStaged",
|
|
||||||
"alt-y": "git::StageAndNext",
|
|
||||||
"alt-shift-y": "git::UnstageAndNext",
|
|
||||||
"alt-.": "editor::GoToHunk",
|
|
||||||
"alt-,": "editor::GoToPreviousHunk"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -383,25 +343,39 @@
|
|||||||
"ctrl-g": "go_to_line::Toggle"
|
"ctrl-g": "go_to_line::Toggle"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"context": "Pane",
|
||||||
|
"bindings": {
|
||||||
|
"alt-1": ["pane::ActivateItem", 0],
|
||||||
|
"alt-2": ["pane::ActivateItem", 1],
|
||||||
|
"alt-3": ["pane::ActivateItem", 2],
|
||||||
|
"alt-4": ["pane::ActivateItem", 3],
|
||||||
|
"alt-5": ["pane::ActivateItem", 4],
|
||||||
|
"alt-6": ["pane::ActivateItem", 5],
|
||||||
|
"alt-7": ["pane::ActivateItem", 6],
|
||||||
|
"alt-8": ["pane::ActivateItem", 7],
|
||||||
|
"alt-9": ["pane::ActivateItem", 8],
|
||||||
|
"alt-0": "pane::ActivateLastItem",
|
||||||
|
"ctrl-alt--": "pane::GoBack",
|
||||||
|
"ctrl-alt-_": "pane::GoForward",
|
||||||
|
"ctrl-shift-t": "pane::ReopenClosedItem",
|
||||||
|
"f3": "search::SelectNextMatch",
|
||||||
|
"shift-f3": "search::SelectPrevMatch",
|
||||||
|
"ctrl-shift-f": "project_search::ToggleFocus"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"context": "Workspace",
|
"context": "Workspace",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
// Change the default action on `menu::Confirm` by setting the parameter
|
// Change the default action on `menu::Confirm` by setting the parameter
|
||||||
// "alt-ctrl-o": ["projects::OpenRecent", { "create_new_window": true }],
|
// "alt-ctrl-o": ["projects::OpenRecent", { "create_new_window": true }],
|
||||||
"alt-open": "projects::OpenRecent",
|
|
||||||
"alt-ctrl-o": "projects::OpenRecent",
|
"alt-ctrl-o": "projects::OpenRecent",
|
||||||
"alt-shift-open": "projects::OpenRemote",
|
|
||||||
"alt-ctrl-shift-o": "projects::OpenRemote",
|
|
||||||
"alt-ctrl-shift-b": "branches::OpenRecent",
|
"alt-ctrl-shift-b": "branches::OpenRecent",
|
||||||
"ctrl-~": "workspace::NewTerminal",
|
"ctrl-~": "workspace::NewTerminal",
|
||||||
"save": "workspace::Save",
|
|
||||||
"ctrl-s": "workspace::Save",
|
"ctrl-s": "workspace::Save",
|
||||||
"ctrl-k s": "workspace::SaveWithoutFormat",
|
"ctrl-k s": "workspace::SaveWithoutFormat",
|
||||||
"shift-save": "workspace::SaveAs",
|
|
||||||
"ctrl-shift-s": "workspace::SaveAs",
|
"ctrl-shift-s": "workspace::SaveAs",
|
||||||
"new": "workspace::NewFile",
|
|
||||||
"ctrl-n": "workspace::NewFile",
|
"ctrl-n": "workspace::NewFile",
|
||||||
"shift-new": "workspace::NewWindow",
|
|
||||||
"ctrl-shift-n": "workspace::NewWindow",
|
"ctrl-shift-n": "workspace::NewWindow",
|
||||||
"ctrl-`": "terminal_panel::ToggleFocus",
|
"ctrl-`": "terminal_panel::ToggleFocus",
|
||||||
"alt-1": ["workspace::ActivatePane", 0],
|
"alt-1": ["workspace::ActivatePane", 0],
|
||||||
@@ -417,10 +391,8 @@
|
|||||||
"ctrl-b": "workspace::ToggleLeftDock",
|
"ctrl-b": "workspace::ToggleLeftDock",
|
||||||
"ctrl-j": "workspace::ToggleBottomDock",
|
"ctrl-j": "workspace::ToggleBottomDock",
|
||||||
"ctrl-alt-y": "workspace::CloseAllDocks",
|
"ctrl-alt-y": "workspace::CloseAllDocks",
|
||||||
"shift-find": "pane::DeploySearch",
|
|
||||||
"ctrl-shift-f": "pane::DeploySearch",
|
"ctrl-shift-f": "pane::DeploySearch",
|
||||||
"ctrl-shift-h": ["pane::DeploySearch", { "replace_enabled": true }],
|
"ctrl-shift-h": ["pane::DeploySearch", { "replace_enabled": true }],
|
||||||
"ctrl-shift-t": "pane::ReopenClosedItem",
|
|
||||||
"ctrl-k ctrl-s": "zed::OpenKeymap",
|
"ctrl-k ctrl-s": "zed::OpenKeymap",
|
||||||
"ctrl-k ctrl-t": "theme_selector::Toggle",
|
"ctrl-k ctrl-t": "theme_selector::Toggle",
|
||||||
"ctrl-t": "project_symbols::Toggle",
|
"ctrl-t": "project_symbols::Toggle",
|
||||||
@@ -428,46 +400,35 @@
|
|||||||
"ctrl-tab": "tab_switcher::Toggle",
|
"ctrl-tab": "tab_switcher::Toggle",
|
||||||
"ctrl-shift-tab": ["tab_switcher::Toggle", { "select_last": true }],
|
"ctrl-shift-tab": ["tab_switcher::Toggle", { "select_last": true }],
|
||||||
"ctrl-e": "file_finder::Toggle",
|
"ctrl-e": "file_finder::Toggle",
|
||||||
"f1": "command_palette::Toggle",
|
|
||||||
"ctrl-shift-p": "command_palette::Toggle",
|
"ctrl-shift-p": "command_palette::Toggle",
|
||||||
|
"f1": "command_palette::Toggle",
|
||||||
"ctrl-shift-m": "diagnostics::Deploy",
|
"ctrl-shift-m": "diagnostics::Deploy",
|
||||||
"ctrl-shift-e": "project_panel::ToggleFocus",
|
"ctrl-shift-e": "project_panel::ToggleFocus",
|
||||||
"ctrl-shift-b": "outline_panel::ToggleFocus",
|
"ctrl-shift-b": "outline_panel::ToggleFocus",
|
||||||
"ctrl-shift-g": "git_panel::ToggleFocus",
|
|
||||||
"ctrl-?": "assistant::ToggleFocus",
|
"ctrl-?": "assistant::ToggleFocus",
|
||||||
"alt-save": "workspace::SaveAll",
|
|
||||||
"ctrl-alt-s": "workspace::SaveAll",
|
"ctrl-alt-s": "workspace::SaveAll",
|
||||||
"ctrl-k m": "language_selector::Toggle",
|
"ctrl-k m": "language_selector::Toggle",
|
||||||
"escape": "workspace::Unfollow",
|
"escape": "workspace::Unfollow",
|
||||||
"ctrl-k ctrl-left": "workspace::ActivatePaneLeft",
|
"ctrl-k ctrl-left": ["workspace::ActivatePaneInDirection", "Left"],
|
||||||
"ctrl-k ctrl-right": "workspace::ActivatePaneRight",
|
"ctrl-k ctrl-right": ["workspace::ActivatePaneInDirection", "Right"],
|
||||||
"ctrl-k ctrl-up": "workspace::ActivatePaneUp",
|
"ctrl-k ctrl-up": ["workspace::ActivatePaneInDirection", "Up"],
|
||||||
"ctrl-k ctrl-down": "workspace::ActivatePaneDown",
|
"ctrl-k ctrl-down": ["workspace::ActivatePaneInDirection", "Down"],
|
||||||
"ctrl-k shift-left": "workspace::SwapPaneLeft",
|
"ctrl-k shift-left": ["workspace::SwapPaneInDirection", "Left"],
|
||||||
"ctrl-k shift-right": "workspace::SwapPaneRight",
|
"ctrl-k shift-right": ["workspace::SwapPaneInDirection", "Right"],
|
||||||
"ctrl-k shift-up": "workspace::SwapPaneUp",
|
"ctrl-k shift-up": ["workspace::SwapPaneInDirection", "Up"],
|
||||||
"ctrl-k shift-down": "workspace::SwapPaneDown",
|
"ctrl-k shift-down": ["workspace::SwapPaneInDirection", "Down"],
|
||||||
"ctrl-shift-x": "zed::Extensions",
|
"ctrl-shift-x": "zed::Extensions",
|
||||||
"ctrl-shift-r": "task::Rerun",
|
"ctrl-shift-r": "task::Rerun",
|
||||||
"ctrl-alt-r": "task::Rerun",
|
"ctrl-alt-r": "task::Rerun",
|
||||||
"alt-t": "task::Rerun",
|
"alt-t": "task::Rerun",
|
||||||
"alt-shift-t": "task::Spawn",
|
"alt-shift-t": "task::Spawn"
|
||||||
"alt-shift-r": ["task::Spawn", { "reveal_target": "center" }]
|
|
||||||
// also possible to spawn tasks by name:
|
|
||||||
// "foo-bar": ["task::Spawn", { "task_name": "MyTask", "reveal_target": "dock" }]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"context": "ApplicationMenu",
|
|
||||||
"bindings": {
|
|
||||||
"left": "app_menu::ActivateMenuLeft",
|
|
||||||
"right": "app_menu::ActivateMenuRight"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// Bindings from Sublime Text
|
// Bindings from Sublime Text
|
||||||
{
|
{
|
||||||
"context": "Editor",
|
"context": "Editor",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
|
"ctrl-shift-k": "editor::DeleteLine",
|
||||||
"ctrl-shift-d": "editor::DuplicateLineDown",
|
"ctrl-shift-d": "editor::DuplicateLineDown",
|
||||||
"ctrl-shift-j": "editor::JoinLines",
|
"ctrl-shift-j": "editor::JoinLines",
|
||||||
"ctrl-alt-backspace": "editor::DeleteToPreviousSubwordStart",
|
"ctrl-alt-backspace": "editor::DeleteToPreviousSubwordStart",
|
||||||
@@ -475,7 +436,9 @@
|
|||||||
"ctrl-alt-delete": "editor::DeleteToNextSubwordEnd",
|
"ctrl-alt-delete": "editor::DeleteToNextSubwordEnd",
|
||||||
"ctrl-alt-d": "editor::DeleteToNextSubwordEnd",
|
"ctrl-alt-d": "editor::DeleteToNextSubwordEnd",
|
||||||
"ctrl-alt-left": "editor::MoveToPreviousSubwordStart",
|
"ctrl-alt-left": "editor::MoveToPreviousSubwordStart",
|
||||||
|
// "ctrl-alt-b": "editor::MoveToPreviousSubwordStart",
|
||||||
"ctrl-alt-right": "editor::MoveToNextSubwordEnd",
|
"ctrl-alt-right": "editor::MoveToNextSubwordEnd",
|
||||||
|
"ctrl-alt-f": "editor::MoveToNextSubwordEnd",
|
||||||
"ctrl-alt-shift-left": "editor::SelectToPreviousSubwordStart",
|
"ctrl-alt-shift-left": "editor::SelectToPreviousSubwordStart",
|
||||||
"ctrl-alt-shift-b": "editor::SelectToPreviousSubwordStart",
|
"ctrl-alt-shift-b": "editor::SelectToPreviousSubwordStart",
|
||||||
"ctrl-alt-shift-right": "editor::SelectToNextSubwordEnd",
|
"ctrl-alt-shift-right": "editor::SelectToNextSubwordEnd",
|
||||||
@@ -506,23 +469,10 @@
|
|||||||
"tab": "editor::ComposeCompletion"
|
"tab": "editor::ComposeCompletion"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// Bindings for accepting edit predictions
|
|
||||||
//
|
|
||||||
// alt-l is provided as an alternative to tab/alt-tab. and will be displayed in the UI. This is
|
|
||||||
// because alt-tab may not be available, as it is often used for window switching.
|
|
||||||
{
|
{
|
||||||
"context": "Editor && edit_prediction",
|
"context": "Editor && inline_completion && !showing_completions",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"alt-tab": "editor::AcceptEditPrediction",
|
"tab": "editor::AcceptInlineCompletion"
|
||||||
"alt-l": "editor::AcceptEditPrediction",
|
|
||||||
"tab": "editor::AcceptEditPrediction"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"context": "Editor && edit_prediction_conflict",
|
|
||||||
"bindings": {
|
|
||||||
"alt-tab": "editor::AcceptEditPrediction",
|
|
||||||
"alt-l": "editor::AcceptEditPrediction"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -534,10 +484,10 @@
|
|||||||
{
|
{
|
||||||
"context": "Editor && (showing_code_actions || showing_completions)",
|
"context": "Editor && (showing_code_actions || showing_completions)",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"ctrl-p": "editor::ContextMenuPrevious",
|
"up": "editor::ContextMenuPrev",
|
||||||
"up": "editor::ContextMenuPrevious",
|
"ctrl-p": "editor::ContextMenuPrev",
|
||||||
"ctrl-n": "editor::ContextMenuNext",
|
|
||||||
"down": "editor::ContextMenuNext",
|
"down": "editor::ContextMenuNext",
|
||||||
|
"ctrl-n": "editor::ContextMenuNext",
|
||||||
"pageup": "editor::ContextMenuFirst",
|
"pageup": "editor::ContextMenuFirst",
|
||||||
"pagedown": "editor::ContextMenuLast"
|
"pagedown": "editor::ContextMenuLast"
|
||||||
}
|
}
|
||||||
@@ -546,7 +496,8 @@
|
|||||||
{
|
{
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"ctrl-alt-shift-f": "workspace::FollowNextCollaborator",
|
"ctrl-alt-shift-f": "workspace::FollowNextCollaborator",
|
||||||
"ctrl-alt-i": "zed::DebugElements"
|
"ctrl-alt-i": "zed::DebugElements",
|
||||||
|
"ctrl-:": "editor::ToggleInlayHints"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -560,12 +511,10 @@
|
|||||||
"bindings": {
|
"bindings": {
|
||||||
"alt-enter": "editor::OpenExcerpts",
|
"alt-enter": "editor::OpenExcerpts",
|
||||||
"shift-enter": "editor::ExpandExcerpts",
|
"shift-enter": "editor::ExpandExcerpts",
|
||||||
"ctrl-alt-enter": "editor::OpenExcerptsSplit",
|
"ctrl-k enter": "editor::OpenExcerptsSplit",
|
||||||
"ctrl-shift-e": "pane::RevealInProjectPanel",
|
|
||||||
"ctrl-f8": "editor::GoToHunk",
|
"ctrl-f8": "editor::GoToHunk",
|
||||||
"ctrl-shift-f8": "editor::GoToPreviousHunk",
|
"ctrl-shift-f8": "editor::GoToPrevHunk",
|
||||||
"ctrl-enter": "assistant::InlineAssist",
|
"ctrl-enter": "assistant::InlineAssist"
|
||||||
"ctrl-:": "editor::ToggleInlayHints"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -588,74 +537,19 @@
|
|||||||
"ctrl-enter": "assistant::Assist",
|
"ctrl-enter": "assistant::Assist",
|
||||||
"ctrl-shift-enter": "assistant::Edit",
|
"ctrl-shift-enter": "assistant::Edit",
|
||||||
"ctrl-s": "workspace::Save",
|
"ctrl-s": "workspace::Save",
|
||||||
"save": "workspace::Save",
|
|
||||||
"ctrl->": "assistant::QuoteSelection",
|
"ctrl->": "assistant::QuoteSelection",
|
||||||
"ctrl-<": "assistant::InsertIntoEditor",
|
"ctrl-<": "assistant::InsertIntoEditor",
|
||||||
"ctrl-alt-/": "assistant::ToggleModelSelector",
|
|
||||||
"shift-enter": "assistant::Split",
|
"shift-enter": "assistant::Split",
|
||||||
"ctrl-r": "assistant::CycleMessageRole",
|
"ctrl-r": "assistant::CycleMessageRole",
|
||||||
"enter": "assistant::ConfirmCommand",
|
"enter": "assistant::ConfirmCommand",
|
||||||
"alt-enter": "editor::Newline"
|
"alt-enter": "editor::Newline"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"context": "AssistantPanel2",
|
|
||||||
"bindings": {
|
|
||||||
"ctrl-n": "assistant2::NewThread",
|
|
||||||
"new": "assistant2::NewThread",
|
|
||||||
"ctrl-shift-h": "assistant2::OpenHistory",
|
|
||||||
"ctrl-alt-/": "assistant::ToggleModelSelector",
|
|
||||||
"ctrl-shift-a": "assistant2::ToggleContextPicker",
|
|
||||||
"ctrl-e": "assistant2::ChatMode",
|
|
||||||
"ctrl-alt-e": "assistant2::RemoveAllContext"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"context": "AssistantPanel2 && prompt_editor",
|
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
|
||||||
"cmd-n": "assistant2::NewPromptEditor",
|
|
||||||
"cmd-alt-t": "assistant2::NewThread"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"context": "MessageEditor > Editor",
|
|
||||||
"bindings": {
|
|
||||||
"enter": "assistant2::Chat"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"context": "EditMessageEditor > Editor",
|
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
|
||||||
"escape": "menu::Cancel",
|
|
||||||
"enter": "menu::Confirm",
|
|
||||||
"alt-enter": "editor::Newline"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"context": "ContextStrip",
|
|
||||||
"bindings": {
|
|
||||||
"up": "assistant2::FocusUp",
|
|
||||||
"right": "assistant2::FocusRight",
|
|
||||||
"left": "assistant2::FocusLeft",
|
|
||||||
"down": "assistant2::FocusDown",
|
|
||||||
"backspace": "assistant2::RemoveFocusedContext",
|
|
||||||
"enter": "assistant2::AcceptSuggestedContext"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"context": "ThreadHistory",
|
|
||||||
"bindings": {
|
|
||||||
"backspace": "assistant2::RemoveSelectedThread"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"context": "PromptEditor",
|
"context": "PromptEditor",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"ctrl-[": "assistant::CyclePreviousInlineAssist",
|
"ctrl-[": "assistant::CyclePreviousInlineAssist",
|
||||||
"ctrl-]": "assistant::CycleNextInlineAssist",
|
"ctrl-]": "assistant::CycleNextInlineAssist"
|
||||||
"ctrl-alt-e": "assistant2::RemoveAllContext"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -670,16 +564,14 @@
|
|||||||
"escape": "menu::Cancel",
|
"escape": "menu::Cancel",
|
||||||
"left": "outline_panel::CollapseSelectedEntry",
|
"left": "outline_panel::CollapseSelectedEntry",
|
||||||
"right": "outline_panel::ExpandSelectedEntry",
|
"right": "outline_panel::ExpandSelectedEntry",
|
||||||
"alt-copy": "outline_panel::CopyPath",
|
|
||||||
"ctrl-alt-c": "outline_panel::CopyPath",
|
"ctrl-alt-c": "outline_panel::CopyPath",
|
||||||
"alt-shift-copy": "workspace::CopyRelativePath",
|
"alt-ctrl-shift-c": "outline_panel::CopyRelativePath",
|
||||||
"alt-ctrl-shift-c": "workspace::CopyRelativePath",
|
|
||||||
"alt-ctrl-r": "outline_panel::RevealInFileManager",
|
"alt-ctrl-r": "outline_panel::RevealInFileManager",
|
||||||
"space": "outline_panel::Open",
|
"space": "outline_panel::Open",
|
||||||
"shift-down": "menu::SelectNext",
|
"shift-down": "menu::SelectNext",
|
||||||
"shift-up": "menu::SelectPrevious",
|
"shift-up": "menu::SelectPrev",
|
||||||
"alt-enter": "editor::OpenExcerpts",
|
"alt-enter": "editor::OpenExcerpts",
|
||||||
"ctrl-alt-enter": "editor::OpenExcerptsSplit"
|
"ctrl-k enter": "editor::OpenExcerptsSplit"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -687,91 +579,42 @@
|
|||||||
"bindings": {
|
"bindings": {
|
||||||
"left": "project_panel::CollapseSelectedEntry",
|
"left": "project_panel::CollapseSelectedEntry",
|
||||||
"right": "project_panel::ExpandSelectedEntry",
|
"right": "project_panel::ExpandSelectedEntry",
|
||||||
"new": "project_panel::NewFile",
|
|
||||||
"ctrl-n": "project_panel::NewFile",
|
"ctrl-n": "project_panel::NewFile",
|
||||||
"alt-new": "project_panel::NewDirectory",
|
|
||||||
"alt-ctrl-n": "project_panel::NewDirectory",
|
"alt-ctrl-n": "project_panel::NewDirectory",
|
||||||
"cut": "project_panel::Cut",
|
|
||||||
"ctrl-x": "project_panel::Cut",
|
|
||||||
"copy": "project_panel::Copy",
|
|
||||||
"ctrl-insert": "project_panel::Copy",
|
"ctrl-insert": "project_panel::Copy",
|
||||||
"ctrl-c": "project_panel::Copy",
|
|
||||||
"paste": "project_panel::Paste",
|
|
||||||
"shift-insert": "project_panel::Paste",
|
"shift-insert": "project_panel::Paste",
|
||||||
"ctrl-v": "project_panel::Paste",
|
|
||||||
"alt-copy": "project_panel::CopyPath",
|
|
||||||
"ctrl-alt-c": "project_panel::CopyPath",
|
"ctrl-alt-c": "project_panel::CopyPath",
|
||||||
"alt-shift-copy": "workspace::CopyRelativePath",
|
"alt-ctrl-shift-c": "project_panel::CopyRelativePath",
|
||||||
"alt-ctrl-shift-c": "workspace::CopyRelativePath",
|
|
||||||
"enter": "project_panel::Rename",
|
"enter": "project_panel::Rename",
|
||||||
"f2": "project_panel::Rename",
|
|
||||||
"backspace": ["project_panel::Trash", { "skip_prompt": false }],
|
"backspace": ["project_panel::Trash", { "skip_prompt": false }],
|
||||||
"delete": ["project_panel::Trash", { "skip_prompt": false }],
|
|
||||||
"shift-delete": ["project_panel::Delete", { "skip_prompt": false }],
|
"shift-delete": ["project_panel::Delete", { "skip_prompt": false }],
|
||||||
"ctrl-backspace": ["project_panel::Delete", { "skip_prompt": false }],
|
"ctrl-backspace": ["project_panel::Delete", { "skip_prompt": false }],
|
||||||
"ctrl-delete": ["project_panel::Delete", { "skip_prompt": false }],
|
"ctrl-delete": ["project_panel::Delete", { "skip_prompt": false }],
|
||||||
"alt-ctrl-r": "project_panel::RevealInFileManager",
|
"alt-ctrl-r": "project_panel::RevealInFileManager",
|
||||||
"ctrl-shift-enter": "project_panel::OpenWithSystem",
|
"ctrl-shift-enter": "project_panel::OpenWithSystem",
|
||||||
"shift-find": "project_panel::NewSearchInDirectory",
|
|
||||||
"ctrl-shift-f": "project_panel::NewSearchInDirectory",
|
"ctrl-shift-f": "project_panel::NewSearchInDirectory",
|
||||||
"shift-down": "menu::SelectNext",
|
"shift-down": "menu::SelectNext",
|
||||||
"shift-up": "menu::SelectPrevious",
|
"shift-up": "menu::SelectPrev",
|
||||||
"escape": "menu::Cancel"
|
"escape": "menu::Cancel"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
// Separate block with same context so these display in context menus
|
||||||
|
"context": "ProjectPanel",
|
||||||
|
"bindings": {
|
||||||
|
"f2": "project_panel::Rename",
|
||||||
|
"ctrl-c": "project_panel::Copy",
|
||||||
|
"ctrl-x": "project_panel::Cut",
|
||||||
|
"ctrl-v": "project_panel::Paste",
|
||||||
|
"delete": ["project_panel::Trash", { "skip_prompt": false }]
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"context": "ProjectPanel && not_editing",
|
"context": "ProjectPanel && not_editing",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"space": "project_panel::Open"
|
"space": "project_panel::Open"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"context": "GitPanel && ChangesList",
|
|
||||||
"bindings": {
|
|
||||||
"up": "menu::SelectPrevious",
|
|
||||||
"down": "menu::SelectNext",
|
|
||||||
"enter": "menu::Confirm",
|
|
||||||
"space": "git::ToggleStaged",
|
|
||||||
"ctrl-space": "git::StageAll",
|
|
||||||
"ctrl-shift-space": "git::UnstageAll",
|
|
||||||
"tab": "git_panel::FocusEditor",
|
|
||||||
"shift-tab": "git_panel::FocusEditor",
|
|
||||||
"escape": "git_panel::ToggleFocus",
|
|
||||||
"ctrl-enter": "git::Commit",
|
|
||||||
"alt-enter": "menu::SecondaryConfirm"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"context": "GitCommit > Editor",
|
|
||||||
"bindings": {
|
|
||||||
"enter": "editor::Newline",
|
|
||||||
"ctrl-enter": "git::Commit",
|
|
||||||
"alt-l": "git::GenerateCommitMessage"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"context": "GitDiff > Editor",
|
|
||||||
"bindings": {
|
|
||||||
"ctrl-enter": "git::Commit"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"context": "AskPass > Editor",
|
|
||||||
"bindings": {
|
|
||||||
"enter": "menu::Confirm"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"context": "GitPanel > Editor",
|
|
||||||
"bindings": {
|
|
||||||
"escape": "git_panel::FocusChanges",
|
|
||||||
"tab": "git_panel::FocusChanges",
|
|
||||||
"shift-tab": "git_panel::FocusChanges",
|
|
||||||
"ctrl-enter": "git::Commit",
|
|
||||||
"alt-up": "git_panel::FocusChanges",
|
|
||||||
"alt-l": "git::GenerateCommitMessage"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"context": "CollabPanel && not_editing",
|
"context": "CollabPanel && not_editing",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
@@ -794,9 +637,6 @@
|
|||||||
{
|
{
|
||||||
"context": "Picker > Editor",
|
"context": "Picker > Editor",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"escape": "menu::Cancel",
|
|
||||||
"up": "menu::SelectPrevious",
|
|
||||||
"down": "menu::SelectNext",
|
|
||||||
"tab": "picker::ConfirmCompletion",
|
"tab": "picker::ConfirmCompletion",
|
||||||
"alt-enter": ["picker::ConfirmInput", { "secondary": false }]
|
"alt-enter": ["picker::ConfirmInput", { "secondary": false }]
|
||||||
}
|
}
|
||||||
@@ -808,21 +648,31 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "FileFinder || (FileFinder > Picker > Editor) || (FileFinder > Picker > menu)",
|
"context": "FileFinder && !menu_open",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"ctrl-shift-p": "file_finder::SelectPrevious",
|
"ctrl-shift-p": "file_finder::SelectPrev",
|
||||||
|
"ctrl": "file_finder::OpenMenu",
|
||||||
"ctrl-j": "pane::SplitDown",
|
"ctrl-j": "pane::SplitDown",
|
||||||
"ctrl-k": "pane::SplitUp",
|
"ctrl-k": "pane::SplitUp",
|
||||||
"ctrl-h": "pane::SplitLeft",
|
"ctrl-h": "pane::SplitLeft",
|
||||||
"ctrl-l": "pane::SplitRight"
|
"ctrl-l": "pane::SplitRight"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"context": "FileFinder && menu_open",
|
||||||
|
"bindings": {
|
||||||
|
"j": "pane::SplitDown",
|
||||||
|
"k": "pane::SplitUp",
|
||||||
|
"h": "pane::SplitLeft",
|
||||||
|
"l": "pane::SplitRight"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"context": "TabSwitcher",
|
"context": "TabSwitcher",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"ctrl-shift-tab": "menu::SelectPrevious",
|
"ctrl-up": "menu::SelectPrev",
|
||||||
"ctrl-up": "menu::SelectPrevious",
|
|
||||||
"ctrl-down": "menu::SelectNext",
|
"ctrl-down": "menu::SelectNext",
|
||||||
|
"ctrl-shift-tab": "menu::SelectPrev",
|
||||||
"ctrl-backspace": "tab_switcher::CloseSelectedItem"
|
"ctrl-backspace": "tab_switcher::CloseSelectedItem"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -830,19 +680,12 @@
|
|||||||
"context": "Terminal",
|
"context": "Terminal",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"ctrl-alt-space": "terminal::ShowCharacterPalette",
|
"ctrl-alt-space": "terminal::ShowCharacterPalette",
|
||||||
"copy": "terminal::Copy",
|
|
||||||
"ctrl-insert": "terminal::Copy",
|
"ctrl-insert": "terminal::Copy",
|
||||||
"ctrl-shift-c": "terminal::Copy",
|
|
||||||
"paste": "terminal::Paste",
|
|
||||||
"shift-insert": "terminal::Paste",
|
"shift-insert": "terminal::Paste",
|
||||||
"ctrl-shift-v": "terminal::Paste",
|
|
||||||
"ctrl-enter": "assistant::InlineAssist",
|
"ctrl-enter": "assistant::InlineAssist",
|
||||||
"alt-b": ["terminal::SendText", "\u001bb"],
|
|
||||||
"alt-f": ["terminal::SendText", "\u001bf"],
|
|
||||||
// Overrides for conflicting keybindings
|
// Overrides for conflicting keybindings
|
||||||
"ctrl-w": ["terminal::SendKeystroke", "ctrl-w"],
|
"ctrl-w": ["terminal::SendKeystroke", "ctrl-w"],
|
||||||
"ctrl-shift-a": "editor::SelectAll",
|
"ctrl-shift-a": "editor::SelectAll",
|
||||||
"find": "buffer_search::Deploy",
|
|
||||||
"ctrl-shift-f": "buffer_search::Deploy",
|
"ctrl-shift-f": "buffer_search::Deploy",
|
||||||
"ctrl-shift-l": "terminal::Clear",
|
"ctrl-shift-l": "terminal::Clear",
|
||||||
"ctrl-shift-w": "pane::CloseActiveItem",
|
"ctrl-shift-w": "pane::CloseActiveItem",
|
||||||
@@ -853,7 +696,6 @@
|
|||||||
"pagedown": ["terminal::SendKeystroke", "pagedown"],
|
"pagedown": ["terminal::SendKeystroke", "pagedown"],
|
||||||
"escape": ["terminal::SendKeystroke", "escape"],
|
"escape": ["terminal::SendKeystroke", "escape"],
|
||||||
"enter": ["terminal::SendKeystroke", "enter"],
|
"enter": ["terminal::SendKeystroke", "enter"],
|
||||||
"ctrl-b": ["terminal::SendKeystroke", "ctrl-b"],
|
|
||||||
"ctrl-c": ["terminal::SendKeystroke", "ctrl-c"],
|
"ctrl-c": ["terminal::SendKeystroke", "ctrl-c"],
|
||||||
"shift-pageup": "terminal::ScrollPageUp",
|
"shift-pageup": "terminal::ScrollPageUp",
|
||||||
"shift-pagedown": "terminal::ScrollPageDown",
|
"shift-pagedown": "terminal::ScrollPageDown",
|
||||||
@@ -865,9 +707,11 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "ZedPredictModal",
|
// Separate block with same context so these display in context menus
|
||||||
|
"context": "Terminal",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"escape": "menu::Cancel"
|
"ctrl-shift-c": "terminal::Copy",
|
||||||
|
"ctrl-shift-v": "terminal::Paste"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -1,76 +1,58 @@
|
|||||||
[
|
[
|
||||||
// Moved before Standard macOS bindings so that `cmd-w` is not the last binding for
|
|
||||||
// `workspace::CloseWindow` and displayed/intercepted by macOS
|
|
||||||
{
|
|
||||||
"context": "PromptLibrary",
|
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
|
||||||
"cmd-n": "prompt_library::NewPrompt",
|
|
||||||
"cmd-shift-s": "prompt_library::ToggleDefaultPrompt",
|
|
||||||
"cmd-w": "workspace::CloseWindow"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
// Standard macOS bindings
|
// Standard macOS bindings
|
||||||
{
|
{
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
|
"up": "menu::SelectPrev",
|
||||||
|
"shift-tab": "menu::SelectPrev",
|
||||||
"home": "menu::SelectFirst",
|
"home": "menu::SelectFirst",
|
||||||
"shift-pageup": "menu::SelectFirst",
|
|
||||||
"pageup": "menu::SelectFirst",
|
"pageup": "menu::SelectFirst",
|
||||||
"cmd-up": "menu::SelectFirst",
|
"shift-pageup": "menu::SelectFirst",
|
||||||
"end": "menu::SelectLast",
|
"ctrl-p": "menu::SelectPrev",
|
||||||
"shift-pagedown": "menu::SelectLast",
|
|
||||||
"pagedown": "menu::SelectLast",
|
|
||||||
"cmd-down": "menu::SelectLast",
|
|
||||||
"tab": "menu::SelectNext",
|
|
||||||
"ctrl-n": "menu::SelectNext",
|
|
||||||
"down": "menu::SelectNext",
|
"down": "menu::SelectNext",
|
||||||
"shift-tab": "menu::SelectPrevious",
|
"tab": "menu::SelectNext",
|
||||||
"ctrl-p": "menu::SelectPrevious",
|
"end": "menu::SelectLast",
|
||||||
"up": "menu::SelectPrevious",
|
"pagedown": "menu::SelectLast",
|
||||||
|
"shift-pagedown": "menu::SelectFirst",
|
||||||
|
"ctrl-n": "menu::SelectNext",
|
||||||
|
"cmd-up": "menu::SelectFirst",
|
||||||
|
"cmd-down": "menu::SelectLast",
|
||||||
"enter": "menu::Confirm",
|
"enter": "menu::Confirm",
|
||||||
"ctrl-enter": "menu::SecondaryConfirm",
|
"ctrl-enter": "menu::SecondaryConfirm",
|
||||||
"cmd-enter": "menu::SecondaryConfirm",
|
"cmd-enter": "menu::SecondaryConfirm",
|
||||||
|
"escape": "menu::Cancel",
|
||||||
|
"cmd-escape": "menu::Cancel",
|
||||||
"ctrl-escape": "menu::Cancel",
|
"ctrl-escape": "menu::Cancel",
|
||||||
"ctrl-c": "menu::Cancel",
|
"ctrl-c": "menu::Cancel",
|
||||||
"escape": "menu::Cancel",
|
|
||||||
"alt-shift-enter": "menu::Restart",
|
|
||||||
"cmd-shift-w": "workspace::CloseWindow",
|
"cmd-shift-w": "workspace::CloseWindow",
|
||||||
"shift-escape": "workspace::ToggleZoom",
|
"shift-escape": "workspace::ToggleZoom",
|
||||||
"cmd-escape": "menu::Cancel",
|
|
||||||
"cmd-o": "workspace::Open",
|
"cmd-o": "workspace::Open",
|
||||||
"cmd-=": ["zed::IncreaseBufferFontSize", { "persist": false }],
|
"cmd-=": "zed::IncreaseBufferFontSize",
|
||||||
"cmd-+": ["zed::IncreaseBufferFontSize", { "persist": false }],
|
"cmd-+": "zed::IncreaseBufferFontSize",
|
||||||
"cmd--": ["zed::DecreaseBufferFontSize", { "persist": false }],
|
"cmd--": "zed::DecreaseBufferFontSize",
|
||||||
"cmd-0": ["zed::ResetBufferFontSize", { "persist": false }],
|
"cmd-0": "zed::ResetBufferFontSize",
|
||||||
"cmd-,": "zed::OpenSettings",
|
"cmd-,": "zed::OpenSettings",
|
||||||
"cmd-q": "zed::Quit",
|
"cmd-q": "zed::Quit",
|
||||||
"cmd-h": "zed::Hide",
|
"cmd-h": "zed::Hide",
|
||||||
"alt-cmd-h": "zed::HideOthers",
|
"alt-cmd-h": "zed::HideOthers",
|
||||||
"cmd-m": "zed::Minimize",
|
"cmd-m": "zed::Minimize",
|
||||||
"fn-f": "zed::ToggleFullScreen",
|
"ctrl-cmd-f": "zed::ToggleFullScreen"
|
||||||
"ctrl-cmd-f": "zed::ToggleFullScreen",
|
|
||||||
"ctrl-cmd-z": "edit_prediction::RateCompletions",
|
|
||||||
"ctrl-cmd-i": "edit_prediction::ToggleMenu"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "Editor",
|
"context": "Editor",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"escape": "editor::Cancel",
|
"escape": "editor::Cancel",
|
||||||
|
"backspace": "editor::Backspace",
|
||||||
"shift-backspace": "editor::Backspace",
|
"shift-backspace": "editor::Backspace",
|
||||||
"ctrl-h": "editor::Backspace",
|
"ctrl-h": "editor::Backspace",
|
||||||
"backspace": "editor::Backspace",
|
|
||||||
"ctrl-d": "editor::Delete",
|
|
||||||
"delete": "editor::Delete",
|
"delete": "editor::Delete",
|
||||||
|
"ctrl-d": "editor::Delete",
|
||||||
"tab": "editor::Tab",
|
"tab": "editor::Tab",
|
||||||
"shift-tab": "editor::Backtab",
|
"shift-tab": "editor::TabPrev",
|
||||||
|
"ctrl-k": "editor::CutToEndOfLine",
|
||||||
"ctrl-t": "editor::Transpose",
|
"ctrl-t": "editor::Transpose",
|
||||||
"ctrl-k": "editor::KillRingCut",
|
|
||||||
"ctrl-y": "editor::KillRingYank",
|
|
||||||
"cmd-k cmd-q": "editor::Rewrap",
|
|
||||||
"cmd-k q": "editor::Rewrap",
|
"cmd-k q": "editor::Rewrap",
|
||||||
|
"cmd-k cmd-q": "editor::Rewrap",
|
||||||
"cmd-backspace": "editor::DeleteToBeginningOfLine",
|
"cmd-backspace": "editor::DeleteToBeginningOfLine",
|
||||||
"cmd-delete": "editor::DeleteToEndOfLine",
|
"cmd-delete": "editor::DeleteToEndOfLine",
|
||||||
"alt-backspace": "editor::DeleteToPreviousWordStart",
|
"alt-backspace": "editor::DeleteToPreviousWordStart",
|
||||||
@@ -87,31 +69,29 @@
|
|||||||
"shift-pageup": "editor::SelectPageUp",
|
"shift-pageup": "editor::SelectPageUp",
|
||||||
"cmd-pageup": "editor::PageUp",
|
"cmd-pageup": "editor::PageUp",
|
||||||
"ctrl-pageup": "editor::LineUp",
|
"ctrl-pageup": "editor::LineUp",
|
||||||
|
"home": "editor::MoveToBeginningOfLine",
|
||||||
"down": "editor::MoveDown",
|
"down": "editor::MoveDown",
|
||||||
"ctrl-down": "editor::MoveToEndOfParagraph",
|
"ctrl-down": "editor::MoveToEndOfParagraph",
|
||||||
"pagedown": "editor::MovePageDown",
|
"pagedown": "editor::MovePageDown",
|
||||||
"shift-pagedown": "editor::SelectPageDown",
|
"shift-pagedown": "editor::SelectPageDown",
|
||||||
"cmd-pagedown": "editor::PageDown",
|
"cmd-pagedown": "editor::PageDown",
|
||||||
"ctrl-pagedown": "editor::LineDown",
|
"ctrl-pagedown": "editor::LineDown",
|
||||||
|
"end": "editor::MoveToEndOfLine",
|
||||||
|
"left": "editor::MoveLeft",
|
||||||
|
"right": "editor::MoveRight",
|
||||||
"ctrl-p": "editor::MoveUp",
|
"ctrl-p": "editor::MoveUp",
|
||||||
"ctrl-n": "editor::MoveDown",
|
"ctrl-n": "editor::MoveDown",
|
||||||
"ctrl-b": "editor::MoveLeft",
|
"ctrl-b": "editor::MoveLeft",
|
||||||
"left": "editor::MoveLeft",
|
|
||||||
"ctrl-f": "editor::MoveRight",
|
"ctrl-f": "editor::MoveRight",
|
||||||
"right": "editor::MoveRight",
|
|
||||||
"ctrl-l": "editor::ScrollCursorCenter",
|
"ctrl-l": "editor::ScrollCursorCenter",
|
||||||
"alt-left": "editor::MoveToPreviousWordStart",
|
"alt-left": "editor::MoveToPreviousWordStart",
|
||||||
"alt-right": "editor::MoveToNextWordEnd",
|
"alt-right": "editor::MoveToNextWordEnd",
|
||||||
"cmd-left": ["editor::MoveToBeginningOfLine", { "stop_at_soft_wraps": true, "stop_at_indent": true }],
|
"cmd-left": "editor::MoveToBeginningOfLine",
|
||||||
"ctrl-a": ["editor::MoveToBeginningOfLine", { "stop_at_soft_wraps": false, "stop_at_indent": true }],
|
"ctrl-a": "editor::MoveToBeginningOfLine",
|
||||||
"home": ["editor::MoveToBeginningOfLine", { "stop_at_soft_wraps": true, "stop_at_indent": true }],
|
"cmd-right": "editor::MoveToEndOfLine",
|
||||||
"cmd-right": ["editor::MoveToEndOfLine", { "stop_at_soft_wraps": true }],
|
"ctrl-e": "editor::MoveToEndOfLine",
|
||||||
"ctrl-e": ["editor::MoveToEndOfLine", { "stop_at_soft_wraps": false }],
|
|
||||||
"end": ["editor::MoveToEndOfLine", { "stop_at_soft_wraps": true }],
|
|
||||||
"cmd-up": "editor::MoveToBeginning",
|
"cmd-up": "editor::MoveToBeginning",
|
||||||
"cmd-down": "editor::MoveToEnd",
|
"cmd-down": "editor::MoveToEnd",
|
||||||
"cmd-home": "editor::MoveToBeginning", // Typed via `cmd-fn-left`
|
|
||||||
"cmd-end": "editor::MoveToEnd", // Typed via `cmd-fn-right`
|
|
||||||
"shift-up": "editor::SelectUp",
|
"shift-up": "editor::SelectUp",
|
||||||
"ctrl-shift-p": "editor::SelectUp",
|
"ctrl-shift-p": "editor::SelectUp",
|
||||||
"shift-down": "editor::SelectDown",
|
"shift-down": "editor::SelectDown",
|
||||||
@@ -129,10 +109,9 @@
|
|||||||
"cmd-a": "editor::SelectAll",
|
"cmd-a": "editor::SelectAll",
|
||||||
"cmd-l": "editor::SelectLine",
|
"cmd-l": "editor::SelectLine",
|
||||||
"cmd-shift-i": "editor::Format",
|
"cmd-shift-i": "editor::Format",
|
||||||
"alt-shift-o": "editor::OrganizeImports",
|
"cmd-shift-left": ["editor::SelectToBeginningOfLine", { "stop_at_soft_wraps": true }],
|
||||||
"cmd-shift-left": ["editor::SelectToBeginningOfLine", { "stop_at_soft_wraps": true, "stop_at_indent": true }],
|
"shift-home": ["editor::SelectToBeginningOfLine", { "stop_at_soft_wraps": true }],
|
||||||
"shift-home": ["editor::SelectToBeginningOfLine", { "stop_at_soft_wraps": true, "stop_at_indent": true }],
|
"ctrl-shift-a": ["editor::SelectToBeginningOfLine", { "stop_at_soft_wraps": true }],
|
||||||
"ctrl-shift-a": ["editor::SelectToBeginningOfLine", { "stop_at_soft_wraps": true, "stop_at_indent": true }],
|
|
||||||
"cmd-shift-right": ["editor::SelectToEndOfLine", { "stop_at_soft_wraps": true }],
|
"cmd-shift-right": ["editor::SelectToEndOfLine", { "stop_at_soft_wraps": true }],
|
||||||
"shift-end": ["editor::SelectToEndOfLine", { "stop_at_soft_wraps": true }],
|
"shift-end": ["editor::SelectToEndOfLine", { "stop_at_soft_wraps": true }],
|
||||||
"ctrl-shift-e": ["editor::SelectToEndOfLine", { "stop_at_soft_wraps": true }],
|
"ctrl-shift-e": ["editor::SelectToEndOfLine", { "stop_at_soft_wraps": true }],
|
||||||
@@ -140,67 +119,48 @@
|
|||||||
"ctrl-shift-v": ["editor::MovePageUp", { "center_cursor": true }],
|
"ctrl-shift-v": ["editor::MovePageUp", { "center_cursor": true }],
|
||||||
"ctrl-cmd-space": "editor::ShowCharacterPalette",
|
"ctrl-cmd-space": "editor::ShowCharacterPalette",
|
||||||
"cmd-;": "editor::ToggleLineNumbers",
|
"cmd-;": "editor::ToggleLineNumbers",
|
||||||
"cmd-alt-z": "git::Restore",
|
"cmd-alt-z": "editor::RevertSelectedHunks",
|
||||||
"cmd-alt-y": "git::ToggleStaged",
|
"cmd-'": "editor::ToggleHunkDiff",
|
||||||
"cmd-y": "git::StageAndNext",
|
"cmd-\"": "editor::ExpandAllHunkDiffs",
|
||||||
"cmd-shift-y": "git::UnstageAndNext",
|
|
||||||
"cmd-'": "editor::ToggleSelectedDiffHunks",
|
|
||||||
"cmd-\"": "editor::ExpandAllDiffHunks",
|
|
||||||
"cmd-alt-g b": "editor::ToggleGitBlame",
|
"cmd-alt-g b": "editor::ToggleGitBlame",
|
||||||
"cmd-i": "editor::ShowSignatureHelp",
|
"cmd-i": "editor::ShowSignatureHelp",
|
||||||
"ctrl-f12": "editor::GoToDeclaration",
|
"ctrl-f12": "editor::GoToDeclaration",
|
||||||
"alt-ctrl-f12": "editor::GoToDeclarationSplit",
|
"alt-ctrl-f12": "editor::GoToDeclarationSplit"
|
||||||
"ctrl-cmd-e": "editor::ToggleEditPrediction"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "Editor && mode == full",
|
"context": "Editor && mode == full",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"shift-enter": "editor::Newline",
|
|
||||||
"enter": "editor::Newline",
|
"enter": "editor::Newline",
|
||||||
|
"shift-enter": "editor::Newline",
|
||||||
"cmd-enter": "editor::NewlineBelow",
|
"cmd-enter": "editor::NewlineBelow",
|
||||||
"cmd-shift-enter": "editor::NewlineAbove",
|
"cmd-shift-enter": "editor::NewlineAbove",
|
||||||
"cmd-k z": "editor::ToggleSoftWrap",
|
"cmd-k z": "editor::ToggleSoftWrap",
|
||||||
"cmd-f": "buffer_search::Deploy",
|
"cmd-f": "buffer_search::Deploy",
|
||||||
"cmd-alt-f": "buffer_search::DeployReplace",
|
"cmd-alt-f": ["buffer_search::Deploy", { "replace_enabled": true }],
|
||||||
"cmd-alt-l": ["buffer_search::Deploy", { "selection_search_enabled": true }],
|
"cmd-alt-l": ["buffer_search::Deploy", { "selection_search_enabled": true }],
|
||||||
"cmd-e": ["buffer_search::Deploy", { "focus": false }],
|
"cmd-e": ["buffer_search::Deploy", { "focus": false }],
|
||||||
"cmd->": "assistant::QuoteSelection",
|
"cmd->": "assistant::QuoteSelection",
|
||||||
"cmd-<": "assistant::InsertIntoEditor",
|
"cmd-<": "assistant::InsertIntoEditor",
|
||||||
"cmd-alt-e": "editor::SelectEnclosingSymbol",
|
"cmd-alt-e": "editor::SelectEnclosingSymbol"
|
||||||
"alt-enter": "editor::OpenSelectionsInMultibuffer"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "Editor && multibuffer",
|
"context": "Editor && mode == full && inline_completion",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"cmd-up": "editor::MoveToStartOfExcerpt",
|
"alt-]": "editor::NextInlineCompletion",
|
||||||
"cmd-down": "editor::MoveToStartOfNextExcerpt",
|
"alt-[": "editor::PreviousInlineCompletion",
|
||||||
"cmd-shift-up": "editor::SelectToStartOfExcerpt",
|
"ctrl-right": "editor::AcceptPartialInlineCompletion"
|
||||||
"cmd-shift-down": "editor::SelectToStartOfNextExcerpt"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "Editor && mode == full && edit_prediction",
|
"context": "Editor && !inline_completion",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"alt-tab": "editor::NextEditPrediction",
|
"alt-\\": "editor::ShowInlineCompletion"
|
||||||
"alt-shift-tab": "editor::PreviousEditPrediction",
|
|
||||||
"ctrl-cmd-right": "editor::AcceptPartialEditPrediction"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"context": "Editor && !edit_prediction",
|
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
|
||||||
"alt-tab": "editor::ShowEditPrediction"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "Editor && mode == auto_height",
|
"context": "Editor && mode == auto_height",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"ctrl-enter": "editor::Newline",
|
"ctrl-enter": "editor::Newline",
|
||||||
"shift-enter": "editor::Newline",
|
"shift-enter": "editor::Newline",
|
||||||
@@ -209,14 +169,12 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "Markdown",
|
"context": "Markdown",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"cmd-c": "markdown::Copy"
|
"cmd-c": "markdown::Copy"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "Editor && jupyter && !ContextEditor",
|
"context": "Editor && jupyter && !ContextEditor",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"ctrl-shift-enter": "repl::Run",
|
"ctrl-shift-enter": "repl::Run",
|
||||||
"ctrl-alt-enter": "repl::RunInPlace"
|
"ctrl-alt-enter": "repl::RunInPlace"
|
||||||
@@ -224,29 +182,24 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "AssistantPanel",
|
"context": "AssistantPanel",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"cmd-k c": "assistant::CopyCode",
|
"cmd-k c": "assistant::CopyCode",
|
||||||
"cmd-shift-e": "project_panel::ToggleFocus",
|
|
||||||
"cmd-g": "search::SelectNextMatch",
|
"cmd-g": "search::SelectNextMatch",
|
||||||
"cmd-shift-g": "search::SelectPreviousMatch",
|
"cmd-shift-g": "search::SelectPrevMatch",
|
||||||
"cmd-alt-/": "assistant::ToggleModelSelector",
|
"cmd-shift-m": "assistant::ToggleModelSelector",
|
||||||
"cmd-k h": "assistant::DeployHistory",
|
"cmd-k h": "assistant::DeployHistory",
|
||||||
"cmd-k l": "assistant::DeployPromptLibrary",
|
"cmd-k l": "assistant::DeployPromptLibrary",
|
||||||
"cmd-t": "assistant::NewChat",
|
"cmd-n": "assistant::NewContext"
|
||||||
"cmd-n": "assistant::NewChat"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "ContextEditor > Editor",
|
"context": "ContextEditor > Editor",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"cmd-enter": "assistant::Assist",
|
"cmd-enter": "assistant::Assist",
|
||||||
"cmd-shift-enter": "assistant::Edit",
|
"cmd-shift-enter": "assistant::Edit",
|
||||||
"cmd-s": "workspace::Save",
|
"cmd-s": "workspace::Save",
|
||||||
"cmd->": "assistant::QuoteSelection",
|
"cmd->": "assistant::QuoteSelection",
|
||||||
"cmd-<": "assistant::InsertIntoEditor",
|
"cmd-<": "assistant::InsertIntoEditor",
|
||||||
"cmd-alt-/": "assistant::ToggleModelSelector",
|
|
||||||
"shift-enter": "assistant::Split",
|
"shift-enter": "assistant::Split",
|
||||||
"ctrl-r": "assistant::CycleMessageRole",
|
"ctrl-r": "assistant::CycleMessageRole",
|
||||||
"enter": "assistant::ConfirmCommand",
|
"enter": "assistant::ConfirmCommand",
|
||||||
@@ -254,78 +207,28 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "AssistantPanel2",
|
"context": "PromptLibrary",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"cmd-n": "assistant2::NewThread",
|
"cmd-n": "prompt_library::NewPrompt",
|
||||||
"cmd-alt-p": "assistant2::NewPromptEditor",
|
"cmd-shift-s": "prompt_library::ToggleDefaultPrompt",
|
||||||
"cmd-shift-h": "assistant2::OpenHistory",
|
"cmd-w": "workspace::CloseWindow"
|
||||||
"cmd-alt-/": "assistant::ToggleModelSelector",
|
|
||||||
"cmd-shift-a": "assistant2::ToggleContextPicker",
|
|
||||||
"cmd-e": "assistant2::ChatMode",
|
|
||||||
"cmd-alt-e": "assistant2::RemoveAllContext"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"context": "AssistantPanel2 && prompt_editor",
|
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
|
||||||
"cmd-n": "assistant2::NewPromptEditor",
|
|
||||||
"cmd-alt-t": "assistant2::NewThread"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"context": "MessageEditor > Editor",
|
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
|
||||||
"enter": "assistant2::Chat"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"context": "EditMessageEditor > Editor",
|
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
|
||||||
"escape": "menu::Cancel",
|
|
||||||
"enter": "menu::Confirm",
|
|
||||||
"alt-enter": "editor::Newline"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"context": "ContextStrip",
|
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
|
||||||
"up": "assistant2::FocusUp",
|
|
||||||
"right": "assistant2::FocusRight",
|
|
||||||
"left": "assistant2::FocusLeft",
|
|
||||||
"down": "assistant2::FocusDown",
|
|
||||||
"backspace": "assistant2::RemoveFocusedContext",
|
|
||||||
"enter": "assistant2::AcceptSuggestedContext"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"context": "ThreadHistory",
|
|
||||||
"bindings": {
|
|
||||||
"backspace": "assistant2::RemoveSelectedThread"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "BufferSearchBar",
|
"context": "BufferSearchBar",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"escape": "buffer_search::Dismiss",
|
"escape": "buffer_search::Dismiss",
|
||||||
"tab": "buffer_search::FocusEditor",
|
"tab": "buffer_search::FocusEditor",
|
||||||
"enter": "search::SelectNextMatch",
|
"enter": "search::SelectNextMatch",
|
||||||
"shift-enter": "search::SelectPreviousMatch",
|
"shift-enter": "search::SelectPrevMatch",
|
||||||
"alt-enter": "search::SelectAllMatches",
|
"alt-enter": "search::SelectAllMatches",
|
||||||
"cmd-f": "search::FocusSearch",
|
"cmd-f": "search::FocusSearch",
|
||||||
"cmd-alt-f": "search::ToggleReplace",
|
"cmd-alt-f": "search::ToggleReplace",
|
||||||
"cmd-alt-l": "search::ToggleSelection",
|
"cmd-alt-l": "search::ToggleSelection"
|
||||||
"cmd-shift-o": "outline::Toggle"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "BufferSearchBar && in_replace > Editor",
|
"context": "BufferSearchBar && in_replace > Editor",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"enter": "search::ReplaceNext",
|
"enter": "search::ReplaceNext",
|
||||||
"cmd-enter": "search::ReplaceAll"
|
"cmd-enter": "search::ReplaceAll"
|
||||||
@@ -333,7 +236,6 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "BufferSearchBar && !in_replace > Editor",
|
"context": "BufferSearchBar && !in_replace > Editor",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"up": "search::PreviousHistoryQuery",
|
"up": "search::PreviousHistoryQuery",
|
||||||
"down": "search::NextHistoryQuery"
|
"down": "search::NextHistoryQuery"
|
||||||
@@ -341,7 +243,6 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "ProjectSearchBar",
|
"context": "ProjectSearchBar",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"escape": "project_search::ToggleFocus",
|
"escape": "project_search::ToggleFocus",
|
||||||
"cmd-shift-j": "project_search::ToggleFilters",
|
"cmd-shift-j": "project_search::ToggleFilters",
|
||||||
@@ -353,7 +254,6 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "ProjectSearchBar > Editor",
|
"context": "ProjectSearchBar > Editor",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"up": "search::PreviousHistoryQuery",
|
"up": "search::PreviousHistoryQuery",
|
||||||
"down": "search::NextHistoryQuery"
|
"down": "search::NextHistoryQuery"
|
||||||
@@ -361,7 +261,6 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "ProjectSearchBar && in_replace > Editor",
|
"context": "ProjectSearchBar && in_replace > Editor",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"enter": "search::ReplaceNext",
|
"enter": "search::ReplaceNext",
|
||||||
"cmd-enter": "search::ReplaceAll"
|
"cmd-enter": "search::ReplaceAll"
|
||||||
@@ -369,7 +268,6 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "ProjectSearchView",
|
"context": "ProjectSearchView",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"escape": "project_search::ToggleFocus",
|
"escape": "project_search::ToggleFocus",
|
||||||
"cmd-shift-j": "project_search::ToggleFilters",
|
"cmd-shift-j": "project_search::ToggleFilters",
|
||||||
@@ -380,24 +278,21 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "Pane",
|
"context": "Pane",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"alt-cmd-left": "pane::ActivatePreviousItem",
|
"cmd-{": "pane::ActivatePrevItem",
|
||||||
"cmd-{": "pane::ActivatePreviousItem",
|
|
||||||
"alt-cmd-right": "pane::ActivateNextItem",
|
|
||||||
"cmd-}": "pane::ActivateNextItem",
|
"cmd-}": "pane::ActivateNextItem",
|
||||||
|
"alt-cmd-left": "pane::ActivatePrevItem",
|
||||||
|
"alt-cmd-right": "pane::ActivateNextItem",
|
||||||
"ctrl-shift-pageup": "pane::SwapItemLeft",
|
"ctrl-shift-pageup": "pane::SwapItemLeft",
|
||||||
"ctrl-shift-pagedown": "pane::SwapItemRight",
|
"ctrl-shift-pagedown": "pane::SwapItemRight",
|
||||||
"cmd-w": ["pane::CloseActiveItem", { "close_pinned": false }],
|
"cmd-w": "pane::CloseActiveItem",
|
||||||
"alt-cmd-t": ["pane::CloseInactiveItems", { "close_pinned": false }],
|
"alt-cmd-t": ["pane::CloseInactiveItems", { "close_pinned": false }],
|
||||||
"ctrl-alt-cmd-w": "workspace::CloseInactiveTabsAndPanes",
|
"ctrl-alt-cmd-w": "workspace::CloseInactiveTabsAndPanes",
|
||||||
"cmd-k e": ["pane::CloseItemsToTheLeft", { "close_pinned": false }],
|
|
||||||
"cmd-k t": ["pane::CloseItemsToTheRight", { "close_pinned": false }],
|
|
||||||
"cmd-k u": ["pane::CloseCleanItems", { "close_pinned": false }],
|
"cmd-k u": ["pane::CloseCleanItems", { "close_pinned": false }],
|
||||||
"cmd-k cmd-w": ["pane::CloseAllItems", { "close_pinned": false }],
|
"cmd-k cmd-w": ["pane::CloseAllItems", { "close_pinned": false }],
|
||||||
"cmd-f": "project_search::ToggleFocus",
|
"cmd-f": "project_search::ToggleFocus",
|
||||||
"cmd-g": "search::SelectNextMatch",
|
"cmd-g": "search::SelectNextMatch",
|
||||||
"cmd-shift-g": "search::SelectPreviousMatch",
|
"cmd-shift-g": "search::SelectPrevMatch",
|
||||||
"cmd-shift-h": "search::ToggleReplace",
|
"cmd-shift-h": "search::ToggleReplace",
|
||||||
"cmd-alt-l": "search::ToggleSelection",
|
"cmd-alt-l": "search::ToggleSelection",
|
||||||
"alt-enter": "search::SelectAllMatches",
|
"alt-enter": "search::SelectAllMatches",
|
||||||
@@ -411,14 +306,13 @@
|
|||||||
// Bindings from VS Code
|
// Bindings from VS Code
|
||||||
{
|
{
|
||||||
"context": "Editor",
|
"context": "Editor",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"cmd-[": "editor::Outdent",
|
"cmd-[": "editor::Outdent",
|
||||||
"cmd-]": "editor::Indent",
|
"cmd-]": "editor::Indent",
|
||||||
"cmd-ctrl-p": "editor::AddSelectionAbove", // Insert cursor above
|
"cmd-alt-up": "editor::AddSelectionAbove", // Insert cursor above
|
||||||
"cmd-alt-up": "editor::AddSelectionAbove",
|
"cmd-ctrl-p": "editor::AddSelectionAbove",
|
||||||
"cmd-ctrl-n": "editor::AddSelectionBelow", // Insert cursor below
|
"cmd-alt-down": "editor::AddSelectionBelow", // Insert cursor below
|
||||||
"cmd-alt-down": "editor::AddSelectionBelow",
|
"cmd-ctrl-n": "editor::AddSelectionBelow",
|
||||||
"cmd-shift-k": "editor::DeleteLine",
|
"cmd-shift-k": "editor::DeleteLine",
|
||||||
"alt-up": "editor::MoveLineUp",
|
"alt-up": "editor::MoveLineUp",
|
||||||
"alt-down": "editor::MoveLineDown",
|
"alt-down": "editor::MoveLineDown",
|
||||||
@@ -437,7 +331,7 @@
|
|||||||
"cmd-u": "editor::UndoSelection",
|
"cmd-u": "editor::UndoSelection",
|
||||||
"cmd-shift-u": "editor::RedoSelection",
|
"cmd-shift-u": "editor::RedoSelection",
|
||||||
"f8": "editor::GoToDiagnostic",
|
"f8": "editor::GoToDiagnostic",
|
||||||
"shift-f8": "editor::GoToPreviousDiagnostic",
|
"shift-f8": "editor::GoToPrevDiagnostic",
|
||||||
"f2": "editor::Rename",
|
"f2": "editor::Rename",
|
||||||
"f12": "editor::GoToDefinition",
|
"f12": "editor::GoToDefinition",
|
||||||
"alt-f12": "editor::GoToDefinitionSplit",
|
"alt-f12": "editor::GoToDefinitionSplit",
|
||||||
@@ -445,26 +339,24 @@
|
|||||||
"shift-f12": "editor::GoToImplementation",
|
"shift-f12": "editor::GoToImplementation",
|
||||||
"alt-cmd-f12": "editor::GoToTypeDefinitionSplit",
|
"alt-cmd-f12": "editor::GoToTypeDefinitionSplit",
|
||||||
"alt-shift-f12": "editor::FindAllReferences",
|
"alt-shift-f12": "editor::FindAllReferences",
|
||||||
"cmd-|": "editor::MoveToEnclosingBracket",
|
|
||||||
"ctrl-m": "editor::MoveToEnclosingBracket",
|
"ctrl-m": "editor::MoveToEnclosingBracket",
|
||||||
|
"cmd-shift-\\": "editor::MoveToEnclosingBracket",
|
||||||
"alt-cmd-[": "editor::Fold",
|
"alt-cmd-[": "editor::Fold",
|
||||||
"alt-cmd-]": "editor::UnfoldLines",
|
"alt-cmd-]": "editor::UnfoldLines",
|
||||||
"cmd-k cmd-l": "editor::ToggleFold",
|
"cmd-k cmd-l": "editor::ToggleFold",
|
||||||
"cmd-k cmd-[": "editor::FoldRecursive",
|
"cmd-k cmd-[": "editor::FoldRecursive",
|
||||||
"cmd-k cmd-]": "editor::UnfoldRecursive",
|
"cmd-k cmd-]": "editor::UnfoldRecursive",
|
||||||
"cmd-k cmd-1": ["editor::FoldAtLevel", 1],
|
"cmd-k cmd-1": ["editor::FoldAtLevel", { "level": 1 }],
|
||||||
"cmd-k cmd-2": ["editor::FoldAtLevel", 2],
|
"cmd-k cmd-2": ["editor::FoldAtLevel", { "level": 2 }],
|
||||||
"cmd-k cmd-3": ["editor::FoldAtLevel", 3],
|
"cmd-k cmd-3": ["editor::FoldAtLevel", { "level": 3 }],
|
||||||
"cmd-k cmd-4": ["editor::FoldAtLevel", 4],
|
"cmd-k cmd-4": ["editor::FoldAtLevel", { "level": 4 }],
|
||||||
"cmd-k cmd-5": ["editor::FoldAtLevel", 5],
|
"cmd-k cmd-5": ["editor::FoldAtLevel", { "level": 5 }],
|
||||||
"cmd-k cmd-6": ["editor::FoldAtLevel", 6],
|
"cmd-k cmd-6": ["editor::FoldAtLevel", { "level": 6 }],
|
||||||
"cmd-k cmd-7": ["editor::FoldAtLevel", 7],
|
"cmd-k cmd-7": ["editor::FoldAtLevel", { "level": 7 }],
|
||||||
"cmd-k cmd-8": ["editor::FoldAtLevel", 8],
|
"cmd-k cmd-8": ["editor::FoldAtLevel", { "level": 8 }],
|
||||||
"cmd-k cmd-9": ["editor::FoldAtLevel", 9],
|
"cmd-k cmd-9": ["editor::FoldAtLevel", { "level": 9 }],
|
||||||
"cmd-k cmd-0": "editor::FoldAll",
|
"cmd-k cmd-0": "editor::FoldAll",
|
||||||
"cmd-k cmd-j": "editor::UnfoldAll",
|
"cmd-k cmd-j": "editor::UnfoldAll",
|
||||||
// Using `ctrl-space` in Zed requires disabling the macOS global shortcut.
|
|
||||||
// System Preferences->Keyboard->Keyboard Shortcuts->Input Sources->Select the previous input source (uncheck)
|
|
||||||
"ctrl-space": "editor::ShowCompletions",
|
"ctrl-space": "editor::ShowCompletions",
|
||||||
"cmd-.": "editor::ToggleCodeActions",
|
"cmd-.": "editor::ToggleCodeActions",
|
||||||
"cmd-k r": "editor::RevealInFileManager",
|
"cmd-k r": "editor::RevealInFileManager",
|
||||||
@@ -477,7 +369,6 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "Editor && mode == full",
|
"context": "Editor && mode == full",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"cmd-shift-o": "outline::Toggle",
|
"cmd-shift-o": "outline::Toggle",
|
||||||
"ctrl-g": "go_to_line::Toggle"
|
"ctrl-g": "go_to_line::Toggle"
|
||||||
@@ -485,7 +376,6 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "Pane",
|
"context": "Pane",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"ctrl-1": ["pane::ActivateItem", 0],
|
"ctrl-1": ["pane::ActivateItem", 0],
|
||||||
"ctrl-2": ["pane::ActivateItem", 1],
|
"ctrl-2": ["pane::ActivateItem", 1],
|
||||||
@@ -498,13 +388,13 @@
|
|||||||
"ctrl-9": ["pane::ActivateItem", 8],
|
"ctrl-9": ["pane::ActivateItem", 8],
|
||||||
"ctrl-0": "pane::ActivateLastItem",
|
"ctrl-0": "pane::ActivateLastItem",
|
||||||
"ctrl--": "pane::GoBack",
|
"ctrl--": "pane::GoBack",
|
||||||
"ctrl-_": "pane::GoForward",
|
"ctrl-shift--": "pane::GoForward",
|
||||||
"cmd-shift-f": "pane::DeploySearch"
|
"cmd-shift-t": "pane::ReopenClosedItem",
|
||||||
|
"cmd-shift-f": "project_search::ToggleFocus"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "Workspace",
|
"context": "Workspace",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
// Change the default action on `menu::Confirm` by setting the parameter
|
// Change the default action on `menu::Confirm` by setting the parameter
|
||||||
// "alt-cmd-o": ["projects::OpenRecent", {"create_new_window": true }],
|
// "alt-cmd-o": ["projects::OpenRecent", {"create_new_window": true }],
|
||||||
@@ -515,6 +405,7 @@
|
|||||||
"cmd-s": "workspace::Save",
|
"cmd-s": "workspace::Save",
|
||||||
"cmd-k s": "workspace::SaveWithoutFormat",
|
"cmd-k s": "workspace::SaveWithoutFormat",
|
||||||
"cmd-shift-s": "workspace::SaveAs",
|
"cmd-shift-s": "workspace::SaveAs",
|
||||||
|
"cmd-n": "workspace::NewFile",
|
||||||
"cmd-shift-n": "workspace::NewWindow",
|
"cmd-shift-n": "workspace::NewWindow",
|
||||||
"ctrl-`": "terminal_panel::ToggleFocus",
|
"ctrl-`": "terminal_panel::ToggleFocus",
|
||||||
"cmd-1": ["workspace::ActivatePane", 0],
|
"cmd-1": ["workspace::ActivatePane", 0],
|
||||||
@@ -532,7 +423,6 @@
|
|||||||
"alt-cmd-y": "workspace::CloseAllDocks",
|
"alt-cmd-y": "workspace::CloseAllDocks",
|
||||||
"cmd-shift-f": "pane::DeploySearch",
|
"cmd-shift-f": "pane::DeploySearch",
|
||||||
"cmd-shift-h": ["pane::DeploySearch", { "replace_enabled": true }],
|
"cmd-shift-h": ["pane::DeploySearch", { "replace_enabled": true }],
|
||||||
"cmd-shift-t": "pane::ReopenClosedItem",
|
|
||||||
"cmd-k cmd-s": "zed::OpenKeymap",
|
"cmd-k cmd-s": "zed::OpenKeymap",
|
||||||
"cmd-k cmd-t": "theme_selector::Toggle",
|
"cmd-k cmd-t": "theme_selector::Toggle",
|
||||||
"cmd-t": "project_symbols::Toggle",
|
"cmd-t": "project_symbols::Toggle",
|
||||||
@@ -543,38 +433,33 @@
|
|||||||
"cmd-shift-m": "diagnostics::Deploy",
|
"cmd-shift-m": "diagnostics::Deploy",
|
||||||
"cmd-shift-e": "project_panel::ToggleFocus",
|
"cmd-shift-e": "project_panel::ToggleFocus",
|
||||||
"cmd-shift-b": "outline_panel::ToggleFocus",
|
"cmd-shift-b": "outline_panel::ToggleFocus",
|
||||||
"ctrl-shift-g": "git_panel::ToggleFocus",
|
|
||||||
"cmd-?": "assistant::ToggleFocus",
|
"cmd-?": "assistant::ToggleFocus",
|
||||||
"cmd-alt-s": "workspace::SaveAll",
|
"cmd-alt-s": "workspace::SaveAll",
|
||||||
"cmd-k m": "language_selector::Toggle",
|
"cmd-k m": "language_selector::Toggle",
|
||||||
"escape": "workspace::Unfollow",
|
"escape": "workspace::Unfollow",
|
||||||
"cmd-k cmd-left": "workspace::ActivatePaneLeft",
|
"cmd-k cmd-left": ["workspace::ActivatePaneInDirection", "Left"],
|
||||||
"cmd-k cmd-right": "workspace::ActivatePaneRight",
|
"cmd-k cmd-right": ["workspace::ActivatePaneInDirection", "Right"],
|
||||||
"cmd-k cmd-up": "workspace::ActivatePaneUp",
|
"cmd-k cmd-up": ["workspace::ActivatePaneInDirection", "Up"],
|
||||||
"cmd-k cmd-down": "workspace::ActivatePaneDown",
|
"cmd-k cmd-down": ["workspace::ActivatePaneInDirection", "Down"],
|
||||||
"cmd-k shift-left": "workspace::SwapPaneLeft",
|
"cmd-k shift-left": ["workspace::SwapPaneInDirection", "Left"],
|
||||||
"cmd-k shift-right": "workspace::SwapPaneRight",
|
"cmd-k shift-right": ["workspace::SwapPaneInDirection", "Right"],
|
||||||
"cmd-k shift-up": "workspace::SwapPaneUp",
|
"cmd-k shift-up": ["workspace::SwapPaneInDirection", "Up"],
|
||||||
"cmd-k shift-down": "workspace::SwapPaneDown",
|
"cmd-k shift-down": ["workspace::SwapPaneInDirection", "Down"],
|
||||||
"cmd-shift-x": "zed::Extensions"
|
"cmd-shift-x": "zed::Extensions"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "Workspace && !Terminal",
|
"context": "Workspace && !Terminal",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"cmd-n": "workspace::NewFile",
|
|
||||||
"cmd-shift-r": "task::Spawn",
|
"cmd-shift-r": "task::Spawn",
|
||||||
"cmd-alt-r": "task::Rerun",
|
"cmd-alt-r": "task::Rerun",
|
||||||
"ctrl-alt-shift-r": ["task::Spawn", { "reveal_target": "center" }]
|
"alt-t": "task::Spawn",
|
||||||
// also possible to spawn tasks by name:
|
"alt-shift-t": "task::Spawn"
|
||||||
// "foo-bar": ["task::Spawn", { "task_name": "MyTask", "reveal_target": "dock" }]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// Bindings from Sublime Text
|
// Bindings from Sublime Text
|
||||||
{
|
{
|
||||||
"context": "Editor",
|
"context": "Editor",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"ctrl-j": "editor::JoinLines",
|
"ctrl-j": "editor::JoinLines",
|
||||||
"ctrl-alt-backspace": "editor::DeleteToPreviousSubwordStart",
|
"ctrl-alt-backspace": "editor::DeleteToPreviousSubwordStart",
|
||||||
@@ -594,7 +479,6 @@
|
|||||||
// Bindings from Atom
|
// Bindings from Atom
|
||||||
{
|
{
|
||||||
"context": "Pane",
|
"context": "Pane",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"cmd-k up": "pane::SplitUp",
|
"cmd-k up": "pane::SplitUp",
|
||||||
"cmd-k down": "pane::SplitDown",
|
"cmd-k down": "pane::SplitDown",
|
||||||
@@ -605,46 +489,34 @@
|
|||||||
// Bindings that should be unified with bindings for more general actions
|
// Bindings that should be unified with bindings for more general actions
|
||||||
{
|
{
|
||||||
"context": "Editor && renaming",
|
"context": "Editor && renaming",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"enter": "editor::ConfirmRename"
|
"enter": "editor::ConfirmRename"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "Editor && showing_completions",
|
"context": "Editor && showing_completions",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"enter": "editor::ConfirmCompletion",
|
"enter": "editor::ConfirmCompletion",
|
||||||
"tab": "editor::ComposeCompletion"
|
"tab": "editor::ComposeCompletion"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "Editor && edit_prediction",
|
"context": "Editor && inline_completion && !showing_completions",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"alt-tab": "editor::AcceptEditPrediction",
|
"tab": "editor::AcceptInlineCompletion"
|
||||||
"tab": "editor::AcceptEditPrediction"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"context": "Editor && edit_prediction_conflict",
|
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
|
||||||
"alt-tab": "editor::AcceptEditPrediction"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "Editor && showing_code_actions",
|
"context": "Editor && showing_code_actions",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"enter": "editor::ConfirmCodeAction"
|
"enter": "editor::ConfirmCodeAction"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "Editor && (showing_code_actions || showing_completions)",
|
"context": "Editor && (showing_code_actions || showing_completions)",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"up": "editor::ContextMenuPrevious",
|
"up": "editor::ContextMenuPrev",
|
||||||
"ctrl-p": "editor::ContextMenuPrevious",
|
"ctrl-p": "editor::ContextMenuPrev",
|
||||||
"down": "editor::ContextMenuNext",
|
"down": "editor::ContextMenuNext",
|
||||||
"ctrl-n": "editor::ContextMenuNext",
|
"ctrl-n": "editor::ContextMenuNext",
|
||||||
"pageup": "editor::ContextMenuFirst",
|
"pageup": "editor::ContextMenuFirst",
|
||||||
@@ -653,31 +525,27 @@
|
|||||||
},
|
},
|
||||||
// Custom bindings
|
// Custom bindings
|
||||||
{
|
{
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"ctrl-alt-cmd-f": "workspace::FollowNextCollaborator",
|
"ctrl-alt-cmd-f": "workspace::FollowNextCollaborator",
|
||||||
// TODO: Move this to a dock open action
|
// TODO: Move this to a dock open action
|
||||||
"cmd-shift-c": "collab_panel::ToggleFocus",
|
"cmd-shift-c": "collab_panel::ToggleFocus",
|
||||||
"cmd-alt-i": "zed::DebugElements"
|
"cmd-alt-i": "zed::DebugElements",
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"context": "Editor && mode == full",
|
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
|
||||||
"alt-enter": "editor::OpenExcerpts",
|
|
||||||
"shift-enter": "editor::ExpandExcerpts",
|
|
||||||
"cmd-alt-enter": "editor::OpenExcerptsSplit",
|
|
||||||
"cmd-shift-e": "pane::RevealInProjectPanel",
|
|
||||||
"cmd-f8": "editor::GoToHunk",
|
|
||||||
"cmd-shift-f8": "editor::GoToPreviousHunk",
|
|
||||||
"ctrl-enter": "assistant::InlineAssist",
|
|
||||||
"ctrl-:": "editor::ToggleInlayHints"
|
"ctrl-:": "editor::ToggleInlayHints"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"context": "Editor && mode == full",
|
||||||
|
"bindings": {
|
||||||
|
"alt-enter": "editor::OpenExcerpts",
|
||||||
|
"shift-enter": "editor::ExpandExcerpts",
|
||||||
|
"cmd-k enter": "editor::OpenExcerptsSplit",
|
||||||
|
"cmd-f8": "editor::GoToHunk",
|
||||||
|
"cmd-shift-f8": "editor::GoToPrevHunk",
|
||||||
|
"ctrl-enter": "assistant::InlineAssist"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"context": "ProposedChangesEditor",
|
"context": "ProposedChangesEditor",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"cmd-shift-y": "editor::ApplyDiffHunk",
|
"cmd-shift-y": "editor::ApplyDiffHunk",
|
||||||
"cmd-shift-a": "editor::ApplyAllDiffHunks"
|
"cmd-shift-a": "editor::ApplyAllDiffHunks"
|
||||||
@@ -685,42 +553,35 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "PromptEditor",
|
"context": "PromptEditor",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"cmd-shift-a": "assistant2::ToggleContextPicker",
|
|
||||||
"cmd-alt-/": "assistant::ToggleModelSelector",
|
|
||||||
"cmd-alt-e": "assistant2::RemoveAllContext",
|
|
||||||
"ctrl-[": "assistant::CyclePreviousInlineAssist",
|
"ctrl-[": "assistant::CyclePreviousInlineAssist",
|
||||||
"ctrl-]": "assistant::CycleNextInlineAssist"
|
"ctrl-]": "assistant::CycleNextInlineAssist"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "ProjectSearchBar && !in_replace",
|
"context": "ProjectSearchBar && !in_replace",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"cmd-enter": "project_search::SearchInNew"
|
"cmd-enter": "project_search::SearchInNew"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "OutlinePanel && not_editing",
|
"context": "OutlinePanel && not_editing",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"escape": "menu::Cancel",
|
"escape": "menu::Cancel",
|
||||||
"left": "outline_panel::CollapseSelectedEntry",
|
"left": "outline_panel::CollapseSelectedEntry",
|
||||||
"right": "outline_panel::ExpandSelectedEntry",
|
"right": "outline_panel::ExpandSelectedEntry",
|
||||||
"cmd-alt-c": "workspace::CopyPath",
|
"cmd-alt-c": "outline_panel::CopyPath",
|
||||||
"alt-cmd-shift-c": "workspace::CopyRelativePath",
|
"alt-cmd-shift-c": "outline_panel::CopyRelativePath",
|
||||||
"alt-cmd-r": "outline_panel::RevealInFileManager",
|
"alt-cmd-r": "outline_panel::RevealInFileManager",
|
||||||
"space": "outline_panel::Open",
|
"space": "outline_panel::Open",
|
||||||
"shift-down": "menu::SelectNext",
|
"shift-down": "menu::SelectNext",
|
||||||
"shift-up": "menu::SelectPrevious",
|
"shift-up": "menu::SelectPrev",
|
||||||
"alt-enter": "editor::OpenExcerpts",
|
"alt-enter": "editor::OpenExcerpts",
|
||||||
"cmd-alt-enter": "editor::OpenExcerptsSplit"
|
"cmd-k enter": "editor::OpenExcerptsSplit"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "ProjectPanel",
|
"context": "ProjectPanel",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"left": "project_panel::CollapseSelectedEntry",
|
"left": "project_panel::CollapseSelectedEntry",
|
||||||
"right": "project_panel::ExpandSelectedEntry",
|
"right": "project_panel::ExpandSelectedEntry",
|
||||||
@@ -730,8 +591,8 @@
|
|||||||
"cmd-x": "project_panel::Cut",
|
"cmd-x": "project_panel::Cut",
|
||||||
"cmd-c": "project_panel::Copy",
|
"cmd-c": "project_panel::Copy",
|
||||||
"cmd-v": "project_panel::Paste",
|
"cmd-v": "project_panel::Paste",
|
||||||
"cmd-alt-c": "workspace::CopyPath",
|
"cmd-alt-c": "project_panel::CopyPath",
|
||||||
"alt-cmd-shift-c": "workspace::CopyRelativePath",
|
"alt-cmd-shift-c": "project_panel::CopyRelativePath",
|
||||||
"enter": "project_panel::Rename",
|
"enter": "project_panel::Rename",
|
||||||
"f2": "project_panel::Rename",
|
"f2": "project_panel::Rename",
|
||||||
"backspace": ["project_panel::Trash", { "skip_prompt": false }],
|
"backspace": ["project_panel::Trash", { "skip_prompt": false }],
|
||||||
@@ -743,75 +604,18 @@
|
|||||||
"cmd-alt-backspace": ["project_panel::Delete", { "skip_prompt": false }],
|
"cmd-alt-backspace": ["project_panel::Delete", { "skip_prompt": false }],
|
||||||
"cmd-shift-f": "project_panel::NewSearchInDirectory",
|
"cmd-shift-f": "project_panel::NewSearchInDirectory",
|
||||||
"shift-down": "menu::SelectNext",
|
"shift-down": "menu::SelectNext",
|
||||||
"shift-up": "menu::SelectPrevious",
|
"shift-up": "menu::SelectPrev",
|
||||||
"escape": "menu::Cancel"
|
"escape": "menu::Cancel"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "ProjectPanel && not_editing",
|
"context": "ProjectPanel && not_editing",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"space": "project_panel::Open"
|
"space": "project_panel::Open"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"context": "GitPanel && ChangesList",
|
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
|
||||||
"up": "menu::SelectPrevious",
|
|
||||||
"down": "menu::SelectNext",
|
|
||||||
"cmd-up": "menu::SelectFirst",
|
|
||||||
"cmd-down": "menu::SelectLast",
|
|
||||||
"enter": "menu::Confirm",
|
|
||||||
"space": "git::ToggleStaged",
|
|
||||||
"cmd-shift-space": "git::StageAll",
|
|
||||||
"ctrl-shift-space": "git::UnstageAll",
|
|
||||||
"alt-down": "git_panel::FocusEditor",
|
|
||||||
"tab": "git_panel::FocusEditor",
|
|
||||||
"shift-tab": "git_panel::FocusEditor",
|
|
||||||
"escape": "git_panel::ToggleFocus",
|
|
||||||
"cmd-enter": "git::Commit"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"context": "GitDiff > Editor",
|
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
|
||||||
"cmd-enter": "git::Commit"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"context": "AskPass > Editor",
|
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
|
||||||
"enter": "menu::Confirm"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"context": "GitPanel > Editor",
|
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
|
||||||
"enter": "editor::Newline",
|
|
||||||
"cmd-enter": "git::Commit",
|
|
||||||
"tab": "git_panel::FocusChanges",
|
|
||||||
"shift-tab": "git_panel::FocusChanges",
|
|
||||||
"alt-up": "git_panel::FocusChanges",
|
|
||||||
"shift-escape": "git::ExpandCommitEditor",
|
|
||||||
"alt-tab": "git::GenerateCommitMessage"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"context": "GitCommit > Editor",
|
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
|
||||||
"enter": "editor::Newline",
|
|
||||||
"cmd-enter": "git::Commit",
|
|
||||||
"alt-tab": "git::GenerateCommitMessage"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"context": "CollabPanel && not_editing",
|
"context": "CollabPanel && not_editing",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"ctrl-backspace": "collab_panel::Remove",
|
"ctrl-backspace": "collab_panel::Remove",
|
||||||
"space": "menu::Confirm"
|
"space": "menu::Confirm"
|
||||||
@@ -819,25 +623,19 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "(CollabPanel && editing) > Editor",
|
"context": "(CollabPanel && editing) > Editor",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"space": "collab_panel::InsertSpace"
|
"space": "collab_panel::InsertSpace"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "ChannelModal",
|
"context": "ChannelModal",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"tab": "channel_modal::ToggleMode"
|
"tab": "channel_modal::ToggleMode"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "Picker > Editor",
|
"context": "Picker > Editor",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"escape": "menu::Cancel",
|
|
||||||
"up": "menu::SelectPrevious",
|
|
||||||
"down": "menu::SelectNext",
|
|
||||||
"tab": "picker::ConfirmCompletion",
|
"tab": "picker::ConfirmCompletion",
|
||||||
"alt-enter": ["picker::ConfirmInput", { "secondary": false }],
|
"alt-enter": ["picker::ConfirmInput", { "secondary": false }],
|
||||||
"cmd-alt-enter": ["picker::ConfirmInput", { "secondary": true }]
|
"cmd-alt-enter": ["picker::ConfirmInput", { "secondary": true }]
|
||||||
@@ -845,16 +643,15 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "ChannelModal > Picker > Editor",
|
"context": "ChannelModal > Picker > Editor",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"tab": "channel_modal::ToggleMode"
|
"tab": "channel_modal::ToggleMode"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "FileFinder || (FileFinder > Picker > Editor) || (FileFinder > Picker > menu)",
|
"context": "FileFinder && !menu_open",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"cmd-shift-p": "file_finder::SelectPrevious",
|
"cmd-shift-p": "file_finder::SelectPrev",
|
||||||
|
"cmd": "file_finder::OpenMenu",
|
||||||
"cmd-j": "pane::SplitDown",
|
"cmd-j": "pane::SplitDown",
|
||||||
"cmd-k": "pane::SplitUp",
|
"cmd-k": "pane::SplitUp",
|
||||||
"cmd-h": "pane::SplitLeft",
|
"cmd-h": "pane::SplitLeft",
|
||||||
@@ -862,27 +659,32 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "TabSwitcher",
|
"context": "FileFinder && menu_open",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"ctrl-shift-tab": "menu::SelectPrevious",
|
"j": "pane::SplitDown",
|
||||||
"ctrl-up": "menu::SelectPrevious",
|
"k": "pane::SplitUp",
|
||||||
|
"h": "pane::SplitLeft",
|
||||||
|
"l": "pane::SplitRight"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"context": "TabSwitcher",
|
||||||
|
"bindings": {
|
||||||
|
"ctrl-up": "menu::SelectPrev",
|
||||||
"ctrl-down": "menu::SelectNext",
|
"ctrl-down": "menu::SelectNext",
|
||||||
|
"ctrl-shift-tab": "menu::SelectPrev",
|
||||||
"ctrl-backspace": "tab_switcher::CloseSelectedItem"
|
"ctrl-backspace": "tab_switcher::CloseSelectedItem"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "Terminal",
|
"context": "Terminal",
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"ctrl-cmd-space": "terminal::ShowCharacterPalette",
|
"ctrl-cmd-space": "terminal::ShowCharacterPalette",
|
||||||
"cmd-c": "terminal::Copy",
|
"cmd-c": "terminal::Copy",
|
||||||
"cmd-v": "terminal::Paste",
|
"cmd-v": "terminal::Paste",
|
||||||
"cmd-a": "editor::SelectAll",
|
"cmd-a": "editor::SelectAll",
|
||||||
"cmd-k": "terminal::Clear",
|
"cmd-k": "terminal::Clear",
|
||||||
"cmd-n": "workspace::NewTerminal",
|
|
||||||
"ctrl-enter": "assistant::InlineAssist",
|
"ctrl-enter": "assistant::InlineAssist",
|
||||||
"ctrl-_": null, // emacs undo
|
|
||||||
// Some nice conveniences
|
// Some nice conveniences
|
||||||
"cmd-backspace": ["terminal::SendText", "\u0015"],
|
"cmd-backspace": ["terminal::SendText", "\u0015"],
|
||||||
"cmd-right": ["terminal::SendText", "\u0005"],
|
"cmd-right": ["terminal::SendText", "\u0005"],
|
||||||
@@ -890,8 +692,6 @@
|
|||||||
// Terminal.app compatibility
|
// Terminal.app compatibility
|
||||||
"alt-left": ["terminal::SendText", "\u001bb"],
|
"alt-left": ["terminal::SendText", "\u001bb"],
|
||||||
"alt-right": ["terminal::SendText", "\u001bf"],
|
"alt-right": ["terminal::SendText", "\u001bf"],
|
||||||
"alt-b": ["terminal::SendText", "\u001bb"],
|
|
||||||
"alt-f": ["terminal::SendText", "\u001bf"],
|
|
||||||
// There are conflicting bindings for these keys in the global context.
|
// There are conflicting bindings for these keys in the global context.
|
||||||
// these bindings override them, remove at your own risk:
|
// these bindings override them, remove at your own risk:
|
||||||
"up": ["terminal::SendKeystroke", "up"],
|
"up": ["terminal::SendKeystroke", "up"],
|
||||||
@@ -901,48 +701,17 @@
|
|||||||
"escape": ["terminal::SendKeystroke", "escape"],
|
"escape": ["terminal::SendKeystroke", "escape"],
|
||||||
"enter": ["terminal::SendKeystroke", "enter"],
|
"enter": ["terminal::SendKeystroke", "enter"],
|
||||||
"ctrl-c": ["terminal::SendKeystroke", "ctrl-c"],
|
"ctrl-c": ["terminal::SendKeystroke", "ctrl-c"],
|
||||||
"shift-pageup": "terminal::ScrollPageUp",
|
|
||||||
"cmd-up": "terminal::ScrollPageUp",
|
"cmd-up": "terminal::ScrollPageUp",
|
||||||
"shift-pagedown": "terminal::ScrollPageDown",
|
|
||||||
"cmd-down": "terminal::ScrollPageDown",
|
"cmd-down": "terminal::ScrollPageDown",
|
||||||
|
"shift-pageup": "terminal::ScrollPageUp",
|
||||||
|
"shift-pagedown": "terminal::ScrollPageDown",
|
||||||
"shift-up": "terminal::ScrollLineUp",
|
"shift-up": "terminal::ScrollLineUp",
|
||||||
"shift-down": "terminal::ScrollLineDown",
|
"shift-down": "terminal::ScrollLineDown",
|
||||||
"shift-home": "terminal::ScrollToTop",
|
|
||||||
"cmd-home": "terminal::ScrollToTop",
|
"cmd-home": "terminal::ScrollToTop",
|
||||||
"shift-end": "terminal::ScrollToBottom",
|
|
||||||
"cmd-end": "terminal::ScrollToBottom",
|
"cmd-end": "terminal::ScrollToBottom",
|
||||||
"ctrl-shift-space": "terminal::ToggleViMode",
|
"shift-home": "terminal::ScrollToTop",
|
||||||
"ctrl-k up": "pane::SplitUp",
|
"shift-end": "terminal::ScrollToBottom",
|
||||||
"ctrl-k down": "pane::SplitDown",
|
"ctrl-shift-space": "terminal::ToggleViMode"
|
||||||
"ctrl-k left": "pane::SplitLeft",
|
|
||||||
"ctrl-k right": "pane::SplitRight"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"context": "RateCompletionModal",
|
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
|
||||||
"cmd-shift-enter": "zeta::ThumbsUpActiveCompletion",
|
|
||||||
"cmd-shift-backspace": "zeta::ThumbsDownActiveCompletion",
|
|
||||||
"shift-down": "zeta::NextEdit",
|
|
||||||
"shift-up": "zeta::PreviousEdit",
|
|
||||||
"right": "zeta::PreviewCompletion"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"context": "RateCompletionModal > Editor",
|
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
|
||||||
"escape": "zeta::FocusCompletions",
|
|
||||||
"cmd-shift-enter": "zeta::ThumbsUpActiveCompletion",
|
|
||||||
"cmd-shift-backspace": "zeta::ThumbsDownActiveCompletion"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"context": "ZedPredictModal",
|
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
|
||||||
"escape": "menu::Cancel"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
"context": "BufferSearchBar",
|
"context": "BufferSearchBar",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"ctrl-f3": "search::SelectNextMatch", // find-and-replace:find-next-selected
|
"ctrl-f3": "search::SelectNextMatch", // find-and-replace:find-next-selected
|
||||||
"ctrl-shift-f3": "search::SelectPreviousMatch" // find-and-replace:find-previous-selected
|
"ctrl-shift-f3": "search::SelectPrevMatch" // find-and-replace:find-previous-selected
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -3,127 +3,54 @@
|
|||||||
// To see the default key bindings run `zed: open default keymap`
|
// To see the default key bindings run `zed: open default keymap`
|
||||||
// from the command palette.
|
// from the command palette.
|
||||||
[
|
[
|
||||||
{
|
|
||||||
"bindings": {
|
|
||||||
"ctrl-g": "menu::Cancel"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"context": "Editor",
|
"context": "Editor",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"ctrl-g": "editor::Cancel",
|
"ctrl-g": "editor::Cancel",
|
||||||
"ctrl-x b": "tab_switcher::Toggle", // switch-to-buffer
|
"ctrl-shift-g": "go_to_line::Toggle",
|
||||||
"alt-g g": "go_to_line::Toggle", // goto-line
|
//"ctrl-space": "editor::SetMark",
|
||||||
"alt-g alt-g": "go_to_line::Toggle", // goto-line
|
"ctrl-x u": "editor::Undo",
|
||||||
"ctrl-space": "editor::SetMark", // set-mark
|
"ctrl-x ctrl-u": "editor::Redo",
|
||||||
"ctrl-@": "editor::SetMark", // set-mark
|
"ctrl-f": "editor::MoveRight",
|
||||||
"ctrl-x ctrl-x": "editor::SwapSelectionEnds", // exchange-point-and-mark
|
"ctrl-b": "editor::MoveLeft",
|
||||||
"ctrl-f": "editor::MoveRight", // forward-char
|
"ctrl-n": "editor::MoveDown",
|
||||||
"ctrl-b": "editor::MoveLeft", // backward-char
|
"ctrl-p": "editor::MoveUp",
|
||||||
"ctrl-n": "editor::MoveDown", // next-line
|
"ctrl-a": "editor::MoveToBeginningOfLine",
|
||||||
"ctrl-p": "editor::MoveUp", // previous-line
|
"ctrl-e": "editor::MoveToEndOfLine",
|
||||||
"home": ["editor::MoveToBeginningOfLine", { "stop_at_soft_wraps": false }], // move-beginning-of-line
|
"alt-f": "editor::MoveToNextSubwordEnd",
|
||||||
"end": ["editor::MoveToEndOfLine", { "stop_at_soft_wraps": false }], // move-end-of-line
|
"alt-b": "editor::MoveToPreviousSubwordStart",
|
||||||
"ctrl-a": ["editor::MoveToBeginningOfLine", { "stop_at_soft_wraps": false }], // move-beginning-of-line
|
"ctrl-d": "editor::Delete",
|
||||||
"ctrl-e": ["editor::MoveToEndOfLine", { "stop_at_soft_wraps": false }], // move-end-of-line
|
"alt-d": "editor::DeleteToNextWordEnd",
|
||||||
"shift-home": ["editor::SelectToBeginningOfLine", { "stop_at_soft_wraps": false }], // move-beginning-of-line
|
"ctrl-k": "editor::CutToEndOfLine",
|
||||||
"shift-end": ["editor::SelectToEndOfLine", { "stop_at_soft_wraps": false }], // move-end-of-line
|
"ctrl-w": "editor::Cut",
|
||||||
"alt-m": ["editor::MoveToBeginningOfLine", { "stop_at_soft_wraps": false, "stop_at_indent": true }], // back-to-indentation
|
"alt-w": "editor::Copy",
|
||||||
"alt-f": "editor::MoveToNextSubwordEnd", // forward-word
|
"ctrl-y": "editor::Paste",
|
||||||
"alt-b": "editor::MoveToPreviousSubwordStart", // backward-word
|
"ctrl-_": "editor::Undo",
|
||||||
"alt-u": "editor::ConvertToUpperCase", // upcase-word
|
"ctrl-v": "editor::MovePageDown",
|
||||||
"alt-l": "editor::ConvertToLowerCase", // downcase-word
|
"alt-v": "editor::MovePageUp",
|
||||||
"alt-c": "editor::ConvertToUpperCamelCase", // capitalize-word
|
"ctrl-x ]": "editor::MoveToEnd",
|
||||||
"ctrl-t": "editor::Transpose", // transpose-chars
|
"ctrl-x [": "editor::MoveToBeginning",
|
||||||
"alt-;": ["editor::ToggleComments", { "advance_downwards": false }],
|
"ctrl-l": "editor::ScrollCursorCenterTopBottom",
|
||||||
"ctrl-x ctrl-;": "editor::ToggleComments",
|
"ctrl-s": "buffer_search::Deploy",
|
||||||
"alt-.": "editor::GoToDefinition", // xref-find-definitions
|
"ctrl-x ctrl-f": "file_finder::Toggle",
|
||||||
"alt-,": "pane::GoBack", // xref-pop-marker-stack
|
"ctrl-shift-r": "editor::Rename"
|
||||||
"ctrl-x h": "editor::SelectAll", // mark-whole-buffer
|
|
||||||
"ctrl-d": "editor::Delete", // delete-char
|
|
||||||
"alt-d": "editor::DeleteToNextWordEnd", // kill-word
|
|
||||||
"ctrl-k": "editor::KillRingCut", // kill-line
|
|
||||||
"ctrl-w": "editor::Cut", // kill-region
|
|
||||||
"alt-w": "editor::Copy", // kill-ring-save
|
|
||||||
"ctrl-y": "editor::KillRingYank", // yank
|
|
||||||
"ctrl-_": "editor::Undo", // undo
|
|
||||||
"ctrl-/": "editor::Undo", // undo
|
|
||||||
"ctrl-x u": "editor::Undo", // undo
|
|
||||||
"alt-{": "editor::MoveToStartOfParagraph", // backward-paragraph
|
|
||||||
"alt-}": "editor::MoveToEndOfParagraph", // forward-paragraph
|
|
||||||
"ctrl-v": "editor::MovePageDown", // scroll-up
|
|
||||||
"alt-v": "editor::MovePageUp", // scroll-down
|
|
||||||
"ctrl-x [": "editor::MoveToBeginning", // beginning-of-buffer
|
|
||||||
"ctrl-x ]": "editor::MoveToEnd", // end-of-buffer
|
|
||||||
"alt-<": "editor::MoveToBeginning", // beginning-of-buffer
|
|
||||||
"alt->": "editor::MoveToEnd", // end-of-buffer
|
|
||||||
"ctrl-l": "editor::ScrollCursorCenterTopBottom", // recenter-top-bottom
|
|
||||||
"ctrl-s": "buffer_search::Deploy", // isearch-forward
|
|
||||||
"alt-^": "editor::JoinLines" // join-line
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"context": "Editor && selection_mode", // region selection
|
|
||||||
"bindings": {
|
|
||||||
"right": "editor::SelectRight",
|
|
||||||
"left": "editor::SelectLeft",
|
|
||||||
"down": "editor::SelectDown",
|
|
||||||
"up": "editor::SelectUp",
|
|
||||||
"alt-left": "editor::SelectToPreviousWordStart",
|
|
||||||
"alt-right": "editor::SelectToNextWordEnd",
|
|
||||||
"pagedown": "editor::SelectPageDown",
|
|
||||||
"pageup": "editor::SelectPageUp",
|
|
||||||
"ctrl-f": "editor::SelectRight",
|
|
||||||
"ctrl-b": "editor::SelectLeft",
|
|
||||||
"ctrl-n": "editor::SelectDown",
|
|
||||||
"ctrl-p": "editor::SelectUp",
|
|
||||||
"home": ["editor::SelectToBeginningOfLine", { "stop_at_soft_wraps": false }],
|
|
||||||
"end": ["editor::SelectToEndOfLine", { "stop_at_soft_wraps": false }],
|
|
||||||
"ctrl-a": ["editor::SelectToBeginningOfLine", { "stop_at_soft_wraps": false }],
|
|
||||||
"ctrl-e": ["editor::SelectToEndOfLine", { "stop_at_soft_wraps": false }],
|
|
||||||
"alt-f": "editor::SelectToNextWordEnd",
|
|
||||||
"alt-b": "editor::SelectToPreviousSubwordStart",
|
|
||||||
"alt-<": "editor::SelectToBeginning",
|
|
||||||
"alt->": "editor::SelectToEnd",
|
|
||||||
"ctrl-g": "editor::Cancel"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "Workspace",
|
"context": "Workspace",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"ctrl-x ctrl-c": "zed::Quit", // save-buffers-kill-terminal
|
"ctrl-x k": "pane::CloseActiveItem",
|
||||||
"ctrl-x 5 0": "workspace::CloseWindow", // delete-frame
|
"ctrl-x ctrl-c": "workspace::CloseWindow",
|
||||||
"ctrl-x 5 2": "workspace::NewWindow", // make-frame-command
|
"ctrl-x o": "workspace::ActivateNextPane",
|
||||||
"ctrl-x o": "workspace::ActivateNextPane", // other-window
|
"ctrl-x b": "tab_switcher::Toggle",
|
||||||
"ctrl-x k": "pane::CloseActiveItem", // kill-buffer
|
"ctrl-x 0": "pane::CloseActiveItem",
|
||||||
"ctrl-x 0": "pane::CloseActiveItem", // delete-window
|
"ctrl-x 1": "pane::CloseInactiveItems",
|
||||||
"ctrl-x 1": "pane::CloseInactiveItems", // delete-other-windows
|
"ctrl-x 2": "pane::SplitVertical",
|
||||||
"ctrl-x 2": "pane::SplitDown", // split-window-below
|
"ctrl-x ctrl-f": "file_finder::Toggle",
|
||||||
"ctrl-x 3": "pane::SplitRight", // split-window-right
|
"ctrl-x ctrl-s": "workspace::Save",
|
||||||
"ctrl-x ctrl-f": "file_finder::Toggle", // find-file
|
"ctrl-x ctrl-w": "workspace::SaveAs",
|
||||||
"ctrl-x ctrl-s": "workspace::Save", // save-buffer
|
"ctrl-x s": "workspace::SaveAll",
|
||||||
"ctrl-x ctrl-w": "workspace::SaveAs", // write-file
|
"shift shift": "file_finder::Toggle"
|
||||||
"ctrl-x s": "workspace::SaveAll" // save-some-buffers
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
// Workaround to enable using emacs in the Zed terminal.
|
|
||||||
// Unbind so Zed ignores these keys and lets emacs handle them.
|
|
||||||
"context": "Terminal",
|
|
||||||
"bindings": {
|
|
||||||
"ctrl-x ctrl-c": null, // save-buffers-kill-terminal
|
|
||||||
"ctrl-x ctrl-f": null, // find-file
|
|
||||||
"ctrl-x ctrl-s": null, // save-buffer
|
|
||||||
"ctrl-x ctrl-w": null, // write-file
|
|
||||||
"ctrl-x s": null // save-some-buffers
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"context": "BufferSearchBar > Editor",
|
|
||||||
"bindings": {
|
|
||||||
"ctrl-s": "search::SelectNextMatch",
|
|
||||||
"ctrl-r": "search::SelectPreviousMatch",
|
|
||||||
"ctrl-g": "buffer_search::Dismiss"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -2,17 +2,17 @@
|
|||||||
{
|
{
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"ctrl-alt-s": "zed::OpenSettings",
|
"ctrl-alt-s": "zed::OpenSettings",
|
||||||
"ctrl-{": "pane::ActivatePreviousItem",
|
"ctrl-shift-[": "pane::ActivatePrevItem",
|
||||||
"ctrl-}": "pane::ActivateNextItem"
|
"ctrl-shift-]": "pane::ActivateNextItem"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "Editor",
|
"context": "Editor",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"ctrl->": ["zed::IncreaseBufferFontSize", { "persist": true }],
|
"ctrl->": "zed::IncreaseBufferFontSize",
|
||||||
"ctrl-<": ["zed::DecreaseBufferFontSize", { "persist": true }],
|
"ctrl-<": "zed::DecreaseBufferFontSize",
|
||||||
"ctrl-shift-j": "editor::JoinLines",
|
"ctrl-shift-j": "editor::JoinLines",
|
||||||
"ctrl-d": "editor::DuplicateSelection",
|
"ctrl-d": "editor::DuplicateLineDown",
|
||||||
"ctrl-y": "editor::DeleteLine",
|
"ctrl-y": "editor::DeleteLine",
|
||||||
"ctrl-m": "editor::ScrollCursorCenter",
|
"ctrl-m": "editor::ScrollCursorCenter",
|
||||||
"ctrl-pagedown": "editor::MovePageDown",
|
"ctrl-pagedown": "editor::MovePageDown",
|
||||||
@@ -41,10 +41,10 @@
|
|||||||
"ctrl-shift-b": "editor::GoToTypeDefinition",
|
"ctrl-shift-b": "editor::GoToTypeDefinition",
|
||||||
"ctrl-alt-shift-b": "editor::GoToTypeDefinitionSplit",
|
"ctrl-alt-shift-b": "editor::GoToTypeDefinitionSplit",
|
||||||
"f2": "editor::GoToDiagnostic",
|
"f2": "editor::GoToDiagnostic",
|
||||||
"shift-f2": "editor::GoToPreviousDiagnostic",
|
"shift-f2": "editor::GoToPrevDiagnostic",
|
||||||
"ctrl-alt-shift-down": "editor::GoToHunk",
|
"ctrl-alt-shift-down": "editor::GoToHunk",
|
||||||
"ctrl-alt-shift-up": "editor::GoToPreviousHunk",
|
"ctrl-alt-shift-up": "editor::GoToPrevHunk",
|
||||||
"ctrl-alt-z": "git::Restore",
|
"ctrl-alt-z": "editor::RevertSelectedHunks",
|
||||||
"ctrl-home": "editor::MoveToBeginning",
|
"ctrl-home": "editor::MoveToBeginning",
|
||||||
"ctrl-end": "editor::MoveToEnd",
|
"ctrl-end": "editor::MoveToEnd",
|
||||||
"ctrl-shift-home": "editor::SelectToBeginning",
|
"ctrl-shift-home": "editor::SelectToBeginning",
|
||||||
|
|||||||
@@ -1,50 +1,27 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"ctrl-{": "pane::ActivatePreviousItem",
|
"ctrl-shift-[": "pane::ActivatePrevItem",
|
||||||
"ctrl-}": "pane::ActivateNextItem",
|
"ctrl-shift-]": "pane::ActivateNextItem",
|
||||||
"ctrl-pageup": "pane::ActivatePreviousItem",
|
"ctrl-pageup": "pane::ActivatePrevItem",
|
||||||
"ctrl-pagedown": "pane::ActivateNextItem",
|
"ctrl-pagedown": "pane::ActivateNextItem"
|
||||||
"ctrl-1": ["workspace::ActivatePane", 0],
|
|
||||||
"ctrl-2": ["workspace::ActivatePane", 1],
|
|
||||||
"ctrl-3": ["workspace::ActivatePane", 2],
|
|
||||||
"ctrl-4": ["workspace::ActivatePane", 3],
|
|
||||||
"ctrl-5": ["workspace::ActivatePane", 4],
|
|
||||||
"ctrl-6": ["workspace::ActivatePane", 5],
|
|
||||||
"ctrl-7": ["workspace::ActivatePane", 6],
|
|
||||||
"ctrl-8": ["workspace::ActivatePane", 7],
|
|
||||||
"ctrl-9": ["workspace::ActivatePane", 8],
|
|
||||||
"ctrl-!": ["workspace::MoveItemToPane", { "destination": 0, "focus": true }],
|
|
||||||
"ctrl-@": ["workspace::MoveItemToPane", { "destination": 1 }],
|
|
||||||
"ctrl-#": ["workspace::MoveItemToPane", { "destination": 2 }],
|
|
||||||
"ctrl-$": ["workspace::MoveItemToPane", { "destination": 3 }],
|
|
||||||
"ctrl-%": ["workspace::MoveItemToPane", { "destination": 4 }],
|
|
||||||
"ctrl-^": ["workspace::MoveItemToPane", { "destination": 5 }],
|
|
||||||
"ctrl-&": ["workspace::MoveItemToPane", { "destination": 6 }],
|
|
||||||
"ctrl-*": ["workspace::MoveItemToPane", { "destination": 7 }],
|
|
||||||
"ctrl-(": ["workspace::MoveItemToPane", { "destination": 8 }]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "Editor",
|
"context": "Editor",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"ctrl-alt-up": "editor::AddSelectionAbove",
|
|
||||||
"ctrl-alt-down": "editor::AddSelectionBelow",
|
|
||||||
"ctrl-shift-up": "editor::MoveLineUp",
|
"ctrl-shift-up": "editor::MoveLineUp",
|
||||||
"ctrl-shift-down": "editor::MoveLineDown",
|
"ctrl-shift-down": "editor::MoveLineDown",
|
||||||
"ctrl-shift-m": "editor::SelectLargerSyntaxNode",
|
"ctrl-shift-m": "editor::SelectLargerSyntaxNode",
|
||||||
"ctrl-shift-l": "editor::SplitSelectionIntoLines",
|
"ctrl-shift-l": "editor::SplitSelectionIntoLines",
|
||||||
"ctrl-shift-a": "editor::SelectLargerSyntaxNode",
|
"ctrl-shift-a": "editor::SelectLargerSyntaxNode",
|
||||||
"ctrl-shift-d": "editor::DuplicateSelection",
|
"ctrl-shift-d": "editor::DuplicateLineDown",
|
||||||
"alt-f3": "editor::SelectAllMatches", // find_all_under
|
|
||||||
"f9": "editor::SortLinesCaseSensitive",
|
|
||||||
"ctrl-f9": "editor::SortLinesCaseInsensitive",
|
|
||||||
"f12": "editor::GoToDefinition",
|
"f12": "editor::GoToDefinition",
|
||||||
"ctrl-f12": "editor::GoToDefinitionSplit",
|
"ctrl-f12": "editor::GoToDefinitionSplit",
|
||||||
"shift-f12": "editor::FindAllReferences",
|
"shift-f12": "editor::FindAllReferences",
|
||||||
"ctrl-shift-f12": "editor::FindAllReferences",
|
"ctrl-shift-f12": "editor::FindAllReferences",
|
||||||
"ctrl-.": "editor::GoToHunk",
|
"ctrl-.": "editor::GoToHunk",
|
||||||
"ctrl-,": "editor::GoToPreviousHunk",
|
"ctrl-,": "editor::GoToPrevHunk",
|
||||||
"ctrl-k ctrl-u": "editor::ConvertToUpperCase",
|
"ctrl-k ctrl-u": "editor::ConvertToUpperCase",
|
||||||
"ctrl-k ctrl-l": "editor::ConvertToLowerCase",
|
"ctrl-k ctrl-l": "editor::ConvertToLowerCase",
|
||||||
"shift-alt-m": "markdown::OpenPreviewToTheSide",
|
"shift-alt-m": "markdown::OpenPreviewToTheSide",
|
||||||
@@ -62,7 +39,7 @@
|
|||||||
"context": "Pane",
|
"context": "Pane",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"f4": "search::SelectNextMatch",
|
"f4": "search::SelectNextMatch",
|
||||||
"shift-f4": "search::SelectPreviousMatch",
|
"shift-f4": "search::SelectPrevMatch",
|
||||||
"alt-1": ["pane::ActivateItem", 0],
|
"alt-1": ["pane::ActivateItem", 0],
|
||||||
"alt-2": ["pane::ActivateItem", 1],
|
"alt-2": ["pane::ActivateItem", 1],
|
||||||
"alt-3": ["pane::ActivateItem", 2],
|
"alt-3": ["pane::ActivateItem", 2],
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
"context": "BufferSearchBar",
|
"context": "BufferSearchBar",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"cmd-f3": "search::SelectNextMatch",
|
"cmd-f3": "search::SelectNextMatch",
|
||||||
"cmd-shift-f3": "search::SelectPreviousMatch"
|
"cmd-shift-f3": "search::SelectPrevMatch"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -3,127 +3,54 @@
|
|||||||
// To see the default key bindings run `zed: open default keymap`
|
// To see the default key bindings run `zed: open default keymap`
|
||||||
// from the command palette.
|
// from the command palette.
|
||||||
[
|
[
|
||||||
{
|
|
||||||
"bindings": {
|
|
||||||
"ctrl-g": "menu::Cancel"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"context": "Editor",
|
"context": "Editor",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"ctrl-g": "editor::Cancel",
|
"ctrl-g": "editor::Cancel",
|
||||||
"ctrl-x b": "tab_switcher::Toggle", // switch-to-buffer
|
"ctrl-shift-g": "go_to_line::Toggle",
|
||||||
"alt-g g": "go_to_line::Toggle", // goto-line
|
//"ctrl-space": "editor::SetMark",
|
||||||
"alt-g alt-g": "go_to_line::Toggle", // goto-line
|
"ctrl-x u": "editor::Undo",
|
||||||
"ctrl-space": "editor::SetMark", // set-mark
|
"ctrl-x ctrl-u": "editor::Redo",
|
||||||
"ctrl-@": "editor::SetMark", // set-mark
|
"ctrl-f": "editor::MoveRight",
|
||||||
"ctrl-x ctrl-x": "editor::SwapSelectionEnds", // exchange-point-and-mark
|
"ctrl-b": "editor::MoveLeft",
|
||||||
"ctrl-f": "editor::MoveRight", // forward-char
|
"ctrl-n": "editor::MoveDown",
|
||||||
"ctrl-b": "editor::MoveLeft", // backward-char
|
"ctrl-p": "editor::MoveUp",
|
||||||
"ctrl-n": "editor::MoveDown", // next-line
|
"ctrl-a": "editor::MoveToBeginningOfLine",
|
||||||
"ctrl-p": "editor::MoveUp", // previous-line
|
"ctrl-e": "editor::MoveToEndOfLine",
|
||||||
"home": ["editor::MoveToBeginningOfLine", { "stop_at_soft_wraps": false }], // move-beginning-of-line
|
"alt-f": "editor::MoveToNextSubwordEnd",
|
||||||
"end": ["editor::MoveToEndOfLine", { "stop_at_soft_wraps": false }], // move-end-of-line
|
"alt-b": "editor::MoveToPreviousSubwordStart",
|
||||||
"ctrl-a": ["editor::MoveToBeginningOfLine", { "stop_at_soft_wraps": false }], // move-beginning-of-line
|
"ctrl-d": "editor::Delete",
|
||||||
"ctrl-e": ["editor::MoveToEndOfLine", { "stop_at_soft_wraps": false }], // move-end-of-line
|
"alt-d": "editor::DeleteToNextWordEnd",
|
||||||
"shift-home": ["editor::SelectToBeginningOfLine", { "stop_at_soft_wraps": false }], // move-beginning-of-line
|
"ctrl-k": "editor::CutToEndOfLine",
|
||||||
"shift-end": ["editor::SelectToEndOfLine", { "stop_at_soft_wraps": false }], // move-end-of-line
|
"ctrl-w": "editor::Cut",
|
||||||
"alt-m": ["editor::MoveToBeginningOfLine", { "stop_at_soft_wraps": false, "stop_at_indent": true }], // back-to-indentation
|
"alt-w": "editor::Copy",
|
||||||
"alt-f": "editor::MoveToNextSubwordEnd", // forward-word
|
"ctrl-y": "editor::Paste",
|
||||||
"alt-b": "editor::MoveToPreviousSubwordStart", // backward-word
|
"ctrl-_": "editor::Undo",
|
||||||
"alt-u": "editor::ConvertToUpperCase", // upcase-word
|
"ctrl-v": "editor::MovePageDown",
|
||||||
"alt-l": "editor::ConvertToLowerCase", // downcase-word
|
"alt-v": "editor::MovePageUp",
|
||||||
"alt-c": "editor::ConvertToUpperCamelCase", // capitalize-word
|
"ctrl-x ]": "editor::MoveToEnd",
|
||||||
"ctrl-t": "editor::Transpose", // transpose-chars
|
"ctrl-x [": "editor::MoveToBeginning",
|
||||||
"alt-;": ["editor::ToggleComments", { "advance_downwards": false }],
|
"ctrl-l": "editor::ScrollCursorCenterTopBottom",
|
||||||
"ctrl-x ctrl-;": "editor::ToggleComments",
|
"ctrl-s": "buffer_search::Deploy",
|
||||||
"alt-.": "editor::GoToDefinition", // xref-find-definitions
|
"ctrl-x ctrl-f": "file_finder::Toggle",
|
||||||
"alt-,": "pane::GoBack", // xref-pop-marker-stack
|
"ctrl-shift-r": "editor::Rename"
|
||||||
"ctrl-x h": "editor::SelectAll", // mark-whole-buffer
|
|
||||||
"ctrl-d": "editor::Delete", // delete-char
|
|
||||||
"alt-d": "editor::DeleteToNextWordEnd", // kill-word
|
|
||||||
"ctrl-k": "editor::KillRingCut", // kill-line
|
|
||||||
"ctrl-w": "editor::Cut", // kill-region
|
|
||||||
"alt-w": "editor::Copy", // kill-ring-save
|
|
||||||
"ctrl-y": "editor::KillRingYank", // yank
|
|
||||||
"ctrl-_": "editor::Undo", // undo
|
|
||||||
"ctrl-/": "editor::Undo", // undo
|
|
||||||
"ctrl-x u": "editor::Undo", // undo
|
|
||||||
"alt-{": "editor::MoveToStartOfParagraph", // backward-paragraph
|
|
||||||
"alt-}": "editor::MoveToEndOfParagraph", // forward-paragraph
|
|
||||||
"ctrl-v": "editor::MovePageDown", // scroll-up
|
|
||||||
"alt-v": "editor::MovePageUp", // scroll-down
|
|
||||||
"ctrl-x [": "editor::MoveToBeginning", // beginning-of-buffer
|
|
||||||
"ctrl-x ]": "editor::MoveToEnd", // end-of-buffer
|
|
||||||
"alt-<": "editor::MoveToBeginning", // beginning-of-buffer
|
|
||||||
"alt->": "editor::MoveToEnd", // end-of-buffer
|
|
||||||
"ctrl-l": "editor::ScrollCursorCenterTopBottom", // recenter-top-bottom
|
|
||||||
"ctrl-s": "buffer_search::Deploy", // isearch-forward
|
|
||||||
"alt-^": "editor::JoinLines" // join-line
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"context": "Editor && selection_mode", // region selection
|
|
||||||
"bindings": {
|
|
||||||
"right": "editor::SelectRight",
|
|
||||||
"left": "editor::SelectLeft",
|
|
||||||
"down": "editor::SelectDown",
|
|
||||||
"up": "editor::SelectUp",
|
|
||||||
"alt-left": "editor::SelectToPreviousWordStart",
|
|
||||||
"alt-right": "editor::SelectToNextWordEnd",
|
|
||||||
"pagedown": "editor::SelectPageDown",
|
|
||||||
"pageup": "editor::SelectPageUp",
|
|
||||||
"ctrl-f": "editor::SelectRight",
|
|
||||||
"ctrl-b": "editor::SelectLeft",
|
|
||||||
"ctrl-n": "editor::SelectDown",
|
|
||||||
"ctrl-p": "editor::SelectUp",
|
|
||||||
"home": ["editor::SelectToBeginningOfLine", { "stop_at_soft_wraps": false }],
|
|
||||||
"end": ["editor::SelectToEndOfLine", { "stop_at_soft_wraps": false }],
|
|
||||||
"ctrl-a": ["editor::SelectToBeginningOfLine", { "stop_at_soft_wraps": false }],
|
|
||||||
"ctrl-e": ["editor::SelectToEndOfLine", { "stop_at_soft_wraps": false }],
|
|
||||||
"alt-f": "editor::SelectToNextWordEnd",
|
|
||||||
"alt-b": "editor::SelectToPreviousSubwordStart",
|
|
||||||
"alt-<": "editor::SelectToBeginning",
|
|
||||||
"alt->": "editor::SelectToEnd",
|
|
||||||
"ctrl-g": "editor::Cancel"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "Workspace",
|
"context": "Workspace",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"ctrl-x ctrl-c": "zed::Quit", // save-buffers-kill-terminal
|
"ctrl-x k": "pane::CloseActiveItem",
|
||||||
"ctrl-x 5 0": "workspace::CloseWindow", // delete-frame
|
"ctrl-x ctrl-c": "workspace::CloseWindow",
|
||||||
"ctrl-x 5 2": "workspace::NewWindow", // make-frame-command
|
"ctrl-x o": "workspace::ActivateNextPane",
|
||||||
"ctrl-x o": "workspace::ActivateNextPane", // other-window
|
"ctrl-x b": "tab_switcher::Toggle",
|
||||||
"ctrl-x k": "pane::CloseActiveItem", // kill-buffer
|
"ctrl-x 0": "pane::CloseActiveItem",
|
||||||
"ctrl-x 0": "pane::CloseActiveItem", // delete-window
|
"ctrl-x 1": "pane::CloseInactiveItems",
|
||||||
"ctrl-x 1": "pane::CloseInactiveItems", // delete-other-windows
|
"ctrl-x 2": "pane::SplitVertical",
|
||||||
"ctrl-x 2": "pane::SplitDown", // split-window-below
|
"ctrl-x ctrl-f": "file_finder::Toggle",
|
||||||
"ctrl-x 3": "pane::SplitRight", // split-window-right
|
"ctrl-x ctrl-s": "workspace::Save",
|
||||||
"ctrl-x ctrl-f": "file_finder::Toggle", // find-file
|
"ctrl-x ctrl-w": "workspace::SaveAs",
|
||||||
"ctrl-x ctrl-s": "workspace::Save", // save-buffer
|
"ctrl-x s": "workspace::SaveAll",
|
||||||
"ctrl-x ctrl-w": "workspace::SaveAs", // write-file
|
"shift shift": "file_finder::Toggle"
|
||||||
"ctrl-x s": "workspace::SaveAll" // save-some-buffers
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
// Workaround to enable using emacs in the Zed terminal.
|
|
||||||
// Unbind so Zed ignores these keys and lets emacs handle them.
|
|
||||||
"context": "Terminal",
|
|
||||||
"bindings": {
|
|
||||||
"ctrl-x ctrl-c": null, // save-buffers-kill-terminal
|
|
||||||
"ctrl-x ctrl-f": null, // find-file
|
|
||||||
"ctrl-x ctrl-s": null, // save-buffer
|
|
||||||
"ctrl-x ctrl-w": null, // write-file
|
|
||||||
"ctrl-x s": null // save-some-buffers
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"context": "BufferSearchBar > Editor",
|
|
||||||
"bindings": {
|
|
||||||
"ctrl-s": "search::SelectNextMatch",
|
|
||||||
"ctrl-r": "search::SelectPreviousMatch",
|
|
||||||
"ctrl-g": "buffer_search::Dismiss"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,17 +1,17 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"cmd-{": "pane::ActivatePreviousItem",
|
"cmd-shift-[": "pane::ActivatePrevItem",
|
||||||
"cmd-}": "pane::ActivateNextItem"
|
"cmd-shift-]": "pane::ActivateNextItem"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "Editor",
|
"context": "Editor",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"ctrl->": ["zed::IncreaseBufferFontSize", { "persist": true }],
|
"ctrl->": "zed::IncreaseBufferFontSize",
|
||||||
"ctrl-<": ["zed::DecreaseBufferFontSize", { "persist": true }],
|
"ctrl-<": "zed::DecreaseBufferFontSize",
|
||||||
"ctrl-shift-j": "editor::JoinLines",
|
"ctrl-shift-j": "editor::JoinLines",
|
||||||
"cmd-d": "editor::DuplicateSelection",
|
"cmd-d": "editor::DuplicateLineDown",
|
||||||
"cmd-backspace": "editor::DeleteLine",
|
"cmd-backspace": "editor::DeleteLine",
|
||||||
"cmd-pagedown": "editor::MovePageDown",
|
"cmd-pagedown": "editor::MovePageDown",
|
||||||
"cmd-pageup": "editor::MovePageUp",
|
"cmd-pageup": "editor::MovePageUp",
|
||||||
@@ -24,8 +24,8 @@
|
|||||||
"ctrl-g": ["editor::SelectNext", { "replace_newest": false }],
|
"ctrl-g": ["editor::SelectNext", { "replace_newest": false }],
|
||||||
"ctrl-cmd-g": ["editor::SelectPrevious", { "replace_newest": false }],
|
"ctrl-cmd-g": ["editor::SelectPrevious", { "replace_newest": false }],
|
||||||
"cmd-/": ["editor::ToggleComments", { "advance_downwards": true }],
|
"cmd-/": ["editor::ToggleComments", { "advance_downwards": true }],
|
||||||
"alt-up": "editor::SelectLargerSyntaxNode",
|
"cmd-up": "editor::SelectLargerSyntaxNode",
|
||||||
"alt-down": "editor::SelectSmallerSyntaxNode",
|
"cmd-down": "editor::SelectSmallerSyntaxNode",
|
||||||
"shift-alt-up": "editor::MoveLineUp",
|
"shift-alt-up": "editor::MoveLineUp",
|
||||||
"shift-alt-down": "editor::MoveLineDown",
|
"shift-alt-down": "editor::MoveLineDown",
|
||||||
"cmd-alt-l": "editor::Format",
|
"cmd-alt-l": "editor::Format",
|
||||||
@@ -39,9 +39,9 @@
|
|||||||
"cmd-shift-b": "editor::GoToTypeDefinition",
|
"cmd-shift-b": "editor::GoToTypeDefinition",
|
||||||
"cmd-alt-shift-b": "editor::GoToTypeDefinitionSplit",
|
"cmd-alt-shift-b": "editor::GoToTypeDefinitionSplit",
|
||||||
"f2": "editor::GoToDiagnostic",
|
"f2": "editor::GoToDiagnostic",
|
||||||
"shift-f2": "editor::GoToPreviousDiagnostic",
|
"shift-f2": "editor::GoToPrevDiagnostic",
|
||||||
"ctrl-alt-shift-down": "editor::GoToHunk",
|
"ctrl-alt-shift-down": "editor::GoToHunk",
|
||||||
"ctrl-alt-shift-up": "editor::GoToPreviousHunk",
|
"ctrl-alt-shift-up": "editor::GoToPrevHunk",
|
||||||
"cmd-home": "editor::MoveToBeginning",
|
"cmd-home": "editor::MoveToBeginning",
|
||||||
"cmd-end": "editor::MoveToEnd",
|
"cmd-end": "editor::MoveToEnd",
|
||||||
"cmd-shift-home": "editor::SelectToBeginning",
|
"cmd-shift-home": "editor::SelectToBeginning",
|
||||||
@@ -61,7 +61,7 @@
|
|||||||
{
|
{
|
||||||
"context": "BufferSearchBar > Editor",
|
"context": "BufferSearchBar > Editor",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"shift-enter": "search::SelectPreviousMatch"
|
"shift-enter": "search::SelectPrevMatch"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,28 +1,10 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"cmd-{": "pane::ActivatePreviousItem",
|
"cmd-shift-[": "pane::ActivatePrevItem",
|
||||||
"cmd-}": "pane::ActivateNextItem",
|
"cmd-shift-]": "pane::ActivateNextItem",
|
||||||
"ctrl-pageup": "pane::ActivatePreviousItem",
|
"ctrl-pageup": "pane::ActivatePrevItem",
|
||||||
"ctrl-pagedown": "pane::ActivateNextItem",
|
"ctrl-pagedown": "pane::ActivateNextItem"
|
||||||
"ctrl-1": ["workspace::ActivatePane", 0],
|
|
||||||
"ctrl-2": ["workspace::ActivatePane", 1],
|
|
||||||
"ctrl-3": ["workspace::ActivatePane", 2],
|
|
||||||
"ctrl-4": ["workspace::ActivatePane", 3],
|
|
||||||
"ctrl-5": ["workspace::ActivatePane", 4],
|
|
||||||
"ctrl-6": ["workspace::ActivatePane", 5],
|
|
||||||
"ctrl-7": ["workspace::ActivatePane", 6],
|
|
||||||
"ctrl-8": ["workspace::ActivatePane", 7],
|
|
||||||
"ctrl-9": ["workspace::ActivatePane", 8],
|
|
||||||
"ctrl-!": ["workspace::MoveItemToPane", { "destination": 0, "focus": true }],
|
|
||||||
"ctrl-@": ["workspace::MoveItemToPane", { "destination": 1 }],
|
|
||||||
"ctrl-#": ["workspace::MoveItemToPane", { "destination": 2 }],
|
|
||||||
"ctrl-$": ["workspace::MoveItemToPane", { "destination": 3 }],
|
|
||||||
"ctrl-%": ["workspace::MoveItemToPane", { "destination": 4 }],
|
|
||||||
"ctrl-^": ["workspace::MoveItemToPane", { "destination": 5 }],
|
|
||||||
"ctrl-&": ["workspace::MoveItemToPane", { "destination": 6 }],
|
|
||||||
"ctrl-*": ["workspace::MoveItemToPane", { "destination": 7 }],
|
|
||||||
"ctrl-(": ["workspace::MoveItemToPane", { "destination": 8 }]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -36,16 +18,13 @@
|
|||||||
"ctrl-shift-m": "editor::SelectLargerSyntaxNode",
|
"ctrl-shift-m": "editor::SelectLargerSyntaxNode",
|
||||||
"cmd-shift-l": "editor::SplitSelectionIntoLines",
|
"cmd-shift-l": "editor::SplitSelectionIntoLines",
|
||||||
"cmd-shift-a": "editor::SelectLargerSyntaxNode",
|
"cmd-shift-a": "editor::SelectLargerSyntaxNode",
|
||||||
"cmd-shift-d": "editor::DuplicateSelection",
|
"cmd-shift-d": "editor::DuplicateLineDown",
|
||||||
"ctrl-cmd-g": "editor::SelectAllMatches", // find_all_under
|
|
||||||
"f5": "editor::SortLinesCaseSensitive",
|
|
||||||
"ctrl-f5": "editor::SortLinesCaseInsensitive",
|
|
||||||
"shift-f12": "editor::FindAllReferences",
|
"shift-f12": "editor::FindAllReferences",
|
||||||
"alt-cmd-down": "editor::GoToDefinition",
|
"alt-cmd-down": "editor::GoToDefinition",
|
||||||
"ctrl-alt-cmd-down": "editor::GoToDefinitionSplit",
|
"ctrl-alt-cmd-down": "editor::GoToDefinitionSplit",
|
||||||
"alt-shift-cmd-down": "editor::FindAllReferences",
|
"alt-shift-cmd-down": "editor::FindAllReferences",
|
||||||
"ctrl-.": "editor::GoToHunk",
|
"ctrl-.": "editor::GoToHunk",
|
||||||
"ctrl-,": "editor::GoToPreviousHunk",
|
"ctrl-,": "editor::GoToPrevHunk",
|
||||||
"cmd-k cmd-u": "editor::ConvertToUpperCase",
|
"cmd-k cmd-u": "editor::ConvertToUpperCase",
|
||||||
"cmd-k cmd-l": "editor::ConvertToLowerCase",
|
"cmd-k cmd-l": "editor::ConvertToLowerCase",
|
||||||
"cmd-shift-j": "editor::JoinLines",
|
"cmd-shift-j": "editor::JoinLines",
|
||||||
@@ -64,7 +43,7 @@
|
|||||||
"context": "Pane",
|
"context": "Pane",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"f4": "search::SelectNextMatch",
|
"f4": "search::SelectNextMatch",
|
||||||
"shift-f4": "search::SelectPreviousMatch",
|
"shift-f4": "search::SelectPrevMatch",
|
||||||
"cmd-1": ["pane::ActivateItem", 0],
|
"cmd-1": ["pane::ActivateItem", 0],
|
||||||
"cmd-2": ["pane::ActivateItem", 1],
|
"cmd-2": ["pane::ActivateItem", 1],
|
||||||
"cmd-3": ["pane::ActivateItem", 2],
|
"cmd-3": ["pane::ActivateItem", 2],
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
"cmd-b": "editor::GoToDefinition",
|
"cmd-b": "editor::GoToDefinition",
|
||||||
"cmd-j": "editor::ScrollCursorCenter",
|
"cmd-j": "editor::ScrollCursorCenter",
|
||||||
"cmd-enter": "editor::NewlineBelow",
|
"cmd-enter": "editor::NewlineBelow",
|
||||||
"cmd-alt-enter": "editor::NewlineAbove",
|
"cmd-alt-enter": "editor::NewLineAbove",
|
||||||
"cmd-shift-l": "editor::SelectLine",
|
"cmd-shift-l": "editor::SelectLine",
|
||||||
"cmd-shift-t": "outline::Toggle",
|
"cmd-shift-t": "outline::Toggle",
|
||||||
"alt-backspace": "editor::DeleteToPreviousWordStart",
|
"alt-backspace": "editor::DeleteToPreviousWordStart",
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
"context": "BufferSearchBar",
|
"context": "BufferSearchBar",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"ctrl-s": "search::SelectNextMatch",
|
"ctrl-s": "search::SelectNextMatch",
|
||||||
"ctrl-shift-s": "search::SelectPreviousMatch"
|
"ctrl-shift-s": "search::SelectPrevMatch"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -70,7 +70,7 @@
|
|||||||
"bindings": {
|
"bindings": {
|
||||||
"cmd-backspace": ["project_panel::Trash", { "skip_prompt": true }],
|
"cmd-backspace": ["project_panel::Trash", { "skip_prompt": true }],
|
||||||
"cmd-d": "project_panel::Duplicate",
|
"cmd-d": "project_panel::Duplicate",
|
||||||
"cmd-n": "project_panel::NewDirectory",
|
"cmd-n": "project_panel::NewFolder",
|
||||||
"return": "project_panel::Rename",
|
"return": "project_panel::Rename",
|
||||||
"cmd-c": "project_panel::Copy",
|
"cmd-c": "project_panel::Copy",
|
||||||
"cmd-v": "project_panel::Paste",
|
"cmd-v": "project_panel::Paste",
|
||||||
|
|||||||
@@ -2,27 +2,21 @@
|
|||||||
// Standard macOS bindings
|
// Standard macOS bindings
|
||||||
{
|
{
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"home": "menu::SelectFirst",
|
"up": "menu::SelectPrev",
|
||||||
"shift-pageup": "menu::SelectFirst",
|
|
||||||
"pageup": "menu::SelectFirst",
|
"pageup": "menu::SelectFirst",
|
||||||
"cmd-up": "menu::SelectFirst",
|
"shift-pageup": "menu::SelectFirst",
|
||||||
"end": "menu::SelectLast",
|
"ctrl-p": "menu::SelectPrev",
|
||||||
"shift-pagedown": "menu::SelectLast",
|
|
||||||
"pagedown": "menu::SelectLast",
|
|
||||||
"cmd-down": "menu::SelectLast",
|
|
||||||
"tab": "menu::SelectNext",
|
|
||||||
"ctrl-n": "menu::SelectNext",
|
|
||||||
"down": "menu::SelectNext",
|
"down": "menu::SelectNext",
|
||||||
"shift-tab": "menu::SelectPrevious",
|
"pagedown": "menu::SelectLast",
|
||||||
"ctrl-p": "menu::SelectPrevious",
|
"shift-pagedown": "menu::SelectFirst",
|
||||||
"up": "menu::SelectPrevious",
|
"ctrl-n": "menu::SelectNext",
|
||||||
|
"cmd-up": "menu::SelectFirst",
|
||||||
|
"cmd-down": "menu::SelectLast",
|
||||||
"enter": "menu::Confirm",
|
"enter": "menu::Confirm",
|
||||||
"ctrl-enter": "menu::SecondaryConfirm",
|
"ctrl-enter": "menu::SecondaryConfirm",
|
||||||
"cmd-enter": "menu::SecondaryConfirm",
|
"cmd-enter": "menu::SecondaryConfirm",
|
||||||
"ctrl-escape": "menu::Cancel",
|
|
||||||
"cmd-escape": "menu::Cancel",
|
|
||||||
"ctrl-c": "menu::Cancel",
|
|
||||||
"escape": "menu::Cancel",
|
"escape": "menu::Cancel",
|
||||||
|
"ctrl-c": "menu::Cancel",
|
||||||
"cmd-q": "storybook::Quit",
|
"cmd-q": "storybook::Quit",
|
||||||
"backspace": "editor::Backspace",
|
"backspace": "editor::Backspace",
|
||||||
"delete": "editor::Delete",
|
"delete": "editor::Delete",
|
||||||
|
|||||||
@@ -1,28 +1,29 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"context": "VimControl && !menu",
|
"context": "VimControl && !menu",
|
||||||
|
"use_layout_keys": true,
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"i": ["vim::PushObject", { "around": false }],
|
"i": ["vim::PushOperator", { "Object": { "around": false } }],
|
||||||
"a": ["vim::PushObject", { "around": true }],
|
"a": ["vim::PushOperator", { "Object": { "around": true } }],
|
||||||
"left": "vim::Left",
|
|
||||||
"h": "vim::Left",
|
"h": "vim::Left",
|
||||||
"backspace": "vim::WrappingLeft",
|
"left": "vim::Left",
|
||||||
|
"backspace": "vim::Backspace",
|
||||||
|
"j": "vim::Down",
|
||||||
"down": "vim::Down",
|
"down": "vim::Down",
|
||||||
"ctrl-j": "vim::Down",
|
"ctrl-j": "vim::Down",
|
||||||
"j": "vim::Down",
|
"enter": "vim::NextLineStart",
|
||||||
"ctrl-m": "vim::NextLineStart",
|
"ctrl-m": "vim::NextLineStart",
|
||||||
"+": "vim::NextLineStart",
|
"+": "vim::NextLineStart",
|
||||||
"enter": "vim::NextLineStart",
|
|
||||||
"-": "vim::PreviousLineStart",
|
"-": "vim::PreviousLineStart",
|
||||||
"shift-tab": "vim::Tab",
|
|
||||||
"tab": "vim::Tab",
|
"tab": "vim::Tab",
|
||||||
"up": "vim::Up",
|
"shift-tab": "vim::Tab",
|
||||||
"k": "vim::Up",
|
"k": "vim::Up",
|
||||||
"right": "vim::Right",
|
"up": "vim::Up",
|
||||||
"l": "vim::Right",
|
"l": "vim::Right",
|
||||||
"space": "vim::WrappingRight",
|
"right": "vim::Right",
|
||||||
"end": "vim::EndOfLine",
|
"space": "vim::Space",
|
||||||
"$": "vim::EndOfLine",
|
"$": "vim::EndOfLine",
|
||||||
|
"end": "vim::EndOfLine",
|
||||||
"^": "vim::FirstNonWhitespace",
|
"^": "vim::FirstNonWhitespace",
|
||||||
"_": "vim::StartOfLineDownward",
|
"_": "vim::StartOfLineDownward",
|
||||||
"g _": "vim::EndOfLineDownward",
|
"g _": "vim::EndOfLineDownward",
|
||||||
@@ -32,18 +33,6 @@
|
|||||||
"(": "vim::SentenceBackward",
|
"(": "vim::SentenceBackward",
|
||||||
")": "vim::SentenceForward",
|
")": "vim::SentenceForward",
|
||||||
"|": "vim::GoToColumn",
|
"|": "vim::GoToColumn",
|
||||||
"] ]": "vim::NextSectionStart",
|
|
||||||
"] [": "vim::NextSectionEnd",
|
|
||||||
"[ [": "vim::PreviousSectionStart",
|
|
||||||
"[ ]": "vim::PreviousSectionEnd",
|
|
||||||
"] m": "vim::NextMethodStart",
|
|
||||||
"] shift-m": "vim::NextMethodEnd",
|
|
||||||
"[ m": "vim::PreviousMethodStart",
|
|
||||||
"[ shift-m": "vim::PreviousMethodEnd",
|
|
||||||
"[ *": "vim::PreviousComment",
|
|
||||||
"[ /": "vim::PreviousComment",
|
|
||||||
"] *": "vim::NextComment",
|
|
||||||
"] /": "vim::NextComment",
|
|
||||||
// Word motions
|
// Word motions
|
||||||
"w": "vim::NextWordStart",
|
"w": "vim::NextWordStart",
|
||||||
"e": "vim::NextWordEnd",
|
"e": "vim::NextWordEnd",
|
||||||
@@ -54,39 +43,34 @@
|
|||||||
// "b": "vim::PreviousSubwordStart",
|
// "b": "vim::PreviousSubwordStart",
|
||||||
// "e": "vim::NextSubwordEnd",
|
// "e": "vim::NextSubwordEnd",
|
||||||
// "g e": "vim::PreviousSubwordEnd",
|
// "g e": "vim::PreviousSubwordEnd",
|
||||||
"shift-w": ["vim::NextWordStart", { "ignore_punctuation": true }],
|
"shift-w": ["vim::NextWordStart", { "ignorePunctuation": true }],
|
||||||
"shift-e": ["vim::NextWordEnd", { "ignore_punctuation": true }],
|
"shift-e": ["vim::NextWordEnd", { "ignorePunctuation": true }],
|
||||||
"shift-b": ["vim::PreviousWordStart", { "ignore_punctuation": true }],
|
"shift-b": ["vim::PreviousWordStart", { "ignorePunctuation": true }],
|
||||||
"g shift-e": ["vim::PreviousWordEnd", { "ignore_punctuation": true }],
|
"g shift-e": ["vim::PreviousWordEnd", { "ignorePunctuation": true }],
|
||||||
"/": "vim::Search",
|
"/": "vim::Search",
|
||||||
"g /": "pane::DeploySearch",
|
"g /": "pane::DeploySearch",
|
||||||
"?": ["vim::Search", { "backwards": true }],
|
"?": ["vim::Search", { "backwards": true }],
|
||||||
"*": "vim::MoveToNext",
|
"*": "vim::MoveToNext",
|
||||||
"#": "vim::MoveToPrevious",
|
"#": "vim::MoveToPrev",
|
||||||
"n": "vim::MoveToNextMatch",
|
"n": "vim::MoveToNextMatch",
|
||||||
"shift-n": "vim::MoveToPreviousMatch",
|
"shift-n": "vim::MoveToPrevMatch",
|
||||||
"%": "vim::Matching",
|
"%": "vim::Matching",
|
||||||
"] }": ["vim::UnmatchedForward", { "char": "}" }],
|
"f": ["vim::PushOperator", { "FindForward": { "before": false } }],
|
||||||
"[ {": ["vim::UnmatchedBackward", { "char": "{" }],
|
"t": ["vim::PushOperator", { "FindForward": { "before": true } }],
|
||||||
"] )": ["vim::UnmatchedForward", { "char": ")" }],
|
"shift-f": ["vim::PushOperator", { "FindBackward": { "after": false } }],
|
||||||
"[ (": ["vim::UnmatchedBackward", { "char": "(" }],
|
"shift-t": ["vim::PushOperator", { "FindBackward": { "after": true } }],
|
||||||
"f": ["vim::PushFindForward", { "before": false }],
|
"m": ["vim::PushOperator", "Mark"],
|
||||||
"t": ["vim::PushFindForward", { "before": true }],
|
"'": ["vim::PushOperator", { "Jump": { "line": true } }],
|
||||||
"shift-f": ["vim::PushFindBackward", { "after": false }],
|
"`": ["vim::PushOperator", { "Jump": { "line": false } }],
|
||||||
"shift-t": ["vim::PushFindBackward", { "after": true }],
|
|
||||||
"m": "vim::PushMark",
|
|
||||||
"'": ["vim::PushJump", { "line": true }],
|
|
||||||
"`": ["vim::PushJump", { "line": false }],
|
|
||||||
";": "vim::RepeatFind",
|
";": "vim::RepeatFind",
|
||||||
",": "vim::RepeatFindReversed",
|
",": "vim::RepeatFindReversed",
|
||||||
"ctrl-o": "pane::GoBack",
|
"ctrl-o": "pane::GoBack",
|
||||||
"ctrl-i": "pane::GoForward",
|
"ctrl-i": "pane::GoForward",
|
||||||
"ctrl-]": "editor::GoToDefinition",
|
"ctrl-]": "editor::GoToDefinition",
|
||||||
"escape": "vim::SwitchToNormalMode",
|
"escape": ["vim::SwitchMode", "Normal"],
|
||||||
"ctrl-[": "vim::SwitchToNormalMode",
|
"ctrl-[": ["vim::SwitchMode", "Normal"],
|
||||||
"v": "vim::ToggleVisual",
|
"v": "vim::ToggleVisual",
|
||||||
"shift-v": "vim::ToggleVisualLine",
|
"shift-v": "vim::ToggleVisualLine",
|
||||||
"ctrl-g": "vim::ShowLocation",
|
|
||||||
"ctrl-v": "vim::ToggleVisualBlock",
|
"ctrl-v": "vim::ToggleVisualBlock",
|
||||||
"ctrl-q": "vim::ToggleVisualBlock",
|
"ctrl-q": "vim::ToggleVisualBlock",
|
||||||
"shift-k": "editor::Hover",
|
"shift-k": "editor::Hover",
|
||||||
@@ -102,17 +86,16 @@
|
|||||||
"ctrl-e": "vim::LineDown",
|
"ctrl-e": "vim::LineDown",
|
||||||
"ctrl-y": "vim::LineUp",
|
"ctrl-y": "vim::LineUp",
|
||||||
// "g" commands
|
// "g" commands
|
||||||
"g r": "vim::PushReplaceWithRegister",
|
|
||||||
"g g": "vim::StartOfDocument",
|
"g g": "vim::StartOfDocument",
|
||||||
"g h": "editor::Hover",
|
"g h": "editor::Hover",
|
||||||
"g t": "pane::ActivateNextItem",
|
"g t": "pane::ActivateNextItem",
|
||||||
"g shift-t": "pane::ActivatePreviousItem",
|
"g shift-t": "pane::ActivatePrevItem",
|
||||||
"g d": "editor::GoToDefinition",
|
"g d": "editor::GoToDefinition",
|
||||||
"g shift-d": "editor::GoToDeclaration",
|
"g shift-d": "editor::GoToDeclaration",
|
||||||
"g y": "editor::GoToTypeDefinition",
|
"g y": "editor::GoToTypeDefinition",
|
||||||
"g shift-i": "editor::GoToImplementation",
|
"g shift-i": "editor::GoToImplementation",
|
||||||
"g x": "editor::OpenUrl",
|
"g x": "editor::OpenUrl",
|
||||||
"g f": "editor::OpenSelectedFilename",
|
"g f": "editor::OpenFile",
|
||||||
"g n": "vim::SelectNextMatch",
|
"g n": "vim::SelectNextMatch",
|
||||||
"g shift-n": "vim::SelectPreviousMatch",
|
"g shift-n": "vim::SelectPreviousMatch",
|
||||||
"g l": "vim::SelectNext",
|
"g l": "vim::SelectNext",
|
||||||
@@ -125,20 +108,20 @@
|
|||||||
"g .": "editor::ToggleCodeActions", // zed specific
|
"g .": "editor::ToggleCodeActions", // zed specific
|
||||||
"g shift-a": "editor::FindAllReferences", // zed specific
|
"g shift-a": "editor::FindAllReferences", // zed specific
|
||||||
"g space": "editor::OpenExcerpts", // zed specific
|
"g space": "editor::OpenExcerpts", // zed specific
|
||||||
"g *": ["vim::MoveToNext", { "partial_word": true }],
|
"g *": ["vim::MoveToNext", { "partialWord": true }],
|
||||||
"g #": ["vim::MoveToPrevious", { "partial_word": true }],
|
"g #": ["vim::MoveToPrev", { "partialWord": true }],
|
||||||
"g j": ["vim::Down", { "display_lines": true }],
|
"g j": ["vim::Down", { "displayLines": true }],
|
||||||
"g down": ["vim::Down", { "display_lines": true }],
|
"g down": ["vim::Down", { "displayLines": true }],
|
||||||
"g k": ["vim::Up", { "display_lines": true }],
|
"g k": ["vim::Up", { "displayLines": true }],
|
||||||
"g up": ["vim::Up", { "display_lines": true }],
|
"g up": ["vim::Up", { "displayLines": true }],
|
||||||
"g $": ["vim::EndOfLine", { "display_lines": true }],
|
"g $": ["vim::EndOfLine", { "displayLines": true }],
|
||||||
"g end": ["vim::EndOfLine", { "display_lines": true }],
|
"g end": ["vim::EndOfLine", { "displayLines": true }],
|
||||||
"g 0": ["vim::StartOfLine", { "display_lines": true }],
|
"g 0": ["vim::StartOfLine", { "displayLines": true }],
|
||||||
"g home": ["vim::StartOfLine", { "display_lines": true }],
|
"g home": ["vim::StartOfLine", { "displayLines": true }],
|
||||||
"g ^": ["vim::FirstNonWhitespace", { "display_lines": true }],
|
"g ^": ["vim::FirstNonWhitespace", { "displayLines": true }],
|
||||||
"g v": "vim::RestoreVisualSelection",
|
"g v": "vim::RestoreVisualSelection",
|
||||||
"g ]": "editor::GoToDiagnostic",
|
"g ]": "editor::GoToDiagnostic",
|
||||||
"g [": "editor::GoToPreviousDiagnostic",
|
"g [": "editor::GoToPrevDiagnostic",
|
||||||
"g i": "vim::InsertAtPrevious",
|
"g i": "vim::InsertAtPrevious",
|
||||||
"g ,": "vim::ChangeListNewer",
|
"g ,": "vim::ChangeListNewer",
|
||||||
"g ;": "vim::ChangeListOlder",
|
"g ;": "vim::ChangeListOlder",
|
||||||
@@ -147,7 +130,7 @@
|
|||||||
"shift-l": "vim::WindowBottom",
|
"shift-l": "vim::WindowBottom",
|
||||||
"q": "vim::ToggleRecord",
|
"q": "vim::ToggleRecord",
|
||||||
"shift-q": "vim::ReplayLastRecording",
|
"shift-q": "vim::ReplayLastRecording",
|
||||||
"@": "vim::PushReplayRegister",
|
"@": ["vim::PushOperator", "ReplayRegister"],
|
||||||
// z commands
|
// z commands
|
||||||
"z enter": ["workspace::SendKeystrokes", "z t ^"],
|
"z enter": ["workspace::SendKeystrokes", "z t ^"],
|
||||||
"z -": ["workspace::SendKeystrokes", "z b ^"],
|
"z -": ["workspace::SendKeystrokes", "z b ^"],
|
||||||
@@ -166,8 +149,8 @@
|
|||||||
"z f": "editor::FoldSelectedRanges",
|
"z f": "editor::FoldSelectedRanges",
|
||||||
"z shift-m": "editor::FoldAll",
|
"z shift-m": "editor::FoldAll",
|
||||||
"z shift-r": "editor::UnfoldAll",
|
"z shift-r": "editor::UnfoldAll",
|
||||||
"shift-z shift-q": ["pane::CloseActiveItem", { "save_intent": "skip" }],
|
"shift-z shift-q": ["pane::CloseActiveItem", { "saveIntent": "skip" }],
|
||||||
"shift-z shift-z": ["pane::CloseActiveItem", { "save_intent": "save_all" }],
|
"shift-z shift-z": ["pane::CloseActiveItem", { "saveIntent": "saveAll" }],
|
||||||
// Count support
|
// Count support
|
||||||
"1": ["vim::Number", 1],
|
"1": ["vim::Number", 1],
|
||||||
"2": ["vim::Number", 2],
|
"2": ["vim::Number", 2],
|
||||||
@@ -189,18 +172,18 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "vim_mode == normal",
|
"context": "vim_mode == normal",
|
||||||
|
"use_layout_keys": true,
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"ctrl-[": "editor::Cancel",
|
|
||||||
"escape": "editor::Cancel",
|
"escape": "editor::Cancel",
|
||||||
|
"ctrl-[": "editor::Cancel",
|
||||||
":": "command_palette::Toggle",
|
":": "command_palette::Toggle",
|
||||||
".": "vim::Repeat",
|
".": "vim::Repeat",
|
||||||
"c": "vim::PushChange",
|
"c": ["vim::PushOperator", "Change"],
|
||||||
"shift-c": "vim::ChangeToEndOfLine",
|
"shift-c": "vim::ChangeToEndOfLine",
|
||||||
"d": "vim::PushDelete",
|
"d": ["vim::PushOperator", "Delete"],
|
||||||
"shift-d": "vim::DeleteToEndOfLine",
|
"shift-d": "vim::DeleteToEndOfLine",
|
||||||
"shift-j": "vim::JoinLines",
|
"shift-j": "vim::JoinLines",
|
||||||
"g shift-j": "vim::JoinLinesNoWhitespace",
|
"y": ["vim::PushOperator", "Yank"],
|
||||||
"y": "vim::PushYank",
|
|
||||||
"shift-y": "vim::YankLine",
|
"shift-y": "vim::YankLine",
|
||||||
"i": "vim::InsertBefore",
|
"i": "vim::InsertBefore",
|
||||||
"shift-i": "vim::InsertFirstNonWhitespace",
|
"shift-i": "vim::InsertFirstNonWhitespace",
|
||||||
@@ -217,63 +200,62 @@
|
|||||||
"shift-p": ["vim::Paste", { "before": true }],
|
"shift-p": ["vim::Paste", { "before": true }],
|
||||||
"u": "vim::Undo",
|
"u": "vim::Undo",
|
||||||
"ctrl-r": "vim::Redo",
|
"ctrl-r": "vim::Redo",
|
||||||
"r": "vim::PushReplace",
|
"r": ["vim::PushOperator", "Replace"],
|
||||||
"s": "vim::Substitute",
|
"s": "vim::Substitute",
|
||||||
"shift-s": "vim::SubstituteLine",
|
"shift-s": "vim::SubstituteLine",
|
||||||
">": "vim::PushIndent",
|
">": ["vim::PushOperator", "Indent"],
|
||||||
"<": "vim::PushOutdent",
|
"<": ["vim::PushOperator", "Outdent"],
|
||||||
"=": "vim::PushAutoIndent",
|
"g u": ["vim::PushOperator", "Lowercase"],
|
||||||
"!": "vim::PushShellCommand",
|
"g shift-u": ["vim::PushOperator", "Uppercase"],
|
||||||
"g u": "vim::PushLowercase",
|
"g ~": ["vim::PushOperator", "OppositeCase"],
|
||||||
"g shift-u": "vim::PushUppercase",
|
"\"": ["vim::PushOperator", "Register"],
|
||||||
"g ~": "vim::PushOppositeCase",
|
"g q": ["vim::PushOperator", "Rewrap"],
|
||||||
"\"": "vim::PushRegister",
|
"g w": ["vim::PushOperator", "Rewrap"],
|
||||||
"g w": "vim::PushRewrap",
|
|
||||||
"g q": "vim::PushRewrap",
|
|
||||||
"ctrl-pagedown": "pane::ActivateNextItem",
|
"ctrl-pagedown": "pane::ActivateNextItem",
|
||||||
"ctrl-pageup": "pane::ActivatePreviousItem",
|
"ctrl-pageup": "pane::ActivatePrevItem",
|
||||||
"insert": "vim::InsertBefore",
|
"insert": "vim::InsertBefore",
|
||||||
// tree-sitter related commands
|
// tree-sitter related commands
|
||||||
"[ x": "vim::SelectLargerSyntaxNode",
|
"[ x": "editor::SelectLargerSyntaxNode",
|
||||||
"] x": "vim::SelectSmallerSyntaxNode",
|
"] x": "editor::SelectSmallerSyntaxNode",
|
||||||
"] d": "editor::GoToDiagnostic",
|
"] d": "editor::GoToDiagnostic",
|
||||||
"[ d": "editor::GoToPreviousDiagnostic",
|
"[ d": "editor::GoToPrevDiagnostic",
|
||||||
"] c": "editor::GoToHunk",
|
"] c": "editor::GoToHunk",
|
||||||
"[ c": "editor::GoToPreviousHunk",
|
"[ c": "editor::GoToPrevHunk",
|
||||||
"g c": "vim::PushToggleComments"
|
"g c": ["vim::PushOperator", "ToggleComments"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "VimControl && VimCount",
|
"context": "VimControl && VimCount",
|
||||||
|
"use_layout_keys": true,
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"0": ["vim::Number", 0],
|
"0": ["vim::Number", 0],
|
||||||
":": "vim::CountCommand",
|
":": "vim::CountCommand"
|
||||||
"%": "vim::GoToPercentage"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "vim_mode == visual",
|
"context": "vim_mode == visual",
|
||||||
|
"use_layout_keys": true,
|
||||||
"bindings": {
|
"bindings": {
|
||||||
":": "vim::VisualCommand",
|
":": "vim::VisualCommand",
|
||||||
"u": "vim::ConvertToLowerCase",
|
"u": "vim::ConvertToLowerCase",
|
||||||
"shift-u": "vim::ConvertToUpperCase",
|
"shift-u": "vim::ConvertToUpperCase",
|
||||||
"shift-o": "vim::OtherEnd",
|
|
||||||
"o": "vim::OtherEnd",
|
"o": "vim::OtherEnd",
|
||||||
|
"shift-o": "vim::OtherEnd",
|
||||||
"d": "vim::VisualDelete",
|
"d": "vim::VisualDelete",
|
||||||
"x": "vim::VisualDelete",
|
"x": "vim::VisualDelete",
|
||||||
"shift-d": "vim::VisualDeleteLine",
|
"shift-d": "vim::VisualDeleteLine",
|
||||||
"shift-x": "vim::VisualDeleteLine",
|
"shift-x": "vim::VisualDeleteLine",
|
||||||
"y": "vim::VisualYank",
|
"y": "vim::VisualYank",
|
||||||
"shift-y": "vim::VisualYankLine",
|
"shift-y": "vim::VisualYank",
|
||||||
"p": "vim::Paste",
|
"p": "vim::Paste",
|
||||||
"shift-p": ["vim::Paste", { "preserve_clipboard": true }],
|
"shift-p": ["vim::Paste", { "preserveClipboard": true }],
|
||||||
"c": "vim::Substitute",
|
|
||||||
"s": "vim::Substitute",
|
"s": "vim::Substitute",
|
||||||
"shift-r": "vim::SubstituteLine",
|
|
||||||
"shift-s": "vim::SubstituteLine",
|
"shift-s": "vim::SubstituteLine",
|
||||||
|
"shift-r": "vim::SubstituteLine",
|
||||||
|
"c": "vim::Substitute",
|
||||||
"~": "vim::ChangeCase",
|
"~": "vim::ChangeCase",
|
||||||
"*": ["vim::MoveToNext", { "partial_word": true }],
|
"*": ["vim::MoveToNext", { "partialWord": true }],
|
||||||
"#": ["vim::MoveToPrevious", { "partial_word": true }],
|
"#": ["vim::MoveToPrev", { "partialWord": true }],
|
||||||
"ctrl-a": "vim::Increment",
|
"ctrl-a": "vim::Increment",
|
||||||
"ctrl-x": "vim::Decrement",
|
"ctrl-x": "vim::Decrement",
|
||||||
"g ctrl-a": ["vim::Increment", { "step": true }],
|
"g ctrl-a": ["vim::Increment", { "step": true }],
|
||||||
@@ -283,21 +265,17 @@
|
|||||||
"g shift-i": "vim::VisualInsertFirstNonWhiteSpace",
|
"g shift-i": "vim::VisualInsertFirstNonWhiteSpace",
|
||||||
"g shift-a": "vim::VisualInsertEndOfLine",
|
"g shift-a": "vim::VisualInsertEndOfLine",
|
||||||
"shift-j": "vim::JoinLines",
|
"shift-j": "vim::JoinLines",
|
||||||
"g shift-j": "vim::JoinLinesNoWhitespace",
|
"r": ["vim::PushOperator", "Replace"],
|
||||||
"r": "vim::PushReplace",
|
"ctrl-c": ["vim::SwitchMode", "Normal"],
|
||||||
"ctrl-c": "vim::SwitchToNormalMode",
|
"escape": ["vim::SwitchMode", "Normal"],
|
||||||
"ctrl-[": "vim::SwitchToNormalMode",
|
"ctrl-[": ["vim::SwitchMode", "Normal"],
|
||||||
"escape": "vim::SwitchToNormalMode",
|
|
||||||
">": "vim::Indent",
|
">": "vim::Indent",
|
||||||
"<": "vim::Outdent",
|
"<": "vim::Outdent",
|
||||||
"=": "vim::AutoIndent",
|
"i": ["vim::PushOperator", { "Object": { "around": false } }],
|
||||||
"!": "vim::ShellCommand",
|
"a": ["vim::PushOperator", { "Object": { "around": true } }],
|
||||||
"i": ["vim::PushObject", { "around": false }],
|
|
||||||
"a": ["vim::PushObject", { "around": true }],
|
|
||||||
"g r": ["vim::Paste", { "preserve_clipboard": true }],
|
|
||||||
"g c": "vim::ToggleComments",
|
"g c": "vim::ToggleComments",
|
||||||
"g q": "vim::Rewrap",
|
"g q": "vim::Rewrap",
|
||||||
"\"": "vim::PushRegister",
|
"\"": ["vim::PushOperator", "Register"],
|
||||||
// tree-sitter related commands
|
// tree-sitter related commands
|
||||||
"[ x": "editor::SelectLargerSyntaxNode",
|
"[ x": "editor::SelectLargerSyntaxNode",
|
||||||
"] x": "editor::SelectSmallerSyntaxNode"
|
"] x": "editor::SelectSmallerSyntaxNode"
|
||||||
@@ -305,49 +283,34 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "vim_mode == insert",
|
"context": "vim_mode == insert",
|
||||||
|
"use_layout_keys": true,
|
||||||
"bindings": {
|
"bindings": {
|
||||||
|
"escape": "vim::NormalBefore",
|
||||||
"ctrl-c": "vim::NormalBefore",
|
"ctrl-c": "vim::NormalBefore",
|
||||||
"ctrl-[": "vim::NormalBefore",
|
"ctrl-[": "vim::NormalBefore",
|
||||||
"escape": "vim::NormalBefore",
|
|
||||||
"ctrl-x": null,
|
"ctrl-x": null,
|
||||||
"ctrl-x ctrl-o": "editor::ShowCompletions",
|
"ctrl-x ctrl-o": "editor::ShowCompletions",
|
||||||
"ctrl-x ctrl-a": "assistant::InlineAssist", // zed specific
|
"ctrl-x ctrl-a": "assistant::InlineAssist", // zed specific
|
||||||
"ctrl-x ctrl-c": "editor::ShowEditPrediction", // zed specific
|
"ctrl-x ctrl-c": "editor::ShowInlineCompletion", // zed specific
|
||||||
"ctrl-x ctrl-l": "editor::ToggleCodeActions", // zed specific
|
"ctrl-x ctrl-l": "editor::ToggleCodeActions", // zed specific
|
||||||
"ctrl-x ctrl-z": "editor::Cancel",
|
"ctrl-x ctrl-z": "editor::Cancel",
|
||||||
"ctrl-w": "editor::DeleteToPreviousWordStart",
|
"ctrl-w": "editor::DeleteToPreviousWordStart",
|
||||||
"ctrl-u": "editor::DeleteToBeginningOfLine",
|
"ctrl-u": "editor::DeleteToBeginningOfLine",
|
||||||
"ctrl-t": "vim::Indent",
|
"ctrl-t": "vim::Indent",
|
||||||
"ctrl-d": "vim::Outdent",
|
"ctrl-d": "vim::Outdent",
|
||||||
"ctrl-k": ["vim::PushDigraph", {}],
|
"ctrl-k": ["vim::PushOperator", { "Digraph": {} }],
|
||||||
"ctrl-v": ["vim::PushLiteral", {}],
|
"ctrl-v": ["vim::PushOperator", { "Literal": {} }],
|
||||||
"ctrl-shift-v": "editor::Paste", // note: this is *very* similar to ctrl-v in vim, but ctrl-shift-v on linux is the typical shortcut for paste when ctrl-v is already in use.
|
"ctrl-shift-v": "editor::Paste", // note: this is *very* similar to ctrl-v in vim, but ctrl-shift-v on linux is the typical shortcut for paste when ctrl-v is already in use.
|
||||||
"ctrl-q": ["vim::PushLiteral", {}],
|
"ctrl-q": ["vim::PushOperator", { "Literal": {} }],
|
||||||
"ctrl-shift-q": ["vim::PushLiteral", {}],
|
"ctrl-shift-q": ["vim::PushOperator", { "Literal": {} }],
|
||||||
"ctrl-r": "vim::PushRegister",
|
"ctrl-r": ["vim::PushOperator", "Register"],
|
||||||
"insert": "vim::ToggleReplace",
|
"insert": "vim::ToggleReplace",
|
||||||
"ctrl-o": "vim::TemporaryNormal"
|
"ctrl-o": "vim::TemporaryNormal"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"context": "vim_mode == helix_normal",
|
|
||||||
"bindings": {
|
|
||||||
"i": "vim::InsertBefore",
|
|
||||||
"a": "vim::InsertAfter",
|
|
||||||
"d": "vim::HelixDelete",
|
|
||||||
"w": "vim::NextWordStart",
|
|
||||||
"e": "vim::NextWordEnd",
|
|
||||||
"b": "vim::PreviousWordStart",
|
|
||||||
|
|
||||||
"h": "vim::Left",
|
|
||||||
"j": "vim::Down",
|
|
||||||
"k": "vim::Up",
|
|
||||||
"l": "vim::Right"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
{
|
||||||
"context": "vim_mode == insert && !(showing_code_actions || showing_completions)",
|
"context": "vim_mode == insert && !(showing_code_actions || showing_completions)",
|
||||||
|
"use_layout_keys": true,
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"ctrl-p": "editor::ShowCompletions",
|
"ctrl-p": "editor::ShowCompletions",
|
||||||
"ctrl-n": "editor::ShowCompletions"
|
"ctrl-n": "editor::ShowCompletions"
|
||||||
@@ -355,15 +318,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "vim_mode == replace",
|
"context": "vim_mode == replace",
|
||||||
|
"use_layout_keys": true,
|
||||||
"bindings": {
|
"bindings": {
|
||||||
|
"escape": "vim::NormalBefore",
|
||||||
"ctrl-c": "vim::NormalBefore",
|
"ctrl-c": "vim::NormalBefore",
|
||||||
"ctrl-[": "vim::NormalBefore",
|
"ctrl-[": "vim::NormalBefore",
|
||||||
"escape": "vim::NormalBefore",
|
"ctrl-k": ["vim::PushOperator", { "Digraph": {} }],
|
||||||
"ctrl-k": ["vim::PushDigraph", {}],
|
"ctrl-v": ["vim::PushOperator", { "Literal": {} }],
|
||||||
"ctrl-v": ["vim::PushLiteral", {}],
|
|
||||||
"ctrl-shift-v": "editor::Paste", // note: this is *very* similar to ctrl-v in vim, but ctrl-shift-v on linux is the typical shortcut for paste when ctrl-v is already in use.
|
"ctrl-shift-v": "editor::Paste", // note: this is *very* similar to ctrl-v in vim, but ctrl-shift-v on linux is the typical shortcut for paste when ctrl-v is already in use.
|
||||||
"ctrl-q": ["vim::PushLiteral", {}],
|
"ctrl-q": ["vim::PushOperator", { "Literal": {} }],
|
||||||
"ctrl-shift-q": ["vim::PushLiteral", {}],
|
"ctrl-shift-q": ["vim::PushOperator", { "Literal": {} }],
|
||||||
"backspace": "vim::UndoReplace",
|
"backspace": "vim::UndoReplace",
|
||||||
"tab": "vim::Tab",
|
"tab": "vim::Tab",
|
||||||
"enter": "vim::Enter",
|
"enter": "vim::Enter",
|
||||||
@@ -372,52 +336,43 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "vim_mode == waiting",
|
"context": "vim_mode == waiting",
|
||||||
|
"use_layout_keys": true,
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"tab": "vim::Tab",
|
"tab": "vim::Tab",
|
||||||
"enter": "vim::Enter",
|
"enter": "vim::Enter",
|
||||||
|
"escape": "vim::ClearOperators",
|
||||||
"ctrl-c": "vim::ClearOperators",
|
"ctrl-c": "vim::ClearOperators",
|
||||||
"ctrl-[": "vim::ClearOperators",
|
"ctrl-[": "vim::ClearOperators",
|
||||||
"escape": "vim::ClearOperators",
|
"ctrl-k": ["vim::PushOperator", { "Digraph": {} }],
|
||||||
"ctrl-k": ["vim::PushDigraph", {}],
|
"ctrl-v": ["vim::PushOperator", { "Literal": {} }],
|
||||||
"ctrl-v": ["vim::PushLiteral", {}],
|
"ctrl-q": ["vim::PushOperator", { "Literal": {} }]
|
||||||
"ctrl-q": ["vim::PushLiteral", {}]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"context": "Editor && vim_mode == waiting && (vim_operator == ys || vim_operator == cs)",
|
|
||||||
"bindings": {
|
|
||||||
"escape": "vim::SwitchToNormalMode"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "vim_mode == operator",
|
"context": "vim_mode == operator",
|
||||||
|
"use_layout_keys": true,
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"ctrl-c": "vim::ClearOperators",
|
|
||||||
"ctrl-[": "vim::ClearOperators",
|
|
||||||
"escape": "vim::ClearOperators",
|
"escape": "vim::ClearOperators",
|
||||||
"g c": "vim::Comment"
|
"ctrl-c": "vim::ClearOperators",
|
||||||
|
"ctrl-[": "vim::ClearOperators"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "vim_operator == a || vim_operator == i || vim_operator == cs",
|
"context": "vim_operator == a || vim_operator == i || vim_operator == cs",
|
||||||
|
"use_layout_keys": true,
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"w": "vim::Word",
|
"w": "vim::Word",
|
||||||
"shift-w": ["vim::Word", { "ignore_punctuation": true }],
|
"shift-w": ["vim::Word", { "ignorePunctuation": true }],
|
||||||
// Subword TextObject
|
|
||||||
// "w": "vim::Subword",
|
|
||||||
// "shift-w": ["vim::Subword", { "ignore_punctuation": true }],
|
|
||||||
"t": "vim::Tag",
|
"t": "vim::Tag",
|
||||||
"s": "vim::Sentence",
|
"s": "vim::Sentence",
|
||||||
"p": "vim::Paragraph",
|
"p": "vim::Paragraph",
|
||||||
"'": "vim::Quotes",
|
"'": "vim::Quotes",
|
||||||
"`": "vim::BackQuotes",
|
"`": "vim::BackQuotes",
|
||||||
"\"": "vim::DoubleQuotes",
|
"\"": "vim::DoubleQuotes",
|
||||||
"q": "vim::AnyQuotes",
|
|
||||||
"|": "vim::VerticalBars",
|
"|": "vim::VerticalBars",
|
||||||
"(": "vim::Parentheses",
|
"(": "vim::Parentheses",
|
||||||
")": "vim::Parentheses",
|
")": "vim::Parentheses",
|
||||||
"b": "vim::Parentheses",
|
"b": "vim::Parentheses",
|
||||||
// "b": "vim::AnyBrackets",
|
|
||||||
"[": "vim::SquareBrackets",
|
"[": "vim::SquareBrackets",
|
||||||
"]": "vim::SquareBrackets",
|
"]": "vim::SquareBrackets",
|
||||||
"r": "vim::SquareBrackets",
|
"r": "vim::SquareBrackets",
|
||||||
@@ -426,37 +381,32 @@
|
|||||||
"shift-b": "vim::CurlyBrackets",
|
"shift-b": "vim::CurlyBrackets",
|
||||||
"<": "vim::AngleBrackets",
|
"<": "vim::AngleBrackets",
|
||||||
">": "vim::AngleBrackets",
|
">": "vim::AngleBrackets",
|
||||||
"a": "vim::Argument",
|
"a": "vim::AngleBrackets",
|
||||||
"i": "vim::IndentObj",
|
"g": "vim::Argument"
|
||||||
"shift-i": ["vim::IndentObj", { "include_below": true }],
|
|
||||||
"f": "vim::Method",
|
|
||||||
"c": "vim::Class",
|
|
||||||
"e": "vim::EntireFile"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "vim_operator == c",
|
"context": "vim_operator == c",
|
||||||
|
"use_layout_keys": true,
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"c": "vim::CurrentLine",
|
"c": "vim::CurrentLine",
|
||||||
"x": "vim::Exchange",
|
|
||||||
"d": "editor::Rename", // zed specific
|
"d": "editor::Rename", // zed specific
|
||||||
"s": ["vim::PushChangeSurrounds", {}]
|
"s": ["vim::PushOperator", { "ChangeSurrounds": {} }]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "vim_operator == d",
|
"context": "vim_operator == d",
|
||||||
|
"use_layout_keys": true,
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"d": "vim::CurrentLine",
|
"d": "vim::CurrentLine",
|
||||||
"s": "vim::PushDeleteSurrounds",
|
"s": ["vim::PushOperator", "DeleteSurrounds"],
|
||||||
"o": "editor::ToggleSelectedDiffHunks", // "d o"
|
"o": "editor::ToggleHunkDiff", // "d o"
|
||||||
"shift-o": "git::ToggleStaged",
|
"p": "editor::RevertSelectedHunks" // "d p"
|
||||||
"p": "git::Restore", // "d p"
|
|
||||||
"u": "git::StageAndNext", // "d u"
|
|
||||||
"shift-u": "git::UnstageAndNext" // "d shift-u"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "vim_operator == gu",
|
"context": "vim_operator == gu",
|
||||||
|
"use_layout_keys": true,
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"g u": "vim::CurrentLine",
|
"g u": "vim::CurrentLine",
|
||||||
"u": "vim::CurrentLine"
|
"u": "vim::CurrentLine"
|
||||||
@@ -464,6 +414,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "vim_operator == gU",
|
"context": "vim_operator == gU",
|
||||||
|
"use_layout_keys": true,
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"g shift-u": "vim::CurrentLine",
|
"g shift-u": "vim::CurrentLine",
|
||||||
"shift-u": "vim::CurrentLine"
|
"shift-u": "vim::CurrentLine"
|
||||||
@@ -471,6 +422,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "vim_operator == g~",
|
"context": "vim_operator == g~",
|
||||||
|
"use_layout_keys": true,
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"g ~": "vim::CurrentLine",
|
"g ~": "vim::CurrentLine",
|
||||||
"~": "vim::CurrentLine"
|
"~": "vim::CurrentLine"
|
||||||
@@ -478,6 +430,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "vim_operator == gq",
|
"context": "vim_operator == gq",
|
||||||
|
"use_layout_keys": true,
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"g q": "vim::CurrentLine",
|
"g q": "vim::CurrentLine",
|
||||||
"q": "vim::CurrentLine",
|
"q": "vim::CurrentLine",
|
||||||
@@ -487,62 +440,43 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "vim_operator == y",
|
"context": "vim_operator == y",
|
||||||
|
"use_layout_keys": true,
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"y": "vim::CurrentLine",
|
"y": "vim::CurrentLine",
|
||||||
"s": ["vim::PushAddSurrounds", {}]
|
"s": ["vim::PushOperator", { "AddSurrounds": {} }]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "vim_operator == ys",
|
"context": "vim_operator == ys",
|
||||||
|
"use_layout_keys": true,
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"s": "vim::CurrentLine"
|
"s": "vim::CurrentLine"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "vim_operator == >",
|
"context": "vim_operator == >",
|
||||||
|
"use_layout_keys": true,
|
||||||
"bindings": {
|
"bindings": {
|
||||||
">": "vim::CurrentLine"
|
">": "vim::CurrentLine"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "vim_operator == <",
|
"context": "vim_operator == <",
|
||||||
|
"use_layout_keys": true,
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"<": "vim::CurrentLine"
|
"<": "vim::CurrentLine"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"context": "vim_operator == eq",
|
|
||||||
"bindings": {
|
|
||||||
"=": "vim::CurrentLine"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"context": "vim_operator == sh",
|
|
||||||
"bindings": {
|
|
||||||
"!": "vim::CurrentLine"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"context": "vim_operator == gc",
|
"context": "vim_operator == gc",
|
||||||
|
"use_layout_keys": true,
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"c": "vim::CurrentLine"
|
"c": "vim::CurrentLine"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"context": "vim_operator == gr",
|
|
||||||
"bindings": {
|
|
||||||
"r": "vim::CurrentLine"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"context": "vim_operator == cx",
|
|
||||||
"bindings": {
|
|
||||||
"x": "vim::CurrentLine",
|
|
||||||
"c": "vim::ClearExchange"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"context": "vim_mode == literal",
|
"context": "vim_mode == literal",
|
||||||
|
"use_layout_keys": true,
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"ctrl-@": ["vim::Literal", ["ctrl-@", "\u0000"]],
|
"ctrl-@": ["vim::Literal", ["ctrl-@", "\u0000"]],
|
||||||
"ctrl-a": ["vim::Literal", ["ctrl-a", "\u0001"]],
|
"ctrl-a": ["vim::Literal", ["ctrl-a", "\u0001"]],
|
||||||
@@ -586,71 +520,66 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "BufferSearchBar && !in_replace",
|
"context": "BufferSearchBar && !in_replace",
|
||||||
|
"use_layout_keys": true,
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"enter": "vim::SearchSubmit",
|
"enter": "vim::SearchSubmit",
|
||||||
"escape": "buffer_search::Dismiss"
|
"escape": "buffer_search::Dismiss"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "GitPanel || ProjectPanel || CollabPanel || OutlinePanel || ChatPanel || VimControl || EmptyPane || SharedScreen || MarkdownPreview || KeyContextView",
|
"context": "ProjectPanel || CollabPanel || OutlinePanel || ChatPanel || VimControl || EmptyPane || SharedScreen || MarkdownPreview || KeyContextView",
|
||||||
|
"use_layout_keys": true,
|
||||||
"bindings": {
|
"bindings": {
|
||||||
// window related commands (ctrl-w X)
|
// window related commands (ctrl-w X)
|
||||||
"ctrl-w": null,
|
"ctrl-w": null,
|
||||||
"ctrl-w left": "workspace::ActivatePaneLeft",
|
"ctrl-w left": ["workspace::ActivatePaneInDirection", "Left"],
|
||||||
"ctrl-w right": "workspace::ActivatePaneRight",
|
"ctrl-w right": ["workspace::ActivatePaneInDirection", "Right"],
|
||||||
"ctrl-w up": "workspace::ActivatePaneUp",
|
"ctrl-w up": ["workspace::ActivatePaneInDirection", "Up"],
|
||||||
"ctrl-w down": "workspace::ActivatePaneDown",
|
"ctrl-w down": ["workspace::ActivatePaneInDirection", "Down"],
|
||||||
"ctrl-w ctrl-h": "workspace::ActivatePaneLeft",
|
"ctrl-w h": ["workspace::ActivatePaneInDirection", "Left"],
|
||||||
"ctrl-w ctrl-l": "workspace::ActivatePaneRight",
|
"ctrl-w l": ["workspace::ActivatePaneInDirection", "Right"],
|
||||||
"ctrl-w ctrl-k": "workspace::ActivatePaneUp",
|
"ctrl-w k": ["workspace::ActivatePaneInDirection", "Up"],
|
||||||
"ctrl-w ctrl-j": "workspace::ActivatePaneDown",
|
"ctrl-w j": ["workspace::ActivatePaneInDirection", "Down"],
|
||||||
"ctrl-w h": "workspace::ActivatePaneLeft",
|
"ctrl-w ctrl-h": ["workspace::ActivatePaneInDirection", "Left"],
|
||||||
"ctrl-w l": "workspace::ActivatePaneRight",
|
"ctrl-w ctrl-l": ["workspace::ActivatePaneInDirection", "Right"],
|
||||||
"ctrl-w k": "workspace::ActivatePaneUp",
|
"ctrl-w ctrl-k": ["workspace::ActivatePaneInDirection", "Up"],
|
||||||
"ctrl-w j": "workspace::ActivatePaneDown",
|
"ctrl-w ctrl-j": ["workspace::ActivatePaneInDirection", "Down"],
|
||||||
"ctrl-w shift-left": "workspace::SwapPaneLeft",
|
"ctrl-w shift-left": ["workspace::SwapPaneInDirection", "Left"],
|
||||||
"ctrl-w shift-right": "workspace::SwapPaneRight",
|
"ctrl-w shift-right": ["workspace::SwapPaneInDirection", "Right"],
|
||||||
"ctrl-w shift-up": "workspace::SwapPaneUp",
|
"ctrl-w shift-up": ["workspace::SwapPaneInDirection", "Up"],
|
||||||
"ctrl-w shift-down": "workspace::SwapPaneDown",
|
"ctrl-w shift-down": ["workspace::SwapPaneInDirection", "Down"],
|
||||||
"ctrl-w shift-h": "workspace::SwapPaneLeft",
|
"ctrl-w shift-h": ["workspace::SwapPaneInDirection", "Left"],
|
||||||
"ctrl-w shift-l": "workspace::SwapPaneRight",
|
"ctrl-w shift-l": ["workspace::SwapPaneInDirection", "Right"],
|
||||||
"ctrl-w shift-k": "workspace::SwapPaneUp",
|
"ctrl-w shift-k": ["workspace::SwapPaneInDirection", "Up"],
|
||||||
"ctrl-w shift-j": "workspace::SwapPaneDown",
|
"ctrl-w shift-j": ["workspace::SwapPaneInDirection", "Down"],
|
||||||
"ctrl-w >": "vim::ResizePaneRight",
|
|
||||||
"ctrl-w <": "vim::ResizePaneLeft",
|
|
||||||
"ctrl-w -": "vim::ResizePaneDown",
|
|
||||||
"ctrl-w +": "vim::ResizePaneUp",
|
|
||||||
"ctrl-w _": "vim::MaximizePane",
|
|
||||||
"ctrl-w =": "vim::ResetPaneSizes",
|
|
||||||
"ctrl-w g t": "pane::ActivateNextItem",
|
"ctrl-w g t": "pane::ActivateNextItem",
|
||||||
"ctrl-w ctrl-g t": "pane::ActivateNextItem",
|
"ctrl-w ctrl-g t": "pane::ActivateNextItem",
|
||||||
"ctrl-w g shift-t": "pane::ActivatePreviousItem",
|
"ctrl-w g shift-t": "pane::ActivatePrevItem",
|
||||||
"ctrl-w ctrl-g shift-t": "pane::ActivatePreviousItem",
|
"ctrl-w ctrl-g shift-t": "pane::ActivatePrevItem",
|
||||||
"ctrl-w w": "workspace::ActivateNextPane",
|
"ctrl-w w": "workspace::ActivateNextPane",
|
||||||
"ctrl-w ctrl-w": "workspace::ActivateNextPane",
|
"ctrl-w ctrl-w": "workspace::ActivateNextPane",
|
||||||
"ctrl-w p": "workspace::ActivatePreviousPane",
|
"ctrl-w p": "workspace::ActivatePreviousPane",
|
||||||
"ctrl-w ctrl-p": "workspace::ActivatePreviousPane",
|
"ctrl-w ctrl-p": "workspace::ActivatePreviousPane",
|
||||||
"ctrl-w shift-w": "workspace::ActivatePreviousPane",
|
"ctrl-w shift-w": "workspace::ActivatePreviousPane",
|
||||||
"ctrl-w ctrl-shift-w": "workspace::ActivatePreviousPane",
|
"ctrl-w ctrl-shift-w": "workspace::ActivatePreviousPane",
|
||||||
"ctrl-w ctrl-v": "pane::SplitVertical",
|
|
||||||
"ctrl-w v": "pane::SplitVertical",
|
"ctrl-w v": "pane::SplitVertical",
|
||||||
|
"ctrl-w ctrl-v": "pane::SplitVertical",
|
||||||
|
"ctrl-w s": "pane::SplitHorizontal",
|
||||||
"ctrl-w shift-s": "pane::SplitHorizontal",
|
"ctrl-w shift-s": "pane::SplitHorizontal",
|
||||||
"ctrl-w ctrl-s": "pane::SplitHorizontal",
|
"ctrl-w ctrl-s": "pane::SplitHorizontal",
|
||||||
"ctrl-w s": "pane::SplitHorizontal",
|
"ctrl-w c": "pane::CloseAllItems",
|
||||||
"ctrl-w ctrl-c": "pane::CloseActiveItem",
|
"ctrl-w ctrl-c": "pane::CloseAllItems",
|
||||||
"ctrl-w c": "pane::CloseActiveItem",
|
"ctrl-w q": "pane::CloseAllItems",
|
||||||
"ctrl-w ctrl-q": "pane::CloseActiveItem",
|
"ctrl-w ctrl-q": "pane::CloseAllItems",
|
||||||
"ctrl-w q": "pane::CloseActiveItem",
|
|
||||||
"ctrl-w ctrl-a": "pane::CloseAllItems",
|
|
||||||
"ctrl-w a": "pane::CloseAllItems",
|
|
||||||
"ctrl-w ctrl-o": "workspace::CloseInactiveTabsAndPanes",
|
|
||||||
"ctrl-w o": "workspace::CloseInactiveTabsAndPanes",
|
"ctrl-w o": "workspace::CloseInactiveTabsAndPanes",
|
||||||
"ctrl-w ctrl-n": "workspace::NewFileSplitHorizontal",
|
"ctrl-w ctrl-o": "workspace::CloseInactiveTabsAndPanes",
|
||||||
"ctrl-w n": "workspace::NewFileSplitHorizontal"
|
"ctrl-w n": "workspace::NewFileSplitHorizontal",
|
||||||
|
"ctrl-w ctrl-n": "workspace::NewFileSplitHorizontal"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "ChangesList || EmptyPane || SharedScreen || MarkdownPreview || KeyContextView || Welcome",
|
"context": "EmptyPane || SharedScreen || MarkdownPreview || KeyContextView",
|
||||||
|
"use_layout_keys": true,
|
||||||
"bindings": {
|
"bindings": {
|
||||||
":": "command_palette::Toggle",
|
":": "command_palette::Toggle",
|
||||||
"g /": "pane::DeploySearch"
|
"g /": "pane::DeploySearch"
|
||||||
@@ -659,6 +588,7 @@
|
|||||||
{
|
{
|
||||||
// netrw compatibility
|
// netrw compatibility
|
||||||
"context": "ProjectPanel && not_editing",
|
"context": "ProjectPanel && not_editing",
|
||||||
|
"use_layout_keys": true,
|
||||||
"bindings": {
|
"bindings": {
|
||||||
":": "command_palette::Toggle",
|
":": "command_palette::Toggle",
|
||||||
"%": "project_panel::NewFile",
|
"%": "project_panel::NewFile",
|
||||||
@@ -668,7 +598,7 @@
|
|||||||
"escape": "project_panel::ToggleFocus",
|
"escape": "project_panel::ToggleFocus",
|
||||||
"h": "project_panel::CollapseSelectedEntry",
|
"h": "project_panel::CollapseSelectedEntry",
|
||||||
"j": "menu::SelectNext",
|
"j": "menu::SelectNext",
|
||||||
"k": "menu::SelectPrevious",
|
"k": "menu::SelectPrev",
|
||||||
"l": "project_panel::ExpandSelectedEntry",
|
"l": "project_panel::ExpandSelectedEntry",
|
||||||
"o": "project_panel::OpenPermanent",
|
"o": "project_panel::OpenPermanent",
|
||||||
"shift-d": "project_panel::Delete",
|
"shift-d": "project_panel::Delete",
|
||||||
@@ -678,12 +608,6 @@
|
|||||||
"p": "project_panel::Open",
|
"p": "project_panel::Open",
|
||||||
"x": "project_panel::RevealInFileManager",
|
"x": "project_panel::RevealInFileManager",
|
||||||
"s": "project_panel::OpenWithSystem",
|
"s": "project_panel::OpenWithSystem",
|
||||||
"] c": "project_panel::SelectNextGitEntry",
|
|
||||||
"[ c": "project_panel::SelectPrevGitEntry",
|
|
||||||
"] d": "project_panel::SelectNextDiagnostic",
|
|
||||||
"[ d": "project_panel::SelectPrevDiagnostic",
|
|
||||||
"}": "project_panel::SelectNextDirectory",
|
|
||||||
"{": "project_panel::SelectPrevDirectory",
|
|
||||||
"shift-g": "menu::SelectLast",
|
"shift-g": "menu::SelectLast",
|
||||||
"g g": "menu::SelectFirst",
|
"g g": "menu::SelectFirst",
|
||||||
"-": "project_panel::SelectParent",
|
"-": "project_panel::SelectParent",
|
||||||
@@ -692,43 +616,12 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "OutlinePanel && not_editing",
|
"context": "OutlinePanel && not_editing",
|
||||||
|
"use_layout_keys": true,
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"j": "menu::SelectNext",
|
"j": "menu::SelectNext",
|
||||||
"k": "menu::SelectPrevious",
|
"k": "menu::SelectPrev",
|
||||||
"shift-g": "menu::SelectLast",
|
"shift-g": "menu::SelectLast",
|
||||||
"g g": "menu::SelectFirst"
|
"g g": "menu::SelectFirst"
|
||||||
}
|
}
|
||||||
},
|
|
||||||
{
|
|
||||||
"context": "GitPanel && ChangesList",
|
|
||||||
"use_key_equivalents": true,
|
|
||||||
"bindings": {
|
|
||||||
"k": "menu::SelectPrevious",
|
|
||||||
"j": "menu::SelectNext",
|
|
||||||
"g g": "menu::SelectFirst",
|
|
||||||
"shift-g": "menu::SelectLast",
|
|
||||||
"g f": "menu::Confirm",
|
|
||||||
"i": "git_panel::FocusEditor",
|
|
||||||
"x": "git::ToggleStaged",
|
|
||||||
"shift-x": "git::StageAll",
|
|
||||||
"shift-u": "git::UnstageAll"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"context": "Editor && edit_prediction",
|
|
||||||
"bindings": {
|
|
||||||
// This is identical to the binding in the base keymap, but the vim bindings above to
|
|
||||||
// "vim::Tab" shadow it, so it needs to be bound again.
|
|
||||||
"tab": "editor::AcceptEditPrediction"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"context": "os != macos && Editor && edit_prediction_conflict",
|
|
||||||
"bindings": {
|
|
||||||
// alt-l is provided as an alternative to tab/alt-tab. and will be displayed in the UI. This
|
|
||||||
// is because alt-tab may not be available, as it is often used for window switching on Linux
|
|
||||||
// and Windows.
|
|
||||||
"alt-l": "editor::AcceptEditPrediction"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||