From c908c09d09261f859e137c68a939e6ece3aac168 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Mon, 17 Mar 2025 11:43:53 +0100 Subject: [PATCH] asd --- keymap.json | 9 +++++++-- settings.json | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 2 deletions(-) diff --git a/keymap.json b/keymap.json index db68283..9858439 100644 --- a/keymap.json +++ b/keymap.json @@ -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", diff --git a/settings.json b/settings.json index afbc03b..9f15d1a 100644 --- a/settings.json +++ b/settings.json @@ -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 } + // } + // } + // } }