{"id":22213532,"url":"https://github.com/robbycbennett/vscodeterminalmacros","last_synced_at":"2025-07-27T12:31:25.198Z","repository":{"id":113201196,"uuid":"398402536","full_name":"RobbyCBennett/VSCodeTerminalMacros","owner":"RobbyCBennett","description":"Use the terminal without using the terminal","archived":false,"fork":false,"pushed_at":"2023-10-26T01:30:10.000Z","size":78,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2023-10-26T02:36:23.802Z","etag":null,"topics":["personal","vscode-extension"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RobbyCBennett.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-08-20T21:18:59.000Z","updated_at":"2023-08-14T22:45:31.000Z","dependencies_parsed_at":"2023-03-27T15:08:01.350Z","dependency_job_id":null,"html_url":"https://github.com/RobbyCBennett/VSCodeTerminalMacros","commit_stats":null,"previous_names":[],"tags_count":1,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobbyCBennett%2FVSCodeTerminalMacros","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobbyCBennett%2FVSCodeTerminalMacros/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobbyCBennett%2FVSCodeTerminalMacros/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobbyCBennett%2FVSCodeTerminalMacros/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RobbyCBennett","download_url":"https://codeload.github.com/RobbyCBennett/VSCodeTerminalMacros/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227802855,"owners_count":17822113,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["personal","vscode-extension"],"created_at":"2024-12-02T21:10:02.320Z","updated_at":"2024-12-02T21:10:02.981Z","avatar_url":"https://github.com/RobbyCBennett.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terminal Macros\n\n*Use the terminal without using the terminal*\n\n## Add Your Commands\n\nAdd and organize all of your commands.\n\n - settings.json\n\n```jsonc\n\"terminalMacros.commands\": [\n\t{\n\t\t\"command\": \"echo Hello world\"\n\t},\n\t{\n\t\t// Required\n\t\t\"command\": \"{recent}\", // {recent} = the command that was run most recently\n\n\t\t// Optional\n\t\t\"group\": \"General\", // Used for organization\n\t\t\"name\": \"Last Command\", // The pretty name\n\t\t\"save\": true, // Saves your file\n\t\t\"show\": true, // Shows the terminal\n\t\t\"stop\": false, // Control c\n\t\t\"logout\": false, // Control d\n\t\t\"clear\": true, // Clear the terminal\n\t\t\"execute\": true, // Execute the command\n\t\t\"focus\": false, // Focus on the terminal\n\t\t\"terminal\": \"bash\" // Name of terminal to use\n\t},\n\t{\n\t\t\"group\": \"General\",\n\t\t\"name\": \"Run File\",\n\t\t\"command\": \"./{file}\" // {file} = name of the current file in the editor\n\t},\n\t{\n\t\t\"group\": \"General\",\n\t\t\"name\": \"Paste\",\n\t\t\"command\": \"{paste}\" // {paste} = the last thing copied\n\t},\n\t{\n\t\t\"group\": \"General\",\n\t\t\"name\": \"Full Path\",\n\t\t\"command\": \"echo {path}\" // {path} = full path of the current file in the editor\n\t},\n\t{\n\t\t\"group\": \"General\",\n\t\t\"name\": \"Execute Selected\",\n\t\t\"command\": \"{selection}\", // {selection} = selected text in the editor\n\t\t\"execute\": true\n\t},\n\t{\n\t\t\"group\": \"General\",\n\t\t\"name\": \"Change Directory\",\n\t\t\"command\": \"cd {directory}\", // {directory} = full path of the directory of the file in the editor\n\t\t\"execute\": true\n\t}\n],\n```\n\n## Edit Default Command Options\n\nUseful if you always want to clear the terminal, save your file, etc.\n\n - Settings\n\n - settings.json\n\n```jsonc\n\"terminalMacros.default.clear\": true,\n\"terminalMacros.default.execute\": true,\n\"terminalMacros.default.focus\": false,\n\"terminalMacros.default.logout\": false,\n\"terminalMacros.default.save\": true,\n\"terminalMacros.default.show\": true,\n\"terminalMacros.default.stop\": false,\n```\n\n## Execute a Command with Keyboard Shortcuts\n\nUse your most frequent commands with keyboard shortcuts.\n\n - keybindings.json\n\n```jsonc\n{\n\t\"key\": \"f1\",\n\t\"command\": \"terminalMacros.executeCommand\",\n\t\"args\": 0 // Required: command number, a 0-based index in the array\n},\n```\n\n## List All Commands in Quick Pick Menu\n\nSee all your commands in the quick pick menu.\n\n - Command Palette: \"Terminal Macros: List Commands\"\n\n - Keyboard Shortcuts\n\n - keybindings.json\n\n```jsonc\n{\n\t\"key\": \"f2\",\n\t\"command\": \"terminalMacros.listCommands\"\n},\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobbycbennett%2Fvscodeterminalmacros","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobbycbennett%2Fvscodeterminalmacros","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobbycbennett%2Fvscodeterminalmacros/lists"}