Compare commits

..

3 commits

Author SHA1 Message Date
ec1fc2d0ae
stuff 2025-02-13 17:37:25 +01:00
2868da14a9
update nvim 2025-02-13 17:33:22 +01:00
780f365f83
window casting rule 2025-02-13 17:33:22 +01:00
5 changed files with 322 additions and 32 deletions

1
.gitattributes vendored
View file

@ -1 +0,0 @@

View file

@ -1,49 +1,39 @@
{
"CopilotChat.nvim": { "branch": "main", "commit": "834ba1bc71e1a146831be0ebfeb456ad252c3c56" },
"LazyVim": { "branch": "main", "commit": "3e8fddcd54ee57ab6c00353ff37a4e9d7df361bd" },
"LazyVim": { "branch": "main", "commit": "45d94b3197eaf3f35754b8ecb7adebfcebe5160d" },
"LuaSnip": { "branch": "master", "commit": "c9b9a22904c97d0eb69ccb9bab76037838326817" },
"SchemaStore.nvim": { "branch": "main", "commit": "a2dcda8e69113008055b56a5833c96c8ab9893d6" },
"blink-cmp-copilot": { "branch": "main", "commit": "5d4ed42c5d7d144012792bb6cc4ac7899a108169" },
"blink.cmp": { "branch": "main", "commit": "9f32ef5c3bb44f943238bbcde0c467936475f177" },
"catppuccin": { "branch": "main", "commit": "4965db2d6155c25db4e8417465fc2703fdf4c2b7" },
"copilot.lua": { "branch": "master", "commit": "d3783b9283a7c35940ed8d71549030d5f5f9f980" },
"crates.nvim": { "branch": "main", "commit": "8bf8358ee326d5d8c11dcd7ac0bcc9ff97dbc785" },
"dressing.nvim": { "branch": "master", "commit": "fc78a3ca96f4db9f8893bb7e2fd9823e0780451b" },
"dropbar.nvim": { "branch": "master", "commit": "3afce85516c25823d5a1590f73ec19fe8553e2eb" },
"gitsigns.nvim": { "branch": "main", "commit": "5f808b5e4fef30bd8aca1b803b4e555da07fc412" },
"blink.cmp": { "branch": "main", "commit": "b6f11a0aa33e601c469a126e3ed6e35208fe3ea3" },
"catppuccin": { "branch": "main", "commit": "0b2437bcc12b4021614dc41fcea9d0f136d94063" },
"dressing.nvim": { "branch": "master", "commit": "2d7c2db2507fa3c4956142ee607431ddb2828639" },
"dropbar.nvim": { "branch": "master", "commit": "485558fb7c237cde72b624b20619124a74822b3e" },
"gitsigns.nvim": { "branch": "main", "commit": "2bc3b472bbc2484214549af4d9f38c127b886a55" },
"grug-far.nvim": { "branch": "main", "commit": "3a8690461afac34c0e5bacb0f7b4bc3066aab665" },
"lazy.nvim": { "branch": "main", "commit": "7e6c863bc7563efbdd757a310d17ebc95166cef3" },
"lazydev.nvim": { "branch": "main", "commit": "a1b78b2ac6f978c72e76ea90ae92a94edf380cfc" },
"lualine.nvim": { "branch": "master", "commit": "2a5bae925481f999263d6f5ed8361baef8df4f83" },
"markdown-preview.nvim": { "branch": "master", "commit": "a923f5fc5ba36a3b17e289dc35dc17f66d0548ee" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "8e46de9241d3997927af12196bd8faa0ed08c29a" },
"lualine.nvim": { "branch": "master", "commit": "f4f791f67e70d378a754d02da068231d2352e5bc" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "805c31ec6bfb557975143712ecff6956d3227141" },
"mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" },
"mini.ai": { "branch": "main", "commit": "53b4e4571e42913b94a12eff85dabe4db370d352" },
"mini.comment": { "branch": "main", "commit": "5bd72d50d36f4c0fd531adc409715a75a2c984da" },
"mini.hipatterns": { "branch": "main", "commit": "fbf1e2195fdd65cf1bc970316c28098257728868" },
"mini.ai": { "branch": "main", "commit": "6e01c0e5a15554852546fac9853960780ac52ed4" },
"mini.comment": { "branch": "main", "commit": "264b8a63edd5a9a41d5361a1d52c13131c3c51a2" },
"mini.icons": { "branch": "main", "commit": "ec61af6e606fc89ee3b1d8f2f20166a3ca917a36" },
"mini.move": { "branch": "main", "commit": "c8b30e92dd2668dd6e56a9a23cb7d4ee38c2266d" },
"mini.surround": { "branch": "main", "commit": "5e815557148d2c93eceaa44195c5d89953225b02" },
"noice.nvim": { "branch": "main", "commit": "cf758e9df66451889aab56613a21b8673f045ec2" },
"mini.surround": { "branch": "main", "commit": "f90069c7441a5fb04c3de42eacf93e16b64dd3eb" },
"noice.nvim": { "branch": "main", "commit": "0427460c2d7f673ad60eb02b35f5e9926cf67c59" },
"nui.nvim": { "branch": "main", "commit": "53e907ffe5eedebdca1cd503b00aa8692068ca46" },
"nvim-lint": { "branch": "master", "commit": "6e9dd545a1af204c4022a8fcd99727ea41ffdcc8" },
"nvim-lsp-endhints": { "branch": "main", "commit": "a449f2f27b6b985ff216964572224ce432d94a86" },
"nvim-lspconfig": { "branch": "master", "commit": "9f2c279cf9abe584f03bfeb37c6658d68e3ff49d" },
"nvim-lspconfig": { "branch": "master", "commit": "6c17f8656f667727b27f5f598463afedb7791b18" },
"nvim-notify": { "branch": "master", "commit": "22f29093eae7785773ee9d543f8750348b1a195c" },
"nvim-scrollbar": { "branch": "main", "commit": "6994eb9f73d5fdc36ee2c8717940e8c853e51a49" },
"nvim-treesitter": { "branch": "master", "commit": "824bf8455fd670186986fb3eb46fcaa4c5460949" },
"nvim-treesitter": { "branch": "master", "commit": "6d957c22cb48a734b009a69d03c18d20042c4754" },
"nvim-treesitter-textobjects": { "branch": "master", "commit": "ad8f0a472148c3e0ae9851e26a722ee4e29b1595" },
"nvim-ts-context-commentstring": { "branch": "main", "commit": "1b212c2eee76d787bbea6aa5e92a2b534e7b4f8f" },
"playground": { "branch": "master", "commit": "ba48c6a62a280eefb7c85725b0915e021a1a0749" },
"plenary.nvim": { "branch": "master", "commit": "2d9b06177a975543726ce5c73fca176cedbffe9d" },
"plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" },
"remote-nvim.nvim": { "branch": "main", "commit": "66fc20fd259401c7bb6ac5189ecb6283c2eb65d2" },
"render-markdown.nvim": { "branch": "main", "commit": "2a9e0ab6043bfb4996ce6a6a35594ab357e5d299" },
"rustaceanvim": { "branch": "master", "commit": "047f9c9d8cd2861745eb9de6c1570ee0875aa795" },
"snacks.nvim": { "branch": "main", "commit": "9e7e4b73ce627275b2f91aee83b5c3b91dc1ff77" },
"telescope-fzf-native.nvim": { "branch": "main", "commit": "dae2eac9d91464448b584c7949a31df8faefec56" },
"telescope.nvim": { "branch": "master", "commit": "2eca9ba22002184ac05eddbe47a7fe2d5a384dfc" },
"trouble.nvim": { "branch": "main", "commit": "46cf952fc115f4c2b98d4e208ed1e2dce08c9bf6" },
"render-markdown.nvim": { "branch": "main", "commit": "e05a9f22f31c088ece3fa5928daf546a015b66ee" },
"snacks.nvim": { "branch": "main", "commit": "e5960d8e32ed2771a1d84ce4532bf0e2dc4dc8ca" },
"telescope.nvim": { "branch": "master", "commit": "78857db9e8d819d3cc1a9a7bdc1d39d127a36495" },
"trouble.nvim": { "branch": "main", "commit": "85bedb7eb7fa331a2ccbecb9202d8abba64d37b3" },
"ts-comments.nvim": { "branch": "main", "commit": "872dcfa0418f4a33b7437fb4d9f4e89f2f000d74" },
"which-key.nvim": { "branch": "main", "commit": "8ab96b38a2530eacba5be717f52e04601eb59326" },
"which-key.nvim": { "branch": "main", "commit": "0e76a87ac51772569aec678dc74baa8e2a86100c" },
"zenbones.nvim": { "branch": "main", "commit": "9ef4241c50ea24026b732512223dbc55589ce2c4" }
}

