Last active
September 21, 2023 15:09
-
-
Save ryanwinchester/1355b782573b27be07aae6bd6945cafb to your computer and use it in GitHub Desktop.
Zed Config
This file contains 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
Show hidden characters
[ | |
{ | |
"context": "Editor", | |
"bindings": { | |
// ----------------------------------------------------------------------- | |
// VS Code keybindings | |
// ----------------------------------------------------------------------- | |
// https://code.visualstudio.com/docs/getstarted/keybindings#_basic-editing | |
// | |
// In VS Code this moves either the current line or selection up or down. | |
// It's also indentation-aware. | |
// `Move Line Down ⌥↓ editor.action.moveLinesDownAction` | |
// `Move Line Up ⌥↑ editor.action.moveLinesUpAction` | |
"alt-up": "editor::MoveLineUp", | |
"alt-down": "editor::MoveLineDown", | |
// In VS Code you can copy the current line or selection up or down. | |
// `Copy Line Down ⇧⌥↓ editor.action.copyLinesDownAction` | |
// `Copy Line Up ⇧⌥↑ editor.action.copyLinesUpAction` | |
// | |
// Suggestion: DuplicatesLineUp and DuplicateLinesDown: | |
// - "alt-shift-up": "editor::DuplicateLineUp", | |
// - "alt-shift-down": "editor::DuplicateLineDown", | |
"alt-shift-up": "editor::DuplicateLine", | |
"alt-shift-down": "editor::DuplicateLine" | |
} | |
} | |
] |
This file contains 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 settings | |
// | |
// For information on how to configure Zed, see the Zed | |
// documentation: https://zed.dev/docs/configuring-zed | |
// | |
// To see all of Zed's default settings without changing your | |
// custom settings, run the `open default settings` command | |
// from the command palette or from `Zed` application menu. | |
{ | |
"base_keymap": "VSCode", | |
"theme": "One Dark", | |
"telemetry": { | |
"diagnostics": false, | |
"metrics": false | |
}, | |
"buffer_font_family": "Berkeley Mono Variable", | |
"buffer_font_size": 15, | |
"format_on_save": "off", | |
"preferred_line_length": 80, | |
"show_whitespaces": "selection", | |
"soft_wrap": "editor_width", | |
"vim_mode": false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment