Last active
May 8, 2026 06:04
-
-
Save kj800x/779f60505a5318e941e4a6d0bf2c4a3c to your computer and use it in GitHub Desktop.
Zed config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| Zed Config — May 2026 | |
| Base setup | |
| - Base keymap: JetBrains | |
| - Project panel: left (JetBrains default puts it right) | |
| - Preview tabs: disabled (files always open permanently) | |
| - Vim mode: off (toggle anytime via command palette) | |
| Editor settings (ported from Cursor) | |
| - Tab size: 2 | |
| - Format on save, trim trailing whitespace, insert final newline | |
| - Ruler at column 80 | |
| Keybindings (~/.config/zed/keymap.json) | |
| Shortcuts shown as `mac / linux`. Where only one is given, it's the same on both. | |
| ┌───────────────────────────────────────────┬───────────────────────┬────────────────────────────────────────────────────────────┐ | |
| │ Key │ Action │ Notes │ | |
| ├───────────────────────────────────────────┼───────────────────────┼────────────────────────────────────────────────────────────┤ | |
| │ cmd-enter / ctrl-enter │ Code actions │ Was cmd-. / ctrl-. │ | |
| ├───────────────────────────────────────────┼───────────────────────┼────────────────────────────────────────────────────────────┤ | |
| │ cmd-o, cmd-shift-e / ctrl-o, ctrl-shift-e │ Open recent project │ Was cmd-shift-o / ctrl-r. cmd-shift-e (ctrl-shift-e) must │ | |
| │ │ │ be bound in Editor context to beat JetBrains default │ | |
| │ │ │ (focus project panel) │ | |
| ├───────────────────────────────────────────┼───────────────────────┼────────────────────────────────────────────────────────────┤ | |
| │ cmd-[ / cmd-] (mac) │ Navigate back/forward │ Mac: already in JetBrains keymap, no override needed. │ | |
| │ ctrl-[ / ctrl-] (linux) │ │ Linux: must override — JetBrains default binds these to │ | |
| │ │ │ indent/outdent, and navigate is ctrl-alt-left/right │ | |
| ├───────────────────────────────────────────┼───────────────────────┼────────────────────────────────────────────────────────────┤ | |
| │ shift shift │ Search symbol │ Overrides JetBrains default (command palette) │ | |
| ├───────────────────────────────────────────┼───────────────────────┼────────────────────────────────────────────────────────────┤ | |
| │ cmd-d / ctrl-d │ Delete line │ Was shift-cmd-k / shift-ctrl-k │ | |
| ├───────────────────────────────────────────┼───────────────────────┼────────────────────────────────────────────────────────────┤ | |
| │ cmd-1 / ctrl-1 │ Toggle terminal panel │ Applied in Editor, Workspace, and Terminal contexts │ | |
| └───────────────────────────────────────────┴───────────────────────┴────────────────────────────────────────────────────────────┘ | |
| Files | |
| - ~/.config/zed/keymap.json | |
| - ~/.config/zed/settings.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment