add zed tasks
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -12,4 +12,5 @@
|
|||||||
.vscode
|
.vscode
|
||||||
__pycache__
|
__pycache__
|
||||||
notes.*
|
notes.*
|
||||||
!notes.tex
|
!notes.tex
|
||||||
|
!.zed/*
|
||||||
25
.zed/tasks.json
Normal file
25
.zed/tasks.json
Normal file
@@ -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"
|
||||||
|
}
|
||||||
|
]
|
||||||
Reference in New Issue
Block a user