View file

@ -11,8 +11,9 @@
"lazyvim.plugins.extras.lang.toml",
"lazyvim.plugins.extras.util.mini-hipatterns"
],
"install_version": 7,
"news": {
"NEWS.md": "10960"
},
"version": 7
"version": 8
}

194
eggs/zed/keymap_backup.json Normal file
View file

@ -0,0 +1,194 @@
[
{
"context": "Pane",
"bindings": {
// unbind closing the tab with this
"ctrl-w": null,
"ctrl-w ctrl-h": ["workspace::ActivatePaneInDirection", "Left"],
"ctrl-w ctrl-j": ["workspace::ActivatePaneInDirection", "Down"],
"ctrl-w ctrl-k": ["workspace::ActivatePaneInDirection", "Up"],
"ctrl-w ctrl-l": ["workspace::ActivatePaneInDirection", "Right"],
"ctrl-shift-t": "pane::ReopenClosedItem",
"ctrl-o": "pane::GoBack",
"ctrl-i": "pane::GoForward"
// "shift-escape": null
}
},
{
"context": "EmptyPane",
"bindings": {
":": "command_palette::Toggle",
"space p": "file_finder::Toggle"
}
},
{
"context": "os == macos && Editor && VimControl && !VimWaiting && !menu",
"bindings": {
"cmd-d": "editor::SelectNext"
}
},
{
"bindings": {
"ctrl-alt-shift-p": "projects::OpenRecent",
"ctrl-alt-shift-o": "workspace::Open"
}
},
{
"context": "os == linux && Editor && VimControl && !VimWaiting && !menu",
"bindings": {
"ctrl-shift-d": "editor::SelectNext"
}
},
{
"context": "MarkdownPreview || EmptyPane || Diagnostics || Editor && VimControl && !VimWaiting && !menu",
"bindings": {
"z space": "editor::FoldAll",
"z backspace": "editor::FoldFunctionBodies",
"z enter": "editor::UnfoldAll",
"space b c": "pane::CloseActiveItem",
":": "command_palette::Toggle",
"space p": "file_finder::Toggle",
"space o": "pane::DeploySearch",
"space h": "pane::ActivatePrevItem",
"space l": "pane::ActivateNextItem",
"space c space": "editor::ToggleComments",
// go to search result
"g space": "editor::OpenExcerpts",
"space e j": "editor::ExpandExcerptsDown",
"space e k": "editor::ExpandExcerptsUp",
// multi-cursor
"cmd-shift-d": "editor::SelectPrevious",
"cmd-shift-l": "editor::SelectAllMatches",
"ctrl-j": "editor::AddSelectionBelow",
"ctrl-k": "editor::AddSelectionAbove",
"alt-d": "editor::SelectNext",
"alt-j": "editor::SelectAllMatches",
// lsp
"space m f": "editor::Format",
"space m s": "project_symbols::Toggle",
"space m g": "editor::GoToDefinition",
"space m d": "editor::Hover",
"space m n": "editor::Rename",
"space m r": "editor::FindAllReferences",
"space m t": "editor::GoToTypeDefinition",
"space m e": "editor::GoToDiagnostic",
"space m E": "editor::GoToPrevDiagnostic",
"space m v": "editor::ToggleCodeActions",
"space m o": "outline::Toggle",
"space m h": "editor::ShowSignatureHelp",
// diagnostics
"space e e": "diagnostics::Deploy",
"space e w": "diagnostics::ToggleWarnings",
// view
"space v n": "editor::ToggleLineNumbers",
"space v i": "editor::ToggleInlayHints",
// Git
"space g b": "editor::ToggleGitBlame"
}
},
{
"context": "Editor && vim_mode == normal && !VimWaiting && !menu",
"bindings": {
"backspace": ["vim::PushOperator", { "Sneak": {} }],
"return": ["vim::PushOperator", { "SneakBackward": {} }]
}
},
{
"context": "Editor && vim_mode == insert",
"bindings": {
"ctrl-w": "editor::DeleteToPreviousWordStart",
"alt-tab": "zeta::NextEdit",
"alt-shift-tab": "zeta::PreviousEdit"
}
},
{
"context": "os == linux && ((Editor && vim_mode == normal) || Terminal) && !VimWaiting && !menu",
"bindings": {
"ctrl-t ctrl-t": "terminal_panel::ToggleFocus",
"ctrl-t ctrl-n": "workspace::NewTerminal",
"ctrl-t ctrl-shift-n": "workspace::NewCenterTerminal",
"ctrl-t ctrl-h": "pane::ActivatePrevItem",
"ctrl-t ctrl-l": "pane::ActivateNextItem",
"ctrl-x ctrl-c": "pane::CloseActiveItem",
"ctrl-t ctrl-c": "pane::CloseActiveItem",
"alt-j": "workspace::ToggleBottomDock"
}
},
{
"context": "os == macos && ((Editor && vim_mode == normal) || Terminal) && !VimWaiting && !menu",
"bindings": {
"cmd-t cmd-t": "terminal_panel::ToggleFocus",
"cmd-t cmd-n": "workspace::NewTerminal",
"cmd-t cmd-shift-n": "workspace::NewCenterTerminal",
"cmd-t cmd-h": "pane::ActivatePrevItem",
"cmd-t cmd-l": "pane::ActivateNextItem",
"cmd-x cmd-c": "pane::CloseActiveItem"
}
},
{
"context": "os == linux && ((Editor && vim_mode == normal) || Terminal) && !VimWaiting && !menu",
"bindings": {
"alt-j": "workspace::ToggleBottomDock",
"alt-t alt-t": "terminal_panel::ToggleFocus",
"alt-t alt-n": "workspace::NewTerminal",
"alt-t alt-shift-n": "workspace::NewCenterTerminal",
"alt-t alt-h": "pane::ActivatePrevItem",
"alt-t alt-l": "pane::ActivateNextItem",
"alt-x alt-c": "pane::CloseActiveItem"
}
},
{
"context": "Editor && vim_mode == visual && !VimWaiting && !menu",
"bindings": {
"n": "editor::SelectLargerSyntaxNode",
"N": "editor::SelectSmallerSyntaxNode",
"m": "vim::SelectNext",
"M": "vim::SelectPrevious",
",": "editor::SplitSelectionIntoLines"
}
},
{
"context": "ProjectSearchBar",
"bindings": {
"space b c": "pane::CloseActiveItem",
"escape escape": "pane::CloseActiveItem"
}
},
// Panel stuff
{
"context": "Editor && VimControl && !VimWaiting && !menu || OutlinePanel || ProjectPanel || Assistant || EmptyPane",
"bindings": {
"space v h": "workspace::ToggleLeftDock",
"space v l": "workspace::ToggleRightDock",
"space v o": "outline_panel::ToggleFocus",
"space v p": "project_panel::ToggleFocus",
"space v a": "assistant::ToggleFocus"
}
},
{
"context": "OutlinePanel",
"bindings": {
"space l": "outline_panel::ToggleFocus"
}
},
{
"context": "ProjectPanel",
"bindings": {
"space l": "project_panel::ToggleFocus"
}
},
{
"context": "Assistant",
"bindings": {
"space h": "assistant::ToggleFocus"
}
}
]

