-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Labels
editorFeedback for code editing, formatting, editor iterations, etcFeedback for code editing, formatting, editor iterations, etcgood first issueIssue suitable for first-time contributorsIssue suitable for first-time contributorskeybindsKeyboard shortcuts, mapping, binding, keymaps, etcKeyboard shortcuts, mapping, binding, keymaps, etc
Description
Summary
VSCode base keymap in Zed doesn't toggle word wrap on Alt+Z like VSCode.
Description
There's editor: toogle soft wrap
keybind in Zed that does basically the same thing as Alt+Z in VSCode, so perhaps it should be mapper to Alt+Z with VSCode base keymap.
Steps to reproduce:
- Get a file with a long line of text
- Set base keymap to VSCode
- Open the file in Zed and VSCode
- Press Alt+Z in Zed
- Press Alt+Z in VSCode
Expected Behavior:
Zed should toggle word wrap like VSCode does on Alt+Z
Actual Behavior:
Zed doesn't toggle word wrap even though it uses VSCode base keymap
keymap.json
[
{
"context": "Workspace",
"bindings": {
// "shift shift": "file_finder::Toggle"
}
},
{
"context": "Editor && vim_mode == insert",
"bindings": {
// "j k": "vim::NormalBefore"
}
},
{
"context": "Terminal",
"bindings": {
"ctrl-c": "terminal::Copy"
}
},
{
"context": "Terminal",
"bindings": {
"ctrl-v": "terminal::Paste"
}
},
{
"context": "Terminal",
"bindings": {
"ctrl-shift-c": [
"terminal::SendKeystroke",
"ctrl-c"
]
}
}
]
settings.json
{
"format_on_save": "off",
"hard_tabs": false,
"icon_theme": "Colored Zed Icons Theme Light",
"ui_font_size": 16,
"buffer_font_size": 16,
"theme": {
"mode": "system",
"light": "One Light",
"dark": "Catppuccin Mocha"
},
"disable_ai": true,
"terminal": {
"copy_on_select": true
}
}
Zed Version and System Specs
Zed: v0.206.7 (Zed)
OS: Linux Wayland arch unknown
Memory: 13.5 GiB
Architecture: x86_64
GPU: AMD Radeon Graphics (RADV RENOIR) || radv || Mesa 25.2.3-arch1.1
Metadata
Metadata
Assignees
Labels
editorFeedback for code editing, formatting, editor iterations, etcFeedback for code editing, formatting, editor iterations, etcgood first issueIssue suitable for first-time contributorsIssue suitable for first-time contributorskeybindsKeyboard shortcuts, mapping, binding, keymaps, etcKeyboard shortcuts, mapping, binding, keymaps, etc