Add .config files
This commit is contained in:
parent
5753b14e3f
commit
8efbfd0164
4 changed files with 97 additions and 0 deletions
35
.config/zed/tasks.json
Normal file
35
.config/zed/tasks.json
Normal file
|
@ -0,0 +1,35 @@
|
|||
// Static tasks configuration.
|
||||
//
|
||||
// Example:
|
||||
[
|
||||
{
|
||||
"label": "Run python selection",
|
||||
"command": "python3",
|
||||
"args": ["-c", "\"$ZED_SELECTED_TEXT\""],
|
||||
"use_new_terminal": false
|
||||
},
|
||||
{
|
||||
"label": "Run python file",
|
||||
"command": "python3",
|
||||
"args": ["$ZED_FILE"],
|
||||
"use_new_terminal": false
|
||||
},
|
||||
{
|
||||
"label": "Create new venv",
|
||||
"command": "python3",
|
||||
"args": ["-m", "venv", "$ZED_WORKTREE_ROOT/.venv"],
|
||||
"use_new_terminal": false
|
||||
},
|
||||
{
|
||||
"label": "Delete venv",
|
||||
"command": "rm",
|
||||
"args": ["-rf", "$ZED_WORKTREE_ROOT/.venv"],
|
||||
"use_new_terminal": false
|
||||
},
|
||||
{
|
||||
"label": "Setup Python Project (pyrightconfig.json)",
|
||||
"command": "bash",
|
||||
"args": ["~/.config/zed/initPython.sh"],
|
||||
"use_new_terminal": false
|
||||
}
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue