Skip to content

Instantly share code, notes, and snippets.

@Oyveloper
Created March 23, 2023 12:23
Show Gist options
  • Save Oyveloper/a63544727bb8a944b0d8032daaf34b45 to your computer and use it in GitHub Desktop.
Save Oyveloper/a63544727bb8a944b0d8032daaf34b45 to your computer and use it in GitHub Desktop.
VSCode Lazygit task
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "maximize_terminal",
"command": "${command:workbench.action.toggleMaximizedPanel}",
},
{
"label": "lazygit",
"type": "shell",
"command": "lazygit",
"presentation": {
"echo": true,
"reveal": "always",
"focus": true,
"panel": "dedicated",
"clear": false,
"close": true,
},
"dependsOn": "maximize_terminal",
},
{
"label": "close_lazygit",
"command": "${command:workbench.action.toggleMaximizedPanel}",
"dependsOn": "lazygit",
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment