Skip to content

Instantly share code, notes, and snippets.

@nebjak
Created April 30, 2026 11:35
Show Gist options
  • Select an option

  • Save nebjak/fbe159300437bb93c411c6412263b33f to your computer and use it in GitHub Desktop.

Select an option

Save nebjak/fbe159300437bb93c411c6412263b33f to your computer and use it in GitHub Desktop.
Zed create napkin task
{
"label": "Napkin: json (project)",
"command": "EXT=json; DIR=\"${ZED_WORKTREE_ROOT:-$PWD}/.tmp-napkins\"; mkdir -p \"$DIR\"; ID=$(date +%Y-%m-%d-%H%M%S); FILE=\"$DIR/napkin_$ID.$EXT\"; touch \"$FILE\" && zed -a \"$FILE\"",
"use_new_terminal": false,
"allow_concurrent_runs": true,
"reveal": "never",
"hide": "always"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment