From 666fe957a2dc9c4d97f3d468518f5ce1a42ae7e5 Mon Sep 17 00:00:00 2001 From: Yu Cong Date: Tue, 2 Dec 2025 11:53:57 +0800 Subject: [PATCH] z --- .zed/tasks.json | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .zed/tasks.json diff --git a/.zed/tasks.json b/.zed/tasks.json new file mode 100644 index 0000000..7500c78 --- /dev/null +++ b/.zed/tasks.json @@ -0,0 +1,25 @@ +// Static tasks configuration. +// +[ + { + "label": "forward_search", + "command": "/Applications/Skim.app/Contents/SharedSupport/displayline -r -z -b $ZED_ROW $ZED_DIRNAME/$ZED_STEM.pdf", + "allow_concurrent_runs": false, + "reveal": "never", + "hide": "always" + }, + { + "label": "pdflatex_view", + "command": "cd \"$ZED_DIRNAME\" && pdflatex -shell-escape -synctex=-1 \"$ZED_STEM\" && /Applications/Skim.app/Contents/SharedSupport/displayline -r -z -b $ZED_ROW \"$ZED_STEM\".pdf", + "allow_concurrent_runs": false, + "reveal": "no_focus", + "hide": "on_success" + }, + { + "label": "latexmk_view", + "command": "cd \"$ZED_DIRNAME\" && latexmk -pdf \"$ZED_STEM\" && /Applications/Skim.app/Contents/SharedSupport/displayline -r -z -b $ZED_ROW \"$ZED_STEM\".pdf", + "allow_concurrent_runs": false, + "reveal": "no_focus", + "hide": "on_success" + } +] \ No newline at end of file