This commit is contained in:
2025-03-17 11:43:53 +01:00
parent 101dce62df
commit c908c09d09
2 changed files with 46 additions and 2 deletions

View File

@@ -6,6 +6,12 @@
// To see the default key bindings run `zed: open default keymap`
// from the command palette.
[
{
"context": "",
"bindings": {
"ctrl-q": null, // "zed::Quit",
}
},
{
"context": "Workspace",
"bindings": {
@@ -44,7 +50,7 @@
}
},
{
"context": "Editor",
"context": "Editor && mode == full",
"bindings": {
"alt-f3": "editor::SelectAllMatches", // Select all occurrences of current word
"alt-d": ["editor::SelectNext", { "replace_newest": false }],
@@ -67,7 +73,6 @@
// "ctrl-shift-enter": "editor::FindAllReferences",
"ctrl-enter": "editor::GoToDefinition", // TODO: open-url, and somehow disable FindAllReferences fallback behavior here
// "ctrl-enter": ["editor::GoToDefinition", "editor::OpenUrl"],
"ctrl-q": null, // "zed::Quit",
// i'm confused
"ctrl-shift-c": "editor::Copy",

View File

@@ -26,9 +26,15 @@
"theme": "Railscast",
"use_autoclose": false,
"ui_font_features": {
"liga": false,
"ss02": false,
"zero": false,
"calt": false // disable ligatures
},
"buffer_font_features": {
"liga": false,
"ss02": false,
"zero": false,
"calt": false // disable ligatures
// "font_family": "Cousine"
},
@@ -114,4 +120,37 @@
"file_types": {
"CMake": ["CMakeLists.txt"]
}
// "languages": {
// "Python": {
// "language_servers": ["pylsp", "!pyright", "!basedpyright"]
// // "enable_language_server": false,
// // "preferred_line_length": 120
// }
// },
// "lsp": {
// "pyright": { "enabled": false },
// "basedpyright": { "enabled": false },
// "pylsp": {
// "plugins": {
// "autopep8": { "enabled": false }, // formatting
// "flake8": { "enabled": false }, // error checking
// "jedi_completion": { "enabled": true },
// "jedi_definition": { "enabled": true },
// "jedi_hover": { "enabled": true },
// "jedi_references": { "enabled": true },
// "jedi_signature_help": { "enabled": true },
// "jedi_symbols": { "enabled": true },
// "mccabe": { "enabled": false }, // complexity checking
// "preload": { "enabled": false }, // dunnolo
// "pycodestyle": { "enabled": false }, // style checking
// "pydocstyle": { "enabled": false }, // doc style checking
// "pyflakes": { "enabled": false }, // error linting
// "pylint": { "enabled": false }, // code linting
// "rope_autoimport": { "enabled": false }, // completions and linting
// "rope_completion": { "enabled": false }, // completions and linting
// "rope": { "enabled": false }, // completions and linting
// "yapf": { "enabled": false }
// }
// }
// }
}