Skip to content

Commit

Permalink
zed
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusandre committed May 6, 2024
1 parent f91eedc commit 72b5b30
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
7 changes: 7 additions & 0 deletions zed/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"vim_mode": true,
"ui_font_size": 14,
"buffer_font_size": 14,
"buffer_font_family": "JetBrains Mono",
"ui_font_family": "JetBrains Mono"
}
32 changes: 32 additions & 0 deletions zed/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
// Static tasks configuration.
//
// Example:
[
{
"label": "Example task",
"command": "for i in {1..5}; do echo \"Hello $i/5\"; sleep 1; done",
//"args": [],
// Env overrides for the command, will be appended to the terminal's environment from the settings.
"env": { "foo": "bar" },
// Current working directory to spawn the command into, defaults to current project root.
//"cwd": "/path/to/working/directory",
// Whether to use a new terminal tab or reuse the existing one to spawn the process, defaults to `false`.
"use_new_terminal": false,
// Whether to allow multiple instances of the same task to be run, or rather wait for the existing ones to finish, defaults to `false`.
"allow_concurrent_runs": false,
// What to do with the terminal pane and tab, after the command was started:
// * `always` — always show the terminal pane, add and focus the corresponding task's tab in it (default)
// * `never` — avoid changing current terminal pane focus, but still add/reuse the task's tab there
"reveal": "always"
},
{
"label": "test file",
"command": "npx jest",
"args": ["$ZED_FILE"]
},
{
"label": "test one",
"command": "npx jest",
"args": ["$ZED_FILE", "$ZED_ROW"]
}
]

0 comments on commit 72b5b30

Please sign in to comment.