View file

@ -0,0 +1,106 @@
{
"features": {
"inline_completion_provider": "zed"
},
"icon_theme": "Material Icon Theme",
"telemetry": {
"metrics": false,
"diagnostics": false
},
"remove_trailing_whitespace_on_save": false,
"auto_signature_help": false,
"unnecessary_code_fade": 0.5,
// "use_autoclose": true,
// "always_treat_brackets_as_autoclosed": false,
// "unstable.ui_density": "compact",
"assistant": {
"default_model": {
"provider": "copilot_chat",
"model": "claude-3-5-sonnet"
},
"enable_experimental_live_diffs": true,
"version": "2"
},
"theme": "Gruvbox Dark Hard",
"buffer_font_size": 14.0,
"buffer_font_family": "Input",
// "buffer_font_family": "Input",
// "buffer_font_family": "FiraCode Nerd Font",
// "buffer_font_family": "JetBrainsMono Nerd Font Mono",
// "buffer_line_height": { "custom": 1.55 },
// "ui_font_family": "Noto Sans",
// "buffer_font_family": "Zed Mono",
// "active_pane_magnification": 1.3,
"tab_bar": {
"show_nav_history_buttons": false
},
"calls": {
"mute_on_join": true
},
"gutter": {
"line_numbers": false,
"folds": false
},
"toolbar": {
"quick_actions": false
// "selections_menu": false
},
"vertical_scroll_margin": 5,
"tabs": {
"git_status": true,
"file_icons": true,
"show_diagnostics": "errors"
},
"use_smartcase_search": true,
"preview_tabs": {
"enabled": true,
"enable_preview_from_file_finder": true,
"enable_preview_from_code_navigation": true
},
"message_editor": {
"auto_replace_emoji_shortcode": true
},
"terminal": {
"font_family": "FiraCode Nerd Font",
"font_size": 14
},
"vim_mode": true,
"vim": {
"use_smartcase_find": true,
"use_system_clipboard": "on_yank"
},
"languages": {
"JSON": {
"format_on_save": "off"
}
},
"lsp": {
"rust-analyzer": {
"initialization_options": {
"typing": {
// Temporary workaround around round rust-analzyer wrongly inserting `|` twice
"excludeChars": "|<"
}
}
}
},
"drop_target_size": 0.3,
"indent_guides": {
"coloring": "fixed"
},
"experimental.theme_overrides": {
"editor.indent_guide": "#ffffff08",
"panel.indent_guide": "#ffffff08",
"panel.indent_guide_active": "#ffffff11",
"panel.indent_guide_hover": "#ffffff13",
"panel.background": "#282828",
"tab_bar.background": "#282828",
// "border": "#3c3836",
"border": "#282828",
"title_bar.background": "#1d2021"
}
}