feat: move updateable files mutable
This commit is contained in:
1 parent
bf3b7a047f
commit
849d2e9801
11 files changed
+34
-31
No files matched your search
@@ -0,0 +1,129 @@
|
||||
[
|
||||
{
|
||||
"context": "VimControl && !menu",
|
||||
"use_key_equivalents": true,
|
||||
"bindings": {
|
||||
"space space": "file_finder::Toggle",
|
||||
"space w": "workspace::Save",
|
||||
"space q q": ["pane::CloseActiveItem", { "close_pinned": false }],
|
||||
"space q Q": "workspace::CloseWindow",
|
||||
|
||||
"space f f": "file_finder::Toggle",
|
||||
"space f g": "pane::DeploySearch",
|
||||
"space f r": ["projects::OpenRecent", { "create_new_window": false }],
|
||||
"space f s": "workspace::Save",
|
||||
"space f S": "workspace::SaveAll",
|
||||
|
||||
"space ,": "tab_switcher::Toggle",
|
||||
"space b b": "tab_switcher::Toggle",
|
||||
"space b d": ["pane::CloseActiveItem", { "close_pinned": false }],
|
||||
"space b n": "pane::ActivateNextItem",
|
||||
"space b p": "pane::ActivatePreviousItem",
|
||||
|
||||
"space s s": "pane::DeploySearch",
|
||||
"space s r": ["pane::DeploySearch", { "replace_enabled": true }],
|
||||
"space s d": "diagnostics::Deploy",
|
||||
"space s p": "project_symbols::Toggle",
|
||||
|
||||
"space c a": "editor::ToggleCodeActions",
|
||||
"space c r": "editor::Rename",
|
||||
"space c f": "editor::Format",
|
||||
"space c s": "outline::Toggle",
|
||||
"space c h": "editor::Hover",
|
||||
"space c d": "editor::GoToDefinition",
|
||||
"space c D": "editor::GoToTypeDefinition",
|
||||
"space c i": "editor::GoToImplementation",
|
||||
"space c R": "editor::FindAllReferences",
|
||||
|
||||
"space d n": ["editor::GoToDiagnostic", { "severity": { "min": "hint", "max": "error" } }],
|
||||
"space d p": ["editor::GoToPreviousDiagnostic", { "severity": { "min": "hint", "max": "error" } }],
|
||||
"space d d": "diagnostics::Deploy",
|
||||
|
||||
"space g s": "git_panel::ToggleFocus",
|
||||
"space g b": "editor::BlameHover",
|
||||
"space g h": "editor::ToggleSelectedDiffHunks",
|
||||
"space g H": "editor::ExpandAllDiffHunks",
|
||||
"space g n": "editor::GoToHunk",
|
||||
"space g p": "editor::GoToPreviousHunk",
|
||||
|
||||
"space u e": "project_panel::ToggleFocus",
|
||||
"space u g": "git_panel::ToggleFocus",
|
||||
"space u d": "debug_panel::ToggleFocus",
|
||||
"space u t": "terminal_panel::Toggle",
|
||||
"space u a": "workspace::ToggleAllDocks",
|
||||
"space u z": "workspace::ToggleZoom",
|
||||
"space u h": "editor::ToggleInlayHints",
|
||||
"space u c": "theme_selector::Toggle",
|
||||
|
||||
"space r s": "vim::Substitute",
|
||||
"space r shift-s": "vim::SubstituteLine",
|
||||
|
||||
"space x x": "task::Spawn",
|
||||
"space x r": ["task::Rerun", { "reevaluate_context": true }],
|
||||
|
||||
"space a a": "agent::ToggleFocus",
|
||||
"space a i": "assistant::InlineAssist",
|
||||
|
||||
"space p h": "workspace::ActivatePaneLeft",
|
||||
"space p l": "workspace::ActivatePaneRight",
|
||||
"space p k": "workspace::ActivatePaneUp",
|
||||
"space p j": "workspace::ActivatePaneDown",
|
||||
"space p v": "pane::SplitRight",
|
||||
"space p s": "pane::SplitDown",
|
||||
|
||||
"space m m": "markdown::OpenPreview",
|
||||
|
||||
"space D b": "editor::ToggleBreakpoint",
|
||||
"space D s": "debugger::Start",
|
||||
"space D c": "debugger::Continue",
|
||||
"space D r": "debugger::Rerun",
|
||||
"space D x": "debugger::Stop",
|
||||
"space D o": "debugger::StepOver",
|
||||
"space D i": "debugger::StepInto",
|
||||
"space D O": "debugger::StepOut"
|
||||
}
|
||||
},
|
||||
{
|
||||
"context": "vim_mode == normal || vim_mode == visual",
|
||||
"bindings": {
|
||||
"s": "vim::PushSneak",
|
||||
"shift-s": "vim::PushSneakBackward"
|
||||
}
|
||||
},
|
||||
{
|
||||
"context": "EmptyPane || SharedScreen",
|
||||
"use_key_equivalents": true,
|
||||
"bindings": {
|
||||
"space space": "file_finder::Toggle",
|
||||
"space f f": "file_finder::Toggle",
|
||||
"space f g": "pane::DeploySearch",
|
||||
"space f r": ["projects::OpenRecent", { "create_new_window": false }],
|
||||
"space u e": "project_panel::ToggleFocus",
|
||||
"space u t": "terminal_panel::Toggle",
|
||||
"space a a": "agent::ToggleFocus",
|
||||
"space x x": "task::Spawn"
|
||||
}
|
||||
},
|
||||
{
|
||||
"context": "ProjectPanel && not_editing",
|
||||
"bindings": {
|
||||
"space space": "file_finder::Toggle",
|
||||
"q": "project_panel::ToggleFocus",
|
||||
"a": "project_panel::NewFile",
|
||||
"A": "project_panel::NewDirectory",
|
||||
"r": "project_panel::Rename",
|
||||
"d": ["project_panel::Trash", { "skip_prompt": false }],
|
||||
"y": "project_panel::CopyPath",
|
||||
"Y": "workspace::CopyRelativePath"
|
||||
}
|
||||
},
|
||||
{
|
||||
"context": "Terminal",
|
||||
"bindings": {
|
||||
"ctrl-h": ["terminal::SendKeystroke", "ctrl-h"],
|
||||
"ctrl-j": ["terminal::SendKeystroke", "ctrl-j"],
|
||||
"ctrl-k": ["terminal::SendKeystroke", "ctrl-k"],
|
||||
"ctrl-l": ["terminal::SendKeystroke", "ctrl-l"]
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,236 @@
|
||||
{
|
||||
"project_panel": {
|
||||
"dock": "left"
|
||||
},
|
||||
"collaboration_panel": {
|
||||
"button": false
|
||||
},
|
||||
"base_keymap": "VSCode",
|
||||
"vim_mode": true,
|
||||
"vim": {
|
||||
"default_mode": "normal",
|
||||
"use_system_clipboard": "always",
|
||||
"use_smartcase_find": true,
|
||||
"use_regex_search": true,
|
||||
"gdefault": false,
|
||||
"toggle_relative_line_numbers": false,
|
||||
"highlight_on_yank_duration": 200
|
||||
},
|
||||
"theme": {
|
||||
"mode": "system",
|
||||
"dark": "Catppuccin Mocha",
|
||||
"light": "Catppuccin Latte"
|
||||
},
|
||||
"icon_theme": {
|
||||
"mode": "system",
|
||||
"dark": "Catppuccin Mocha",
|
||||
"light": "Catppuccin Latte"
|
||||
},
|
||||
"auto_install_extensions": {
|
||||
"catppuccin": true,
|
||||
"catppuccin-icons": true,
|
||||
"lua": true,
|
||||
"php": true,
|
||||
"typst": true
|
||||
},
|
||||
"telemetry": {
|
||||
"metrics": false,
|
||||
"diagnostics": false
|
||||
},
|
||||
"features": {
|
||||
"edit_predictions": {
|
||||
"provider": "zed"
|
||||
}
|
||||
},
|
||||
"show_edit_predictions": true,
|
||||
"edit_predictions": {
|
||||
"disabled_globs": [
|
||||
"**/.env*",
|
||||
"**/*.pem",
|
||||
"**/*.key",
|
||||
"**/*.cert",
|
||||
"**/*.crt",
|
||||
"**/.dev.vars",
|
||||
"**/secrets.yml",
|
||||
"**/secrets.yaml",
|
||||
"**/*secret*",
|
||||
"**/*credential*"
|
||||
]
|
||||
},
|
||||
"buffer_font_family": ".ZedMono",
|
||||
"buffer_font_size": 15,
|
||||
"buffer_line_height": "comfortable",
|
||||
"ui_font_size": 16,
|
||||
"cursor_blink": false,
|
||||
"relative_line_numbers": "enabled",
|
||||
"vertical_scroll_margin": 8,
|
||||
"horizontal_scroll_margin": 8,
|
||||
"scroll_beyond_last_line": "off",
|
||||
"soft_wrap": "editor_width",
|
||||
"tab_size": 4,
|
||||
"hard_tabs": false,
|
||||
"format_on_save": "on",
|
||||
"formatter": "language_server",
|
||||
"remove_trailing_whitespace_on_save": true,
|
||||
"ensure_final_newline_on_save": true,
|
||||
"show_completion_documentation": false,
|
||||
"auto_signature_help": false,
|
||||
"inlay_hints": {
|
||||
"enabled": true,
|
||||
"show_type_hints": true,
|
||||
"show_parameter_hints": true,
|
||||
"show_other_hints": true,
|
||||
"show_background": false
|
||||
},
|
||||
"code_lens": "menu",
|
||||
"git": {
|
||||
"git_gutter": "tracked_files",
|
||||
"inline_blame": {
|
||||
"enabled": true
|
||||
},
|
||||
"hunk_style": "staged_hollow"
|
||||
},
|
||||
"terminal": {
|
||||
"dock": "bottom",
|
||||
"copy_on_select": false,
|
||||
"keep_selection_on_copy": true,
|
||||
"line_height": "comfortable",
|
||||
"detect_venv": {
|
||||
"on": {
|
||||
"directories": [".env", "env", ".venv", "venv"],
|
||||
"activate_script": "default"
|
||||
}
|
||||
}
|
||||
},
|
||||
"lsp": {
|
||||
"gopls": {
|
||||
"initialization_options": {
|
||||
"hints": {
|
||||
"assignVariableTypes": true,
|
||||
"compositeLiteralFields": true,
|
||||
"compositeLiteralTypes": true,
|
||||
"constantValues": true,
|
||||
"functionTypeParameters": true,
|
||||
"parameterNames": true,
|
||||
"rangeVariableTypes": true
|
||||
},
|
||||
"codelenses": {
|
||||
"test": true,
|
||||
"generate": true,
|
||||
"regenerate_cgo": true,
|
||||
"tidy": true,
|
||||
"upgrade_dependency": true,
|
||||
"vendor": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"rust-analyzer": {
|
||||
"initialization_options": {
|
||||
"check": {
|
||||
"command": "clippy"
|
||||
},
|
||||
"cargo": {
|
||||
"allTargets": true
|
||||
},
|
||||
"inlayHints": {
|
||||
"maxLength": null,
|
||||
"lifetimeElisionHints": {
|
||||
"enable": "skip_trivial",
|
||||
"useParameterNames": true
|
||||
},
|
||||
"closureReturnTypeHints": {
|
||||
"enable": "always"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"languages": {
|
||||
"Lua": {
|
||||
"tab_size": 2,
|
||||
"hard_tabs": false,
|
||||
"format_on_save": "on",
|
||||
"formatter": {
|
||||
"external": {
|
||||
"command": "stylua",
|
||||
"arguments": [
|
||||
"--syntax=Lua54",
|
||||
"--respect-ignores",
|
||||
"--stdin-filepath",
|
||||
"{buffer_path}",
|
||||
"-"
|
||||
]
|
||||
}
|
||||
},
|
||||
"inlay_hints": {
|
||||
"enabled": true,
|
||||
"show_type_hints": true,
|
||||
"show_parameter_hints": true,
|
||||
"show_other_hints": true
|
||||
}
|
||||
},
|
||||
"Go": {
|
||||
"tab_size": 4,
|
||||
"hard_tabs": true,
|
||||
"formatter": "language_server",
|
||||
"format_on_save": "on",
|
||||
"inlay_hints": {
|
||||
"enabled": true,
|
||||
"show_type_hints": true,
|
||||
"show_parameter_hints": true,
|
||||
"show_other_hints": true
|
||||
}
|
||||
},
|
||||
"Rust": {
|
||||
"tab_size": 4,
|
||||
"hard_tabs": false,
|
||||
"formatter": "language_server",
|
||||
"format_on_save": "on",
|
||||
"inlay_hints": {
|
||||
"enabled": true,
|
||||
"show_type_hints": true,
|
||||
"show_parameter_hints": true,
|
||||
"show_other_hints": true
|
||||
}
|
||||
},
|
||||
"JavaScript": {
|
||||
"tab_size": 2,
|
||||
"formatter": "language_server",
|
||||
"format_on_save": "on"
|
||||
},
|
||||
"TypeScript": {
|
||||
"tab_size": 2,
|
||||
"formatter": "language_server",
|
||||
"format_on_save": "on"
|
||||
},
|
||||
"TSX": {
|
||||
"tab_size": 2,
|
||||
"formatter": "language_server",
|
||||
"format_on_save": "on"
|
||||
},
|
||||
"JSON": {
|
||||
"tab_size": 2,
|
||||
"formatter": "language_server",
|
||||
"format_on_save": "on"
|
||||
},
|
||||
"YAML": {
|
||||
"tab_size": 2,
|
||||
"formatter": "language_server",
|
||||
"format_on_save": "on"
|
||||
},
|
||||
"PHP": {
|
||||
"tab_size": 4,
|
||||
"formatter": "language_server",
|
||||
"format_on_save": "on"
|
||||
},
|
||||
"Markdown": {
|
||||
"soft_wrap": "editor_width",
|
||||
"format_on_save": "off"
|
||||
},
|
||||
"Typst": {
|
||||
"tab_size": 2,
|
||||
"formatter": "language_server",
|
||||
"format_on_save": "on"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user