My personal dotfiles
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: fixed merge conflicts

+92 -1003
+9
alacritty/.config/alacritty/alacritty.toml
··· 29 29 magenta = "#b48ead" 30 30 cyan = "#8fbcbb" 31 31 white = "#eceff4" 32 + 33 + [keyboard] 34 + bindings = [ 35 + { key = "C", mods = "Super", mode = "~Vi", action = "Copy" }, 36 + { key = "V", mods = "Super", mode = "~Vi", action = "Paste" }, 37 + { key = "=", mods = "Super", action = "IncreaseFontSize" }, 38 + { key = "+", mods = "Super", action = "IncreaseFontSize" }, 39 + { key = "-", mods = "Super", action = "DecreaseFontSize" } 40 + ]
+11 -69
hypr/.config/hypr/hyprland.conf
··· 1 - # Monitor setup 1 + # -- Monitor setup -- 2 2 monitor=,1920x1080,auto,1 3 3 4 - # Default programs 4 + # -- Defaults -- 5 5 $terminal = alacritty 6 6 $menu = fuzzel 7 7 8 + # -- Load files -- 9 + 8 10 # Autostart, check hyprland/autostart.conf for list 9 11 source = ~/.config/hypr/hyprland/autostart.conf 10 12 ··· 14 16 # Environment variables, see hyprland/environment.conf for list 15 17 source = ~/.config/hypr/hyprland/environment.conf 16 18 19 + # Window and layer rules, see hyprland/rules.conf for list 20 + source = ~/.config/hypr/hyprland/rules.conf 21 + 22 + # Decoration and animation, see hyprland/decoration.conf for list 23 + source = ~/.config/hypr/hyprland/decoration.conf 24 + 25 + # -- General config -- 17 26 cursor { 18 27 enable_hyprcursor = true 19 28 } 20 29 21 - # https://wiki.hyprland.org/Configuring/Variables/#general 22 30 general { 23 31 gaps_in = 5 24 32 gaps_out = 5 ··· 38 46 layout = dwindle 39 47 } 40 48 41 - # https://wiki.hyprland.org/Configuring/Variables/#decoration 42 - decoration { 43 - rounding = 6 44 - rounding_power = 2 45 - 46 - # Change transparency of focused and unfocused windows 47 - active_opacity = 1.0 48 - inactive_opacity = 1.0 49 - 50 - shadow { 51 - enabled = true 52 - range = 4 53 - render_power = 3 54 - color = rgba(1a1a1aee) 55 - } 56 - 57 - # https://wiki.hyprland.org/Configuring/Variables/#blur 58 - blur { 59 - enabled = true 60 - size = 3 61 - passes = 2 62 - 63 - vibrancy = 0.1696 64 - } 65 - } 66 - 67 - # https://wiki.hyprland.org/Configuring/Variables/#animations 68 - animations { 69 - enabled = yes, please :) 70 - 71 - # Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more 72 - 73 - bezier = easeOutQuint,0.23,1,0.32,1 74 - bezier = easeInOutCubic,0.65,0.05,0.36,1 75 - bezier = linear,0,0,1,1 76 - bezier = almostLinear,0.5,0.5,0.75,1.0 77 - bezier = quick,0.15,0,0.1,1 78 - 79 - animation = global, 1, 10, default 80 - animation = border, 1, 5.39, easeOutQuint 81 - animation = windows, 1, 4.79, easeOutQuint 82 - animation = windowsIn, 1, 4.1, easeOutQuint, popin 87% 83 - animation = windowsOut, 1, 1.49, linear, popin 87% 84 - animation = fadeIn, 1, 1.73, almostLinear 85 - animation = fadeOut, 1, 1.46, almostLinear 86 - animation = fade, 1, 3.03, quick 87 - animation = layers, 1, 3.81, easeOutQuint 88 - animation = layersIn, 1, 4, easeOutQuint, fade 89 - animation = layersOut, 1, 1.5, linear, fade 90 - animation = fadeLayersIn, 1, 1.79, almostLinear 91 - animation = fadeLayersOut, 1, 1.39, almostLinear 92 - animation = workspaces, 1, 1.94, almostLinear, fade 93 - animation = workspacesIn, 1, 1.21, almostLinear, fade 94 - animation = workspacesOut, 1, 1.94, almostLinear, fade 95 - } 96 - 97 49 # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more 98 50 dwindle { 99 51 pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below ··· 104 56 master { 105 57 new_status = master 106 58 } 107 - 108 - layerrule = blur, waybar 109 - layerrule = blur, launcher 110 - layerrule = blur, swaync-control-center 111 - 112 - # Ignore maximize requests from apps. You'll probably like this. 113 - windowrulev2 = suppressevent maximize, class:.* 114 - 115 - # Fix some dragging issues with XWayland 116 - windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
+55
hypr/.config/hypr/hyprland/decoration.conf
··· 1 + # https://wiki.hyprland.org/Configuring/Variables/#decoration 2 + decoration { 3 + rounding = 6 4 + rounding_power = 2 5 + 6 + # Change transparency of focused and unfocused windows 7 + active_opacity = 1.0 8 + inactive_opacity = 1.0 9 + 10 + shadow { 11 + enabled = true 12 + range = 4 13 + render_power = 3 14 + color = rgba(1a1a1aee) 15 + } 16 + 17 + # https://wiki.hyprland.org/Configuring/Variables/#blur 18 + blur { 19 + enabled = true 20 + size = 3 21 + passes = 2 22 + 23 + vibrancy = 0.1696 24 + } 25 + } 26 + 27 + # https://wiki.hyprland.org/Configuring/Variables/#animations 28 + animations { 29 + enabled = yes, please :) 30 + 31 + # Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more 32 + 33 + bezier = easeOutQuint,0.23,1,0.32,1 34 + bezier = easeInOutCubic,0.65,0.05,0.36,1 35 + bezier = linear,0,0,1,1 36 + bezier = almostLinear,0.5,0.5,0.75,1.0 37 + bezier = quick,0.15,0,0.1,1 38 + 39 + animation = global, 1, 10, default 40 + animation = border, 1, 5.39, easeOutQuint 41 + animation = windows, 1, 4.79, easeOutQuint 42 + animation = windowsIn, 1, 4.1, easeOutQuint, popin 87% 43 + animation = windowsOut, 1, 1.49, linear, popin 87% 44 + animation = fadeIn, 1, 1.73, almostLinear 45 + animation = fadeOut, 1, 1.46, almostLinear 46 + animation = fade, 1, 3.03, quick 47 + animation = layers, 1, 3.81, easeOutQuint 48 + animation = layersIn, 1, 4, easeOutQuint, fade 49 + animation = layersOut, 1, 1.5, linear, fade 50 + animation = fadeLayersIn, 1, 1.79, almostLinear 51 + animation = fadeLayersOut, 1, 1.39, almostLinear 52 + animation = workspaces, 1, 1.94, almostLinear, fade 53 + animation = workspacesIn, 1, 1.21, almostLinear, fade 54 + animation = workspacesOut, 1, 1.94, almostLinear, fade 55 + }
+4
hypr/.config/hypr/hyprland/input.conf
··· 9 9 10 10 touchpad { 11 11 natural_scroll = true 12 + disable_while_typing = false 13 + 14 + tap-to-click = false 15 + tap-and-drag = false 12 16 } 13 17 } 14 18
+9
hypr/.config/hypr/hyprland/rules.conf
··· 1 + layerrule = blur, waybar 2 + layerrule = blur, launcher 3 + layerrule = blur, swaync-control-center 4 + 5 + # Ignore maximize requests from apps. You'll probably like this. 6 + windowrulev2 = suppressevent maximize, class:.* 7 + 8 + # Fix some dragging issues with XWayland 9 + windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
+4 -934
zed/.config/zed/keymap.json
··· 1 1 [ 2 - // Moved before Standard macOS bindings so that `super-w` is not the last binding for 3 - // `workspace::CloseWindow` and displayed/intercepted by macOS 4 2 { 5 - "context": "PromptLibrary", 6 - "use_key_equivalents": true, 7 3 "bindings": { 8 - "super-n": "prompt_library::NewPrompt", 9 - "super-shift-s": "prompt_library::ToggleDefaultPrompt", 10 - "super-w": "workspace::CloseWindow" 11 - } 12 - }, 13 - // Standard macOS bindings 14 - { 15 - "use_key_equivalents": true, 16 - "bindings": { 17 - "home": "menu::SelectFirst", 18 - "shift-pageup": "menu::SelectFirst", 19 - "pageup": "menu::SelectFirst", 20 - "super-up": "menu::SelectFirst", 21 - "end": "menu::SelectLast", 22 - "shift-pagedown": "menu::SelectLast", 23 - "pagedown": "menu::SelectLast", 24 - "super-down": "menu::SelectLast", 25 - "tab": "menu::SelectNext", 26 - "ctrl-n": "menu::SelectNext", 27 - "down": "menu::SelectNext", 28 - "shift-tab": "menu::SelectPrevious", 29 - "ctrl-p": "menu::SelectPrevious", 30 - "up": "menu::SelectPrevious", 31 - "enter": "menu::Confirm", 32 - "ctrl-enter": "menu::SecondaryConfirm", 33 - "super-enter": "menu::SecondaryConfirm", 34 - "super-escape": "menu::Cancel", 35 - "ctrl-escape": "menu::Cancel", 36 - "ctrl-c": "menu::Cancel", 37 - "escape": "menu::Cancel", 38 - "alt-shift-enter": "menu::Restart", 39 - "super-shift-w": "workspace::CloseWindow", 40 - "shift-escape": "workspace::ToggleZoom", 41 4 "super-o": "workspace::Open", 42 - "super-=": ["zed::IncreaseBufferFontSize", { "persist": false }], 43 - "super-+": ["zed::IncreaseBufferFontSize", { "persist": false }], 44 - "super--": ["zed::DecreaseBufferFontSize", { "persist": false }], 45 - "super-0": ["zed::ResetBufferFontSize", { "persist": false }], 46 5 "super-,": "zed::OpenSettings", 47 - "super-q": "zed::Quit", 48 - "super-h": "zed::Hide", 49 - "alt-super-h": "zed::HideOthers", 50 - "super-m": "zed::Minimize", 51 - "fn-f": "zed::ToggleFullScreen", 52 - "ctrl-super-f": "zed::ToggleFullScreen", 53 - "ctrl-super-z": "edit_prediction::RateCompletions", 54 - "ctrl-super-i": "edit_prediction::ToggleMenu" 6 + "super-q": "zed::Quit" 55 7 } 56 8 }, 57 9 { 58 10 "context": "Editor", 59 - "use_key_equivalents": true, 60 11 "bindings": { 61 - "escape": "editor::Cancel", 62 - "shift-backspace": "editor::Backspace", 63 - "ctrl-h": "editor::Backspace", 64 - "backspace": "editor::Backspace", 65 - "ctrl-d": "editor::Delete", 66 - "delete": "editor::Delete", 67 - "tab": "editor::Tab", 68 - "shift-tab": "editor::Backtab", 69 - "ctrl-t": "editor::Transpose", 70 - "ctrl-k": "editor::KillRingCut", 71 - "ctrl-y": "editor::KillRingYank", 72 - "super-k super-q": "editor::Rewrap", 73 - "super-k q": "editor::Rewrap", 74 - "super-backspace": "editor::DeleteToBeginningOfLine", 75 - "super-delete": "editor::DeleteToEndOfLine", 76 - "alt-backspace": "editor::DeleteToPreviousWordStart", 77 - "ctrl-w": "editor::DeleteToPreviousWordStart", 78 - "alt-delete": "editor::DeleteToNextWordEnd", 79 12 "super-x": "editor::Cut", 80 13 "super-c": "editor::Copy", 81 14 "super-v": "editor::Paste", 82 15 "super-z": "editor::Undo", 83 16 "super-shift-z": "editor::Redo", 84 - "up": "editor::MoveUp", 85 - "ctrl-up": "editor::MoveToStartOfParagraph", 86 - "pageup": "editor::MovePageUp", 87 - "shift-pageup": "editor::SelectPageUp", 88 - "super-pageup": "editor::PageUp", 89 - "ctrl-pageup": "editor::LineUp", 90 - "down": "editor::MoveDown", 91 - "ctrl-down": "editor::MoveToEndOfParagraph", 92 - "pagedown": "editor::MovePageDown", 93 - "shift-pagedown": "editor::SelectPageDown", 94 - "super-pagedown": "editor::PageDown", 95 - "ctrl-pagedown": "editor::LineDown", 96 - "ctrl-p": "editor::MoveUp", 97 - "ctrl-n": "editor::MoveDown", 98 - "ctrl-b": "editor::MoveLeft", 99 - "left": "editor::MoveLeft", 100 - "ctrl-f": "editor::MoveRight", 101 - "right": "editor::MoveRight", 102 - "ctrl-l": "editor::ScrollCursorCenter", 103 - "alt-left": "editor::MoveToPreviousWordStart", 104 - "alt-right": "editor::MoveToNextWordEnd", 105 - "super-left": ["editor::MoveToBeginningOfLine", { "stop_at_soft_wraps": true, "stop_at_indent": true }], 106 - "ctrl-a": ["editor::MoveToBeginningOfLine", { "stop_at_soft_wraps": false, "stop_at_indent": true }], 107 - "home": ["editor::MoveToBeginningOfLine", { "stop_at_soft_wraps": true, "stop_at_indent": true }], 108 - "super-right": ["editor::MoveToEndOfLine", { "stop_at_soft_wraps": true }], 109 - "ctrl-e": ["editor::MoveToEndOfLine", { "stop_at_soft_wraps": false }], 110 - "end": ["editor::MoveToEndOfLine", { "stop_at_soft_wraps": true }], 111 - "super-up": "editor::MoveToBeginning", 112 - "super-down": "editor::MoveToEnd", 113 - "super-home": "editor::MoveToBeginning", // Typed via `super-fn-left` 114 - "super-end": "editor::MoveToEnd", // Typed via `super-fn-right` 115 - "shift-up": "editor::SelectUp", 116 - "ctrl-shift-p": "editor::SelectUp", 117 - "shift-down": "editor::SelectDown", 118 - "ctrl-shift-n": "editor::SelectDown", 119 - "shift-left": "editor::SelectLeft", 120 - "ctrl-shift-b": "editor::SelectLeft", 121 - "shift-right": "editor::SelectRight", 122 - "ctrl-shift-f": "editor::SelectRight", 123 - "alt-shift-left": "editor::SelectToPreviousWordStart", // cursorWordLeftSelect 124 - "alt-shift-right": "editor::SelectToNextWordEnd", // cursorWordRightSelect 125 - "ctrl-shift-up": "editor::SelectToStartOfParagraph", 126 - "ctrl-shift-down": "editor::SelectToEndOfParagraph", 127 - "super-shift-up": "editor::SelectToBeginning", 128 - "super-shift-down": "editor::SelectToEnd", 129 17 "super-a": "editor::SelectAll", 130 - "super-l": "editor::SelectLine", 131 - "super-shift-i": "editor::Format", 132 - "alt-shift-o": "editor::OrganizeImports", 133 - "super-shift-left": ["editor::SelectToBeginningOfLine", { "stop_at_soft_wraps": true, "stop_at_indent": true }], 134 - "shift-home": ["editor::SelectToBeginningOfLine", { "stop_at_soft_wraps": true, "stop_at_indent": true }], 135 - "ctrl-shift-a": ["editor::SelectToBeginningOfLine", { "stop_at_soft_wraps": true, "stop_at_indent": true }], 136 - "super-shift-right": ["editor::SelectToEndOfLine", { "stop_at_soft_wraps": true }], 137 - "shift-end": ["editor::SelectToEndOfLine", { "stop_at_soft_wraps": true }], 138 - "ctrl-shift-e": ["editor::SelectToEndOfLine", { "stop_at_soft_wraps": true }], 139 - "ctrl-v": ["editor::MovePageDown", { "center_cursor": true }], 140 - "ctrl-shift-v": ["editor::MovePageUp", { "center_cursor": true }], 141 - "ctrl-super-space": "editor::ShowCharacterPalette", 142 - "super-;": "editor::ToggleLineNumbers", 143 - "super-alt-z": "git::Restore", 144 - "super-alt-y": "git::ToggleStaged", 145 - "super-y": "git::StageAndNext", 146 - "super-shift-y": "git::UnstageAndNext", 147 - "super-'": "editor::ToggleSelectedDiffHunks", 148 - "super-\"": "editor::ExpandAllDiffHunks", 149 - "super-alt-g b": "git::Blame", 150 - "super-i": "editor::ShowSignatureHelp", 151 - "ctrl-f12": "editor::GoToDeclaration", 152 - "alt-ctrl-f12": "editor::GoToDeclarationSplit", 153 - "ctrl-super-e": "editor::ToggleEditPrediction" 18 + "super-l": "editor::SelectLine" 154 19 } 155 20 }, 156 21 { 157 22 "context": "Editor && mode == full", 158 - "use_key_equivalents": true, 159 23 "bindings": { 160 - "shift-enter": "editor::Newline", 161 - "enter": "editor::Newline", 162 - "super-enter": "editor::NewlineBelow", 163 - "super-shift-enter": "editor::NewlineAbove", 164 - "super-k z": "editor::ToggleSoftWrap", 165 - "super-shift-f": "buffer_search::Deploy", 166 - "super-alt-f": "buffer_search::DeployReplace", 167 - "super-alt-l": ["buffer_search::Deploy", { "selection_search_enabled": true }], 168 - "super-e": ["buffer_search::Deploy", { "focus": false }], 169 - "super->": "assistant::QuoteSelection", 170 - "super-<": "assistant::InsertIntoEditor", 171 - "super-alt-e": "editor::SelectEnclosingSymbol", 172 - "alt-enter": "editor::OpenSelectionsInMultibuffer" 173 - } 174 - }, 175 - { 176 - "context": "Editor && multibuffer", 177 - "use_key_equivalents": true, 178 - "bindings": { 179 - "super-up": "editor::MoveToStartOfExcerpt", 180 - "super-down": "editor::MoveToStartOfNextExcerpt", 181 - "super-shift-up": "editor::SelectToStartOfExcerpt", 182 - "super-shift-down": "editor::SelectToStartOfNextExcerpt" 183 - } 184 - }, 185 - { 186 - "context": "Editor && mode == full && edit_prediction", 187 - "use_key_equivalents": true, 188 - "bindings": { 189 - "alt-tab": "editor::NextEditPrediction", 190 - "alt-shift-tab": "editor::PreviousEditPrediction", 191 - "ctrl-super-right": "editor::AcceptPartialEditPrediction" 192 - } 193 - }, 194 - { 195 - "context": "Editor && !edit_prediction", 196 - "use_key_equivalents": true, 197 - "bindings": { 198 - "alt-tab": "editor::ShowEditPrediction" 199 - } 200 - }, 201 - { 202 - "context": "Editor && mode == auto_height", 203 - "use_key_equivalents": true, 204 - "bindings": { 205 - "ctrl-enter": "editor::Newline", 206 - "shift-enter": "editor::Newline", 207 - "ctrl-shift-enter": "editor::NewlineBelow" 208 - } 209 - }, 210 - { 211 - "context": "Markdown", 212 - "use_key_equivalents": true, 213 - "bindings": { 214 - "super-c": "markdown::Copy" 215 - } 216 - }, 217 - { 218 - "context": "Editor && jupyter && !ContextEditor", 219 - "use_key_equivalents": true, 220 - "bindings": { 221 - "ctrl-shift-enter": "repl::Run", 222 - "ctrl-alt-enter": "repl::RunInPlace" 223 - } 224 - }, 225 - { 226 - "context": "AssistantPanel", 227 - "use_key_equivalents": true, 228 - "bindings": { 229 - "super-k c": "assistant::CopyCode", 230 - "super-shift-e": "project_panel::ToggleFocus", 231 - "super-g": "search::SelectNextMatch", 232 - "super-shift-g": "search::SelectPreviousMatch", 233 - "super-alt-/": "assistant::ToggleModelSelector", 234 - "super-k h": "assistant::DeployHistory", 235 - "super-k l": "assistant::DeployPromptLibrary", 236 - "super-t": "assistant::NewChat", 237 - "super-n": "assistant::NewChat" 238 - } 239 - }, 240 - { 241 - "context": "ContextEditor > Editor", 242 - "use_key_equivalents": true, 243 - "bindings": { 244 - "super-enter": "assistant::Assist", 245 - "super-shift-enter": "assistant::Edit", 246 - "super-s": "workspace::Save", 247 - "super->": "assistant::QuoteSelection", 248 - "super-<": "assistant::InsertIntoEditor", 249 - "super-alt-/": "assistant::ToggleModelSelector", 250 - "shift-enter": "assistant::Split", 251 - "ctrl-r": "assistant::CycleMessageRole", 252 - "enter": "assistant::ConfirmCommand", 253 - "alt-enter": "editor::Newline" 254 - } 255 - }, 256 - { 257 - "context": "AssistantPanel2", 258 - "use_key_equivalents": true, 259 - "bindings": { 260 - "super-n": "assistant2::NewThread", 261 - "super-alt-p": "assistant2::NewPromptEditor", 262 - "super-shift-h": "assistant2::OpenHistory", 263 - "super-alt-/": "assistant::ToggleModelSelector", 264 - "super-shift-a": "assistant2::ToggleContextPicker", 265 - "super-e": "assistant2::ChatMode", 266 - "super-alt-e": "assistant2::RemoveAllContext" 267 - } 268 - }, 269 - { 270 - "context": "AssistantPanel2 && prompt_editor", 271 - "use_key_equivalents": true, 272 - "bindings": { 273 - "super-n": "assistant2::NewPromptEditor", 274 - "super-alt-t": "assistant2::NewThread" 275 - } 276 - }, 277 - { 278 - "context": "MessageEditor > Editor", 279 - "use_key_equivalents": true, 280 - "bindings": { 281 - "enter": "assistant2::Chat" 282 - } 283 - }, 284 - { 285 - "context": "EditMessageEditor > Editor", 286 - "use_key_equivalents": true, 287 - "bindings": { 288 - "escape": "menu::Cancel", 289 - "enter": "menu::Confirm", 290 - "alt-enter": "editor::Newline" 291 - } 292 - }, 293 - { 294 - "context": "ContextStrip", 295 - "use_key_equivalents": true, 296 - "bindings": { 297 - "up": "assistant2::FocusUp", 298 - "right": "assistant2::FocusRight", 299 - "left": "assistant2::FocusLeft", 300 - "down": "assistant2::FocusDown", 301 - "backspace": "assistant2::RemoveFocusedContext", 302 - "enter": "assistant2::AcceptSuggestedContext" 303 - } 304 - }, 305 - { 306 - "context": "ThreadHistory", 307 - "bindings": { 308 - "backspace": "assistant2::RemoveSelectedThread" 309 - } 310 - }, 311 - { 312 - "context": "BufferSearchBar", 313 - "use_key_equivalents": true, 314 - "bindings": { 315 - "escape": "buffer_search::Dismiss", 316 - "tab": "buffer_search::FocusEditor", 317 - "enter": "search::SelectNextMatch", 318 - "shift-enter": "search::SelectPreviousMatch", 319 - "alt-enter": "search::SelectAllMatches", 320 - "super-f": "search::FocusSearch", 321 - "super-alt-f": "search::ToggleReplace", 322 - "super-alt-l": "search::ToggleSelection", 323 - "super-shift-o": "outline::Toggle" 324 - } 325 - }, 326 - { 327 - "context": "BufferSearchBar && in_replace > Editor", 328 - "use_key_equivalents": true, 329 - "bindings": { 330 - "enter": "search::ReplaceNext", 331 - "super-enter": "search::ReplaceAll" 332 - } 333 - }, 334 - { 335 - "context": "BufferSearchBar && !in_replace > Editor", 336 - "use_key_equivalents": true, 337 - "bindings": { 338 - "up": "search::PreviousHistoryQuery", 339 - "down": "search::NextHistoryQuery" 340 - } 341 - }, 342 - { 343 - "context": "ProjectSearchBar", 344 - "use_key_equivalents": true, 345 - "bindings": { 346 - "escape": "project_search::ToggleFocus", 347 - "super-shift-j": "project_search::ToggleFilters", 348 - "super-shift-f": "search::FocusSearch", 349 - "super-shift-h": "search::ToggleReplace", 350 - "alt-super-g": "search::ToggleRegex", 351 - "alt-super-x": "search::ToggleRegex" 352 - } 353 - }, 354 - { 355 - "context": "ProjectSearchBar > Editor", 356 - "use_key_equivalents": true, 357 - "bindings": { 358 - "up": "search::PreviousHistoryQuery", 359 - "down": "search::NextHistoryQuery" 360 - } 361 - }, 362 - { 363 - "context": "ProjectSearchBar && in_replace > Editor", 364 - "use_key_equivalents": true, 365 - "bindings": { 366 - "enter": "search::ReplaceNext", 367 - "super-enter": "search::ReplaceAll" 368 - } 369 - }, 370 - { 371 - "context": "ProjectSearchView", 372 - "use_key_equivalents": true, 373 - "bindings": { 374 - "escape": "project_search::ToggleFocus", 375 - "super-shift-j": "project_search::ToggleFilters", 376 - "super-shift-h": "search::ToggleReplace", 377 - "alt-super-g": "search::ToggleRegex", 378 - "alt-super-x": "search::ToggleRegex" 379 - } 380 - }, 381 - { 382 - "context": "Pane", 383 - "use_key_equivalents": true, 384 - "bindings": { 385 - "alt-super-left": "pane::ActivatePreviousItem", 386 - "super-{": "pane::ActivatePreviousItem", 387 - "alt-super-right": "pane::ActivateNextItem", 388 - "super-}": "pane::ActivateNextItem", 389 - "ctrl-shift-pageup": "pane::SwapItemLeft", 390 - "ctrl-shift-pagedown": "pane::SwapItemRight", 391 - "super-w": ["pane::CloseActiveItem", { "close_pinned": false }], 392 - "alt-super-t": ["pane::CloseInactiveItems", { "close_pinned": false }], 393 - "ctrl-alt-super-w": "workspace::CloseInactiveTabsAndPanes", 394 - "super-k e": ["pane::CloseItemsToTheLeft", { "close_pinned": false }], 395 - "super-k t": ["pane::CloseItemsToTheRight", { "close_pinned": false }], 396 - "super-k u": ["pane::CloseCleanItems", { "close_pinned": false }], 397 - "super-k super-w": ["pane::CloseAllItems", { "close_pinned": false }], 398 - "super-f": "project_search::ToggleFocus", 399 - "super-g": "search::SelectNextMatch", 400 - "super-shift-g": "search::SelectPreviousMatch", 401 - "super-shift-h": "search::ToggleReplace", 402 - "super-alt-l": "search::ToggleSelection", 403 - "alt-enter": "search::SelectAllMatches", 404 - "alt-super-c": "search::ToggleCaseSensitive", 405 - "alt-super-w": "search::ToggleWholeWord", 406 - "alt-super-f": "project_search::ToggleFilters", 407 - "alt-super-x": "search::ToggleRegex", 408 - "super-k shift-enter": "pane::TogglePinTab" 409 - } 410 - }, 411 - // Bindings from VS Code 412 - { 413 - "context": "Editor", 414 - "use_key_equivalents": true, 415 - "bindings": { 416 - "super-[": "editor::Outdent", 417 - "super-]": "editor::Indent", 418 - "super-ctrl-p": "editor::AddSelectionAbove", // Insert cursor above 419 - "super-alt-up": "editor::AddSelectionAbove", 420 - "super-ctrl-n": "editor::AddSelectionBelow", // Insert cursor below 421 - "super-alt-down": "editor::AddSelectionBelow", 422 - "super-shift-k": "editor::DeleteLine", 423 - "alt-up": "editor::MoveLineUp", 424 - "alt-down": "editor::MoveLineDown", 425 - "alt-shift-up": "editor::DuplicateLineUp", 426 - "alt-shift-down": "editor::DuplicateLineDown", 427 - "ctrl-shift-right": "editor::SelectLargerSyntaxNode", // Expand Selection 428 - "ctrl-shift-left": "editor::SelectSmallerSyntaxNode", // Shrink Selection 429 - "super-d": ["editor::SelectNext", { "replace_newest": false }], // Add selection to Next Find Match 430 - "super-shift-l": "editor::SelectAllMatches", // Select all occurrences of current selection 431 - "super-f2": "editor::SelectAllMatches", // Select all occurrences of current word 432 - "ctrl-super-d": ["editor::SelectPrevious", { "replace_newest": false }], 433 - "super-k super-d": ["editor::SelectNext", { "replace_newest": true }], 434 - "super-k ctrl-super-d": ["editor::SelectPrevious", { "replace_newest": true }], 435 - "super-k super-i": "editor::Hover", 436 - "super-/": ["editor::ToggleComments", { "advance_downwards": false }], 437 - "super-u": "editor::UndoSelection", 438 - "super-shift-u": "editor::RedoSelection", 439 - "f8": "editor::GoToDiagnostic", 440 - "shift-f8": "editor::GoToPreviousDiagnostic", 441 - "f2": "editor::Rename", 442 - "f12": "editor::GoToDefinition", 443 - "alt-f12": "editor::GoToDefinitionSplit", 444 - "super-f12": "editor::GoToTypeDefinition", 445 - "shift-f12": "editor::GoToImplementation", 446 - "alt-super-f12": "editor::GoToTypeDefinitionSplit", 447 - "alt-shift-f12": "editor::FindAllReferences", 448 - "super-|": "editor::MoveToEnclosingBracket", 449 - "ctrl-m": "editor::MoveToEnclosingBracket", 450 - "alt-super-[": "editor::Fold", 451 - "alt-super-]": "editor::UnfoldLines", 452 - "super-k super-l": "editor::ToggleFold", 453 - "super-k super-[": "editor::FoldRecursive", 454 - "super-k super-]": "editor::UnfoldRecursive", 455 - "super-k super-1": ["editor::FoldAtLevel", 1], 456 - "super-k super-2": ["editor::FoldAtLevel", 2], 457 - "super-k super-3": ["editor::FoldAtLevel", 3], 458 - "super-k super-4": ["editor::FoldAtLevel", 4], 459 - "super-k super-5": ["editor::FoldAtLevel", 5], 460 - "super-k super-6": ["editor::FoldAtLevel", 6], 461 - "super-k super-7": ["editor::FoldAtLevel", 7], 462 - "super-k super-8": ["editor::FoldAtLevel", 8], 463 - "super-k super-9": ["editor::FoldAtLevel", 9], 464 - "super-k super-0": "editor::FoldAll", 465 - "super-k super-j": "editor::UnfoldAll", 466 - // Using `ctrl-space` in Zed requires disabling the macOS global shortcut. 467 - // System Preferences->Keyboard->Keyboard Shortcuts->Input Sources->Select the previous input source (uncheck) 468 - "ctrl-space": "editor::ShowCompletions", 469 - // "ctrl-shift-space": "editor::ShowWordCompletions", 470 - "super-.": "editor::ToggleCodeActions", 471 - "super-k r": "editor::RevealInFileManager", 472 - // "super-k p": "editor::CopyPath", 473 - "super-\\": "pane::SplitRight", 474 - "super-k v": "markdown::OpenPreviewToTheSide", 475 - "super-shift-v": "markdown::OpenPreview", 476 - "ctrl-super-c": "editor::DisplayCursorNames" 477 - } 478 - }, 479 - { 480 - "context": "Editor && mode == full", 481 - "use_key_equivalents": true, 482 - "bindings": { 483 - "super-shift-o": "outline::Toggle", 484 - "ctrl-g": "go_to_line::Toggle" 485 - } 486 - }, 487 - { 488 - "context": "Pane", 489 - "use_key_equivalents": true, 490 - "bindings": { 491 - "ctrl-1": ["pane::ActivateItem", 0], 492 - "ctrl-2": ["pane::ActivateItem", 1], 493 - "ctrl-3": ["pane::ActivateItem", 2], 494 - "ctrl-4": ["pane::ActivateItem", 3], 495 - "ctrl-5": ["pane::ActivateItem", 4], 496 - "ctrl-6": ["pane::ActivateItem", 5], 497 - "ctrl-7": ["pane::ActivateItem", 6], 498 - "ctrl-8": ["pane::ActivateItem", 7], 499 - "ctrl-9": ["pane::ActivateItem", 8], 500 - "ctrl-0": "pane::ActivateLastItem", 501 - "ctrl--": "pane::GoBack", 502 - "ctrl-_": "pane::GoForward", 503 - "super-shift-f": "pane::DeploySearch" 24 + "super-f": "buffer_search::Deploy" 504 25 } 505 26 }, 506 27 { 507 28 "context": "Workspace", 508 - "use_key_equivalents": true, 509 29 "bindings": { 510 - // Change the default action on `menu::Confirm` by setting the parameter 511 - // "alt-super-o": ["projects::OpenRecent", {"create_new_window": true }], 512 - "alt-super-o": "projects::OpenRecent", 513 - "ctrl-super-o": "projects::OpenRemote", 514 - // "alt-super-b": "branches::OpenRecent", 515 - "super-`": "workspace::NewTerminal", 516 - "super-s": "workspace::Save", 517 - "super-k s": "workspace::SaveWithoutFormat", 518 - "alt-shift-enter": "toast::RunAction", 519 - "super-shift-s": "workspace::SaveAs", 520 - "super-shift-n": "workspace::NewWindow", 521 - "ctrl-`": "terminal_panel::ToggleFocus", 522 - "super-1": ["workspace::ActivatePane", 0], 523 - "super-2": ["workspace::ActivatePane", 1], 524 - "super-3": ["workspace::ActivatePane", 2], 525 - "super-4": ["workspace::ActivatePane", 3], 526 - "super-5": ["workspace::ActivatePane", 4], 527 - "super-6": ["workspace::ActivatePane", 5], 528 - "super-7": ["workspace::ActivatePane", 6], 529 - "super-8": ["workspace::ActivatePane", 7], 530 - "super-9": ["workspace::ActivatePane", 8], 531 - "super-b": "workspace::ToggleLeftDock", 532 - "super-r": "workspace::ToggleRightDock", 533 - "super-j": "workspace::ToggleBottomDock", 534 - "alt-super-y": "workspace::CloseAllDocks", 535 - "super-shift-f": "pane::DeploySearch", 536 - "super-shift-h": ["pane::DeploySearch", { "replace_enabled": true }], 537 - "super-shift-t": "pane::ReopenClosedItem", 538 - "super-k super-s": "zed::OpenKeymap", 539 - "super-k super-t": "theme_selector::Toggle", 540 - "super-t": "project_symbols::Toggle", 541 - "super-p": "file_finder::Toggle", 542 - "ctrl-tab": "tab_switcher::Toggle", 543 - "ctrl-shift-tab": ["tab_switcher::Toggle", { "select_last": true }], 544 - "super-shift-p": "command_palette::Toggle", 545 - "super-shift-m": "diagnostics::Deploy", 546 - "super-shift-e": "project_panel::ToggleFocus", 547 - "super-shift-b": "outline_panel::ToggleFocus", 548 - "ctrl-shift-g": "git_panel::ToggleFocus", 549 - "super-?": "assistant::ToggleFocus", 550 - "super-alt-s": "workspace::SaveAll", 551 - "super-k m": "language_selector::Toggle", 552 - "escape": "workspace::Unfollow", 553 - "super-k super-left": "workspace::ActivatePaneLeft", 554 - "super-k super-right": "workspace::ActivatePaneRight", 555 - "super-k super-up": "workspace::ActivatePaneUp", 556 - "super-k super-down": "workspace::ActivatePaneDown", 557 - "super-k shift-left": "workspace::SwapPaneLeft", 558 - "super-k shift-right": "workspace::SwapPaneRight", 559 - "super-k shift-up": "workspace::SwapPaneUp", 560 - "super-k shift-down": "workspace::SwapPaneDown", 561 - "super-shift-x": "zed::Extensions" 562 - } 563 - }, 564 - { 565 - "context": "Workspace && !Terminal", 566 - "use_key_equivalents": true, 567 - "bindings": { 568 - "super-n": "workspace::NewFile", 569 - "super-shift-r": "task::Spawn", 570 - "super-alt-r": "task::Rerun", 571 - "ctrl-alt-shift-r": ["task::Spawn", { "reveal_target": "center" }] 572 - // also possible to spawn tasks by name: 573 - // "foo-bar": ["task::Spawn", { "task_name": "MyTask", "reveal_target": "dock" }] 574 - } 575 - }, 576 - // Bindings from Sublime Text 577 - { 578 - "context": "Editor", 579 - "use_key_equivalents": true, 580 - "bindings": { 581 - "ctrl-j": "editor::JoinLines", 582 - "ctrl-alt-backspace": "editor::DeleteToPreviousSubwordStart", 583 - "ctrl-alt-h": "editor::DeleteToPreviousSubwordStart", 584 - "ctrl-alt-delete": "editor::DeleteToNextSubwordEnd", 585 - "ctrl-alt-d": "editor::DeleteToNextSubwordEnd", 586 - "ctrl-alt-left": "editor::MoveToPreviousSubwordStart", 587 - "ctrl-alt-b": "editor::MoveToPreviousSubwordStart", 588 - "ctrl-alt-right": "editor::MoveToNextSubwordEnd", 589 - "ctrl-alt-f": "editor::MoveToNextSubwordEnd", 590 - "ctrl-alt-shift-left": "editor::SelectToPreviousSubwordStart", 591 - "ctrl-alt-shift-b": "editor::SelectToPreviousSubwordStart", 592 - "ctrl-alt-shift-right": "editor::SelectToNextSubwordEnd", 593 - "ctrl-alt-shift-f": "editor::SelectToNextSubwordEnd" 594 - } 595 - }, 596 - // Bindings from Atom 597 - { 598 - "context": "Pane", 599 - "use_key_equivalents": true, 600 - "bindings": { 601 - "super-k up": "pane::SplitUp", 602 - "super-k down": "pane::SplitDown", 603 - "super-k left": "pane::SplitLeft", 604 - "super-k right": "pane::SplitRight" 605 - } 606 - }, 607 - // Bindings that should be unified with bindings for more general actions 608 - { 609 - "context": "Editor && renaming", 610 - "use_key_equivalents": true, 611 - "bindings": { 612 - "enter": "editor::ConfirmRename" 613 - } 614 - }, 615 - { 616 - "context": "Editor && showing_completions", 617 - "use_key_equivalents": true, 618 - "bindings": { 619 - "enter": "editor::ConfirmCompletion", 620 - "tab": "editor::ComposeCompletion" 621 - } 622 - }, 623 - { 624 - "context": "Editor && edit_prediction", 625 - "bindings": { 626 - "alt-tab": "editor::AcceptEditPrediction", 627 - "tab": "editor::AcceptEditPrediction" 628 - } 629 - }, 630 - { 631 - "context": "Editor && edit_prediction_conflict", 632 - "use_key_equivalents": true, 633 - "bindings": { 634 - "alt-tab": "editor::AcceptEditPrediction" 635 - } 636 - }, 637 - { 638 - "context": "Editor && showing_code_actions", 639 - "use_key_equivalents": true, 640 - "bindings": { 641 - "enter": "editor::ConfirmCodeAction" 642 - } 643 - }, 644 - { 645 - "context": "Editor && (showing_code_actions || showing_completions)", 646 - "use_key_equivalents": true, 647 - "bindings": { 648 - "up": "editor::ContextMenuPrevious", 649 - "ctrl-p": "editor::ContextMenuPrevious", 650 - "down": "editor::ContextMenuNext", 651 - "ctrl-n": "editor::ContextMenuNext", 652 - "pageup": "editor::ContextMenuFirst", 653 - "pagedown": "editor::ContextMenuLast" 654 - } 655 - }, 656 - // Custom bindings 657 - { 658 - "use_key_equivalents": true, 659 - "bindings": { 660 - "ctrl-alt-super-f": "workspace::FollowNextCollaborator", 661 - // TODO: Move this to a dock open action 662 - "super-shift-c": "collab_panel::ToggleFocus", 663 - "super-alt-i": "zed::DebugElements" 664 - } 665 - }, 666 - { 667 - "context": "Editor && mode == full", 668 - "use_key_equivalents": true, 669 - "bindings": { 670 - "alt-enter": "editor::OpenExcerpts", 671 - "shift-enter": "editor::ExpandExcerpts", 672 - "super-alt-enter": "editor::OpenExcerptsSplit", 673 - "super-shift-e": "pane::RevealInProjectPanel", 674 - "super-f8": "editor::GoToHunk", 675 - "super-shift-f8": "editor::GoToPreviousHunk", 676 - "ctrl-enter": "assistant::InlineAssist", 677 - "ctrl-:": "editor::ToggleInlayHints" 678 - } 679 - }, 680 - { 681 - "context": "ProposedChangesEditor", 682 - "use_key_equivalents": true, 683 - "bindings": { 684 - "super-shift-y": "editor::ApplyDiffHunk", 685 - "super-shift-a": "editor::ApplyAllDiffHunks" 686 - } 687 - }, 688 - { 689 - "context": "PromptEditor", 690 - "use_key_equivalents": true, 691 - "bindings": { 692 - "super-shift-a": "assistant2::ToggleContextPicker", 693 - "super-alt-/": "assistant::ToggleModelSelector", 694 - "super-alt-e": "assistant2::RemoveAllContext", 695 - "ctrl-[": "assistant::CyclePreviousInlineAssist", 696 - "ctrl-]": "assistant::CycleNextInlineAssist" 697 - } 698 - }, 699 - { 700 - "context": "ProjectSearchBar && !in_replace", 701 - "use_key_equivalents": true, 702 - "bindings": { 703 - "super-enter": "project_search::SearchInNew" 704 - } 705 - }, 706 - { 707 - "context": "OutlinePanel && not_editing", 708 - "use_key_equivalents": true, 709 - "bindings": { 710 - "escape": "menu::Cancel", 711 - "left": "outline_panel::CollapseSelectedEntry", 712 - "right": "outline_panel::ExpandSelectedEntry", 713 - "super-alt-c": "workspace::CopyPath", 714 - "alt-super-shift-c": "workspace::CopyRelativePath", 715 - "alt-super-r": "outline_panel::RevealInFileManager", 716 - "space": "outline_panel::Open", 717 - "shift-down": "menu::SelectNext", 718 - "shift-up": "menu::SelectPrevious", 719 - "alt-enter": "editor::OpenExcerpts", 720 - "super-alt-enter": "editor::OpenExcerptsSplit" 721 - } 722 - }, 723 - { 724 - "context": "ProjectPanel", 725 - "use_key_equivalents": true, 726 - "bindings": { 727 - "left": "project_panel::CollapseSelectedEntry", 728 - "right": "project_panel::ExpandSelectedEntry", 729 - "super-n": "project_panel::NewFile", 730 - "super-d": "project_panel::Duplicate", 731 - "alt-super-n": "project_panel::NewDirectory", 732 - "super-x": "project_panel::Cut", 733 - "super-c": "project_panel::Copy", 734 - "super-v": "project_panel::Paste", 735 - "super-alt-c": "workspace::CopyPath", 736 - "alt-super-shift-c": "workspace::CopyRelativePath", 737 - "enter": "project_panel::Rename", 738 - "f2": "project_panel::Rename", 739 - "backspace": ["project_panel::Trash", { "skip_prompt": false }], 740 - "delete": ["project_panel::Trash", { "skip_prompt": false }], 741 - "super-backspace": ["project_panel::Trash", { "skip_prompt": true }], 742 - "super-delete": ["project_panel::Delete", { "skip_prompt": false }], 743 - "alt-super-r": "project_panel::RevealInFileManager", 744 - "ctrl-shift-enter": "project_panel::OpenWithSystem", 745 - "super-alt-backspace": ["project_panel::Delete", { "skip_prompt": false }], 746 - "super-shift-f": "project_panel::NewSearchInDirectory", 747 - "shift-down": "menu::SelectNext", 748 - "shift-up": "menu::SelectPrevious", 749 - "escape": "menu::Cancel" 750 - } 751 - }, 752 - { 753 - "context": "ProjectPanel && not_editing", 754 - "use_key_equivalents": true, 755 - "bindings": { 756 - "space": "project_panel::Open" 757 - } 758 - }, 759 - { 760 - "context": "GitPanel && ChangesList", 761 - "use_key_equivalents": true, 762 - "bindings": { 763 - "up": "menu::SelectPrevious", 764 - "down": "menu::SelectNext", 765 - "super-up": "menu::SelectFirst", 766 - "super-down": "menu::SelectLast", 767 - "enter": "menu::Confirm", 768 - "super-alt-y": "git::ToggleStaged", 769 - "space": "git::ToggleStaged", 770 - "super-y": "git::StageFile", 771 - "super-shift-y": "git::UnstageFile", 772 - "alt-down": "git_panel::FocusEditor", 773 - "tab": "git_panel::FocusEditor", 774 - "shift-tab": "git_panel::FocusEditor", 775 - "escape": "git_panel::ToggleFocus", 776 - "super-enter": "git::Commit", 777 - "backspace": "git::RestoreFile" 778 - } 779 - }, 780 - { 781 - "context": "GitDiff > Editor", 782 - "use_key_equivalents": true, 783 - "bindings": { 784 - "super-enter": "git::Commit", 785 - "super-ctrl-y": "git::StageAll", 786 - "super-ctrl-shift-y": "git::UnstageAll" 787 - } 788 - }, 789 - { 790 - "context": "GitPanel > Editor", 791 - "use_key_equivalents": true, 792 - "bindings": { 793 - "enter": "editor::Newline", 794 - "super-enter": "git::Commit", 795 - "tab": "git_panel::FocusChanges", 796 - "shift-tab": "git_panel::FocusChanges", 797 - "alt-up": "git_panel::FocusChanges", 798 - "shift-escape": "git::ExpandCommitEditor", 799 - "alt-tab": "git::GenerateCommitMessage" 800 - } 801 - }, 802 - { 803 - "context": "GitPanel", 804 - "use_key_equivalents": true, 805 - "bindings": { 806 - "ctrl-g ctrl-g": "git::Fetch", 807 - "ctrl-g up": "git::Push", 808 - "ctrl-g down": "git::Pull", 809 - "ctrl-g shift-up": "git::ForcePush", 810 - "ctrl-g d": "git::Diff", 811 - "ctrl-g backspace": "git::RestoreTrackedFiles", 812 - "ctrl-g shift-backspace": "git::TrashUntrackedFiles", 813 - "super-ctrl-y": "git::StageAll", 814 - "super-ctrl-shift-y": "git::UnstageAll" 815 - } 816 - }, 817 - { 818 - "context": "GitCommit > Editor", 819 - "use_key_equivalents": true, 820 - "bindings": { 821 - "enter": "editor::Newline", 822 - "escape": "menu::Cancel", 823 - "super-enter": "git::Commit", 824 - "alt-tab": "git::GenerateCommitMessage" 825 - } 826 - }, 827 - { 828 - "context": "CollabPanel && not_editing", 829 - "use_key_equivalents": true, 830 - "bindings": { 831 - "ctrl-backspace": "collab_panel::Remove", 832 - "space": "menu::Confirm" 833 - } 834 - }, 835 - { 836 - "context": "(CollabPanel && editing) > Editor", 837 - "use_key_equivalents": true, 838 - "bindings": { 839 - "space": "collab_panel::InsertSpace" 840 - } 841 - }, 842 - { 843 - "context": "ChannelModal", 844 - "use_key_equivalents": true, 845 - "bindings": { 846 - "tab": "channel_modal::ToggleMode" 847 - } 848 - }, 849 - { 850 - "context": "Picker > Editor", 851 - "use_key_equivalents": true, 852 - "bindings": { 853 - "escape": "menu::Cancel", 854 - "up": "menu::SelectPrevious", 855 - "down": "menu::SelectNext", 856 - "tab": "picker::ConfirmCompletion", 857 - "alt-enter": ["picker::ConfirmInput", { "secondary": false }], 858 - "super-alt-enter": ["picker::ConfirmInput", { "secondary": true }] 859 - } 860 - }, 861 - { 862 - "context": "ChannelModal > Picker > Editor", 863 - "use_key_equivalents": true, 864 - "bindings": { 865 - "tab": "channel_modal::ToggleMode" 866 - } 867 - }, 868 - { 869 - "context": "FileFinder || (FileFinder > Picker > Editor) || (FileFinder > Picker > menu)", 870 - "use_key_equivalents": true, 871 - "bindings": { 872 - "super-shift-p": "file_finder::SelectPrevious", 873 - "super-j": "pane::SplitDown", 874 - "super-k": "pane::SplitUp", 875 - "super-h": "pane::SplitLeft", 876 - "super-l": "pane::SplitRight" 877 - } 878 - }, 879 - { 880 - "context": "TabSwitcher", 881 - "use_key_equivalents": true, 882 - "bindings": { 883 - "ctrl-shift-tab": "menu::SelectPrevious", 884 - "ctrl-up": "menu::SelectPrevious", 885 - "ctrl-down": "menu::SelectNext", 886 - "ctrl-backspace": "tab_switcher::CloseSelectedItem" 887 - } 888 - }, 889 - { 890 - "context": "Terminal", 891 - "use_key_equivalents": true, 892 - "bindings": { 893 - "ctrl-super-space": "terminal::ShowCharacterPalette", 894 - "super-c": "terminal::Copy", 895 - "super-v": "terminal::Paste", 896 - "super-a": "editor::SelectAll", 897 - // "super-k": "::Clear", 898 - "super-n": "workspace::NewTerminal", 899 - "ctrl-enter": "assistant::InlineAssist", 900 - "ctrl-_": null, // emacs undo 901 - // Some nice conveniences 902 - "super-backspace": ["terminal::SendText", "\u0015"], 903 - "super-right": ["terminal::SendText", "\u0005"], 904 - "super-left": ["terminal::SendText", "\u0001"], 905 - // Terminal.app compatibility 906 - "alt-left": ["terminal::SendText", "\u001bb"], 907 - "alt-right": ["terminal::SendText", "\u001bf"], 908 - "alt-b": ["terminal::SendText", "\u001bb"], 909 - "alt-f": ["terminal::SendText", "\u001bf"], 910 - // There are conflicting bindings for these keys in the global context. 911 - // these bindings override them, remove at your own risk: 912 - "up": ["terminal::SendKeystroke", "up"], 913 - "pageup": ["terminal::SendKeystroke", "pageup"], 914 - "down": ["terminal::SendKeystroke", "down"], 915 - "pagedown": ["terminal::SendKeystroke", "pagedown"], 916 - "escape": ["terminal::SendKeystroke", "escape"], 917 - "enter": ["terminal::SendKeystroke", "enter"], 918 - "ctrl-c": ["terminal::SendKeystroke", "ctrl-c"], 919 - "shift-pageup": "terminal::ScrollPageUp", 920 - "super-up": "terminal::ScrollPageUp", 921 - "shift-pagedown": "terminal::ScrollPageDown", 922 - "super-down": "terminal::ScrollPageDown", 923 - "shift-up": "terminal::ScrollLineUp", 924 - "shift-down": "terminal::ScrollLineDown", 925 - "shift-home": "terminal::ScrollToTop", 926 - "super-home": "terminal::ScrollToTop", 927 - "shift-end": "terminal::ScrollToBottom", 928 - "super-end": "terminal::ScrollToBottom", 929 - "ctrl-shift-space": "terminal::ToggleViMode", 930 - "ctrl-k up": "pane::SplitUp", 931 - "ctrl-k down": "pane::SplitDown", 932 - "ctrl-k left": "pane::SplitLeft", 933 - "ctrl-k right": "pane::SplitRight" 934 - } 935 - }, 936 - { 937 - "context": "RateCompletionModal", 938 - "use_key_equivalents": true, 939 - "bindings": { 940 - "super-shift-enter": "zeta::ThumbsUpActiveCompletion", 941 - "super-shift-backspace": "zeta::ThumbsDownActiveCompletion", 942 - "shift-down": "zeta::NextEdit", 943 - "shift-up": "zeta::PreviousEdit", 944 - "right": "zeta::PreviewCompletion" 945 - } 946 - }, 947 - { 948 - "context": "RateCompletionModal > Editor", 949 - "use_key_equivalents": true, 950 - "bindings": { 951 - "escape": "zeta::FocusCompletions", 952 - "super-shift-enter": "zeta::ThumbsUpActiveCompletion", 953 - "super-shift-backspace": "zeta::ThumbsDownActiveCompletion" 954 - } 955 - }, 956 - { 957 - "context": "ZedPredictModal", 958 - "use_key_equivalents": true, 959 - "bindings": { 960 - "escape": "menu::Cancel" 30 + "super-.": "workspace::OpenTerminal" 961 31 } 962 32 } 963 33 ]