Removed zed not using it.
This commit is contained in:
parent
0924821164
commit
96c39f8927
|
|
@ -1,69 +0,0 @@
|
|||
[
|
||||
// VIM NORMAL MODE
|
||||
{
|
||||
"context": "VimControl && vim_mode == normal",
|
||||
"bindings": {
|
||||
"ctrl-h": "pane::ActivatePreviousItem",
|
||||
"ctrl-l": "pane::ActivateNextItem",
|
||||
"space t": "workspace::NewCenterTerminal",
|
||||
"space e": "project_panel::ToggleFocus",
|
||||
"space q": "pane::CloseAllItems",
|
||||
"space h": "buffer_search::Dismiss",
|
||||
"space l s": "project_symbols::Toggle",
|
||||
"space l i": "editor::GoToImplementationSplit",
|
||||
"space l r": "editor::Rename",
|
||||
"space s p": "workspace::NewSearch",
|
||||
"space b e": "pane::ReopenClosedItem",
|
||||
"space p p": "projects::OpenRecent",
|
||||
"ctrl-n": "menu::SelectNext", // Navigate down in lists (e.g., file finder, search results)
|
||||
"ctrl-p": "menu::SelectPrevious", // Navigate up in lists
|
||||
"ctrl-/": "editor::ToggleComments",
|
||||
"ctrl-space": "workspace::ToggleRightDock",
|
||||
// task spawns
|
||||
"space g g": ["task::Spawn", { "task_name": "gitu" }]
|
||||
}
|
||||
},
|
||||
// VIM VISUAL MODE
|
||||
{
|
||||
"context": "Editor && vim_mode == visual && !menu && !Terminal",
|
||||
"bindings": {
|
||||
"shift-k": "editor::MoveLineUp",
|
||||
"shift-j": "editor::MoveLineDown",
|
||||
}
|
||||
},
|
||||
{
|
||||
"context": "Editor && vim_mode != insert && !VimWaiting && mode != single_line",
|
||||
"bindings": {
|
||||
"g d": "editor::GoToDefinition",
|
||||
"g i": "editor::GoToImplementation",
|
||||
"g r": "editor::FindAllReferences"
|
||||
}
|
||||
},
|
||||
// TERMINAL MODE
|
||||
{
|
||||
"context": "Terminal",
|
||||
"bindings": {
|
||||
"ctrl-w h": "workspace::ActivatePaneLeft",
|
||||
"ctrl-w l": "workspace::ActivatePaneRight",
|
||||
"ctrl-w k": "workspace::ActivatePaneUp",
|
||||
"ctrl-w j": "workspace::ActivatePaneDown",
|
||||
|
||||
"ctrl-space": "workspace::ToggleRightDock",
|
||||
"ctrl-o": "workspace::NewTerminal",
|
||||
"ctrl-l": "pane::ActivateNextItem",
|
||||
"ctrl-h": "pane::ActivatePreviousItem",
|
||||
"ctrl-q": "pane::CloseActiveItem",
|
||||
"ctrl-j": "terminal::Clear"
|
||||
}
|
||||
},
|
||||
// FILE TREE
|
||||
{
|
||||
"context": "!renaming && ProjectPanel && !Terminal && !VimWaiting && vim_mode != insert && !editing",
|
||||
"bindings": {
|
||||
"a": "project_panel::NewFile",
|
||||
"d": "project_panel::Delete",
|
||||
"r": "project_panel::Rename",
|
||||
"space e": "project_panel::Toggle",
|
||||
}
|
||||
},
|
||||
]
|
||||
|
|
@ -1,134 +0,0 @@
|
|||
{
|
||||
// Core behavior
|
||||
"window_decorations": "client",
|
||||
"disable_ai": true,
|
||||
"restore_on_startup": "last_workspace",
|
||||
"session": { "trust_all_worktrees": true },
|
||||
"telemetry": { "diagnostics": false, "metrics": false },
|
||||
|
||||
// Editor behavior
|
||||
"gutter": { "line_numbers": true },
|
||||
"use_on_type_format": true,
|
||||
"format_on_save": "off",
|
||||
"tab_size": 4,
|
||||
"hard_tabs": true,
|
||||
"soft_wrap": "none",
|
||||
"show_whitespaces": "none",
|
||||
|
||||
// Fonts & text rendering
|
||||
"buffer_font_family": "Hack Nerd Font",
|
||||
"buffer_font_size": 14.8,
|
||||
"buffer_line_height": "comfortable",
|
||||
"buffer_font_features": { "liga": false },
|
||||
|
||||
// UI appearance
|
||||
"ui_font_size": 17,
|
||||
"scrollbar": { "show": "never" },
|
||||
// Theme sets highlights
|
||||
"theme": "Tokyo Night",
|
||||
// We override for comfy backgrounds
|
||||
"theme_overrides": {
|
||||
"Tokyo Night": {
|
||||
"editor.document_highlight.read_background": "#00000000",
|
||||
"editor.document_highlight.write_background": "#00000000",
|
||||
"border.variant": "#111111",
|
||||
"border": "#111111",
|
||||
"title_bar.background": "#1e1e1e",
|
||||
"panel.background": "#1e1e1e",
|
||||
"panel.focused_border": "#0078D4",
|
||||
"editor.background": "#1e1e1e",
|
||||
"editor.gutter.background": "#1e1e1e",
|
||||
"tab_bar.background": "#1e1e1e",
|
||||
},
|
||||
},
|
||||
|
||||
// Keybindings & modes
|
||||
"vim_mode": true,
|
||||
"base_keymap": "VSCode",
|
||||
|
||||
// Vim options
|
||||
"vim": {
|
||||
"use_smartcase_find": true,
|
||||
"toggle_relative_line_numbers": false
|
||||
},
|
||||
|
||||
// Toolbar & top-level UI controls
|
||||
"toolbar": {
|
||||
"agent_review": true,
|
||||
"selections_menu": false,
|
||||
"quick_actions": false,
|
||||
"breadcrumbs": false
|
||||
},
|
||||
|
||||
// Tabs & tab bar
|
||||
"tabs": {
|
||||
"file_icons": false,
|
||||
"git_status": false
|
||||
},
|
||||
"tab_bar": {
|
||||
"show_nav_history_buttons": false,
|
||||
"show_tab_bar_buttons": false,
|
||||
"show": true
|
||||
},
|
||||
|
||||
// Title bar
|
||||
"title_bar": {
|
||||
"show_user_picture": false,
|
||||
"show_user_menu": false,
|
||||
"show_sign_in": false,
|
||||
"show_branch_name": true
|
||||
},
|
||||
|
||||
// Panels & buttons
|
||||
"debugger": {
|
||||
"button": false
|
||||
},
|
||||
"diagnostics": {
|
||||
"button": false
|
||||
},
|
||||
"search": {
|
||||
"button": false
|
||||
},
|
||||
"terminal": {
|
||||
"dock": "right",
|
||||
"button": false
|
||||
},
|
||||
"status_bar": {
|
||||
"cursor_position_button": true,
|
||||
"active_language_button": true
|
||||
},
|
||||
"project_panel": {
|
||||
"hide_root": true,
|
||||
"bold_folder_labels": true,
|
||||
"button": false
|
||||
},
|
||||
|
||||
// Git
|
||||
"git": {
|
||||
"inline_blame": {
|
||||
"enabled": false
|
||||
}
|
||||
},
|
||||
|
||||
// Language servers (LSP)
|
||||
"languages": {
|
||||
"HTML": {
|
||||
"language_servers": ["!tailwindcss-language-server", "..."]
|
||||
},
|
||||
"CSS": {
|
||||
"language_servers": ["!tailwindcss-language-server", "..."]
|
||||
},
|
||||
"JavaScript": {
|
||||
"language_servers": ["!tailwindcss-language-server", "..."]
|
||||
},
|
||||
"TypeScript": {
|
||||
"language_servers": ["!tailwindcss-language-server", "..."]
|
||||
},
|
||||
"JSON": {
|
||||
"language_servers": ["!json-language-server", "..."]
|
||||
},
|
||||
"PHP": {
|
||||
"language_servers": [ "intelephense", "!phpactor", "!phptools", "!outsourced", "tailwindcss-language-server", "..." ]
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
@ -1,60 +0,0 @@
|
|||
// Project tasks configuration. See https://zed.dev/docs/tasks for documentation.
|
||||
// Example:
|
||||
[
|
||||
{
|
||||
"label": "Example task",
|
||||
"command": "for i in {1..5}; do echo \"Hello $i/5\"; sleep 1; done",
|
||||
//"args": [],
|
||||
// Env overrides for the command, will be appended to the terminal's environment from the settings.
|
||||
"env": { "foo": "bar" },
|
||||
// Current working directory to spawn the command into, defaults to current project root.
|
||||
//"cwd": "/path/to/working/directory",
|
||||
// Whether to use a new terminal tab or reuse the existing one to spawn the process, defaults to `false`.
|
||||
"use_new_terminal": false,
|
||||
// Whether to allow multiple instances of the same task to be run, or rather wait for the existing ones to finish, defaults to `false`.
|
||||
"allow_concurrent_runs": false,
|
||||
// What to do with the terminal pane and tab, after the command was started:
|
||||
// * `always` — always show the task's pane, and focus the corresponding tab in it (default)
|
||||
// * `no_focus` — always show the task's pane, add the task's tab in it, but don't focus it
|
||||
// * `never` — do not alter focus, but still add/reuse the task's tab in its pane
|
||||
"reveal": "always",
|
||||
// Where to place the task's terminal item after starting the task:
|
||||
// * `dock` — in the terminal dock, "regular" terminal items' place (default)
|
||||
// * `center` — in the central pane group, "main" editor area
|
||||
"reveal_target": "dock",
|
||||
// What to do with the terminal pane and tab, after the command had finished:
|
||||
// * `never` — Do nothing when the command finishes (default)
|
||||
// * `always` — always hide the terminal tab, hide the pane also if it was the last tab in it
|
||||
// * `on_success` — hide the terminal tab on task success only, otherwise behaves similar to `always`
|
||||
"hide": "never",
|
||||
// Which shell to use when running a task inside the terminal.
|
||||
// May take 3 values:
|
||||
// 1. (default) Use the system's default terminal configuration in /etc/passwd
|
||||
// "shell": "system"
|
||||
// 2. A program:
|
||||
// "shell": {
|
||||
// "program": "sh"
|
||||
// }
|
||||
// 3. A program with arguments:
|
||||
// "shell": {
|
||||
// "with_arguments": {
|
||||
// "program": "/bin/bash",
|
||||
// "args": ["--login"]
|
||||
// }
|
||||
// }
|
||||
"shell": "system",
|
||||
// Whether to show the task line in the output of the spawned task, defaults to `true`.
|
||||
"show_summary": true,
|
||||
// Whether to show the command line in the output of the spawned task, defaults to `true`.
|
||||
"show_command": true,
|
||||
// Represents the tags for inline runnable indicators, or spawning multiple tasks at once.
|
||||
// "tags": []
|
||||
},
|
||||
{
|
||||
"label": "gitu",
|
||||
"command": "gitu",
|
||||
"use_new_terminal": true,
|
||||
"reveal_target": "center",
|
||||
"hide": "always"
|
||||
}
|
||||
]
|
||||
|
|
@ -120,7 +120,6 @@ if [ "$DO_LINKS" = true ]; then
|
|||
link_file "$DOTFILES_DIR/config/fish" "$HOME/.config/fish"
|
||||
link_file "$DOTFILES_DIR/config/foot" "$HOME/.config/foot"
|
||||
link_file "$DOTFILES_DIR/config/nvim" "$HOME/.config/nvim"
|
||||
link_file "$DOTFILES_DIR/config/zed" "$HOME/.config/zed"
|
||||
link_file "$DOTFILES_DIR/config/gitu" "$HOME/.config/gitu"
|
||||
link_file "$DOTFILES_DIR/config/gtk3/gtk.css" "$HOME/.config/gtk-3.0/gtk.css"
|
||||
link_file "$DOTFILES_DIR/config/gtk4/gtk.css" "$HOME/.config/gtk-4.0/gtk.css"
|
||||
|
|
|
|||
Loading…
Reference in New Issue