From f296f8f6b976f2012e51acbc22f4b1b83a8275fa Mon Sep 17 00:00:00 2001 From: Simon Walker Date: Wed, 11 Sep 2024 11:37:46 +0100 Subject: [PATCH] Remove zed settings --- home/home.nix | 1 - home/zed.nix | 7 ----- home/zed/keymap.json | 52 -------------------------------- home/zed/settings.json | 68 ------------------------------------------ 4 files changed, 128 deletions(-) delete mode 100644 home/zed.nix delete mode 100644 home/zed/keymap.json delete mode 100644 home/zed/settings.json diff --git a/home/home.nix b/home/home.nix index 9ff209d9..2c379a29 100644 --- a/home/home.nix +++ b/home/home.nix @@ -48,7 +48,6 @@ in { ./wallpaper.nix ./wezterm.nix ./wireshark.nix - ./zed.nix ./zellij.nix ./zoxide.nix ./zsh.nix diff --git a/home/zed.nix b/home/zed.nix deleted file mode 100644 index df6c1cb0..00000000 --- a/home/zed.nix +++ /dev/null @@ -1,7 +0,0 @@ -{ ... }: -{ - xdg.configFile = { - "zed/settings.json".source = ./zed/settings.json; - "zed/keymap.json".source = ./zed/keymap.json; - }; -} diff --git a/home/zed/keymap.json b/home/zed/keymap.json deleted file mode 100644 index 000517aa..00000000 --- a/home/zed/keymap.json +++ /dev/null @@ -1,52 +0,0 @@ -// Zed keymap -// -// For information on binding keys, see the Zed -// documentation: https://zed.dev/docs/key-bindings -// -// To see the default key bindings run `zed: open default keymap` -// from the command palette. -[ - { - "context": "Workspace", - "bindings": { - "cmd-k": [ - "projects::OpenRecent", - { - "create_new_window": false - } - ] - } - }, - { - "context": "Editor", - "bindings": { - // "j k": ["workspace::SendKeystrokes", "escape"] - } - }, - // vim normal mode - { - "context": "Editor && VimControl && !VimWaiting && !menu", - "bindings": { - "space f": "file_finder::Toggle", - "space [": "editor::GoToPrevDiagnostic", - "space ]": "editor::GoToDiagnostic", - "g b": "tab_switcher::Toggle", - "space t": "terminal_panel::ToggleFocus", - "space space": "workspace::NewSearch" - } - }, - // vim visual mode - { - "context": "Editor && vim_mode == visual && !VimWaiting && !VimObject", - "bindings": {} - }, - { - "context": "Dock || Terminal || Editor", - "bindings": { - "ctrl-h": ["workspace::ActivatePaneInDirection", "Left"], - "ctrl-l": ["workspace::ActivatePaneInDirection", "Right"], - "ctrl-k": ["workspace::ActivatePaneInDirection", "Up"], - "ctrl-j": ["workspace::ActivatePaneInDirection", "Down"] - } - } -] diff --git a/home/zed/settings.json b/home/zed/settings.json deleted file mode 100644 index a8766bc1..00000000 --- a/home/zed/settings.json +++ /dev/null @@ -1,68 +0,0 @@ -// 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. -{ - "features": { - "inline_completion_provider": "none" - }, - "theme": "Catppuccin Macchiato - No Italics", - "buffer_font_family": "JetBrainsMono Nerd Font", - "buffer_font_weight": 700, - "buffer_font_size": 14, - "buffer_font_features": { - // disable ligatures - "calt": false - }, - "vim_mode": true, - "vim": { - "use_smartcase_find": true, - "use_multiline_find": true - }, - "cursor_blink": false, - "use_autoclose": false, - "gutter": { - "line_numbers": true, - "folds": false - }, - "relative_line_numbers": true, - "scrollbar": { "show": "never" }, - "toolbar": { - "quick_actions": false - }, - "terminal": { - "detect_venv": "off" - }, - "tab_bar": { - "show": false - }, - "assistant": { - "version": "2", - "enabled": false - }, - "telemetry": { - "diagnostics": false, - "metrics": false - }, - "git": { - "inline_blame": { - "enabled": false - } - }, - "lsp": { - "pyright": { - "settings": {} - }, - "rust-analyzer": { - "initialization_options": { - "checkOnSave": { - "command": "clippy" - } - } - } - } -}