Skip to content

Instantly share code, notes, and snippets.

@PJUllrich
Created April 4, 2024 12:46
Show Gist options
  • Select an option

  • Save PJUllrich/93cfa7d2f05ab4afb19d1d798c63da6d to your computer and use it in GitHub Desktop.

Select an option

Save PJUllrich/93cfa7d2f05ab4afb19d1d798c63da6d to your computer and use it in GitHub Desktop.

Revisions

  1. PJUllrich created this gist Apr 4, 2024.
    36 changes: 36 additions & 0 deletions keymap.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,36 @@
    [
    {
    "context": "Pane",
    "bindings": {
    "ctrl-shift-tab": "pane::ActivatePrevItem",
    "ctrl-tab": "pane::ActivateNextItem",
    "cmd-shift-t": "workspace::NewTerminal"
    }
    },
    {
    "context": "Workspace",
    "bindings": {
    "cmd-t": "workspace::ToggleBottomDock"
    }
    },
    {
    "context": "Editor",
    "bindings": {
    "cmd-l": ["task::Spawn", { "task_name": "test one" }],
    "cmd-shift-l": ["task::Spawn", { "task_name": "test file" }],
    "alt-up": "editor::MoveLineUp",
    "alt-down": "editor::MoveLineDown",
    "shift-alt-up": "editor::AddSelectionAbove",
    "shift-alt-down": "editor::AddSelectionBelow",
    "cmd-shift-d": "editor::DuplicateLine",
    "cmd-backspace": "editor::DeleteLine",
    "alt-backspace": "editor::DeleteToPreviousSubwordStart"
    }
    },
    {
    "context": "ProjectPanel && not_editing",
    "bindings": {
    "m": "project_panel::CollapseAllEntries"
    }
    }
    ]