1
0
Fork 0

typst preview

This commit is contained in:
zymon 2025-01-11 19:56:13 +01:00
parent fdb1e07929
commit 55c7d11d5e

View file

@ -199,9 +199,21 @@ return {
end end
end, end,
}, },
} },
{
"https://github.com/chomosuke/typst-preview.nvim",
ft = "typst",
version = "1.*",
keys = {
{ "<localleader>p", "<CMD>TypstPreview document<CR>", desc = "open typst preview document", },
{ "<localleader>ps", "<CMD>TypstPreview slide<CR>", desc = "open typst preview slide", },
{ "<localleader>s", "<CMD>TypstPreviewStop<CR>", desc = "stop typst preview", },
{ "<localleader><SPACE>", "<CMD>TypstPreviewSyncCursor<CR>", desc = "sync cursor", },
{ "<localleader>f", "<CMD>TypstPreviewFollowCursorToggle<CR>", desc = "toggle follow cursor", },
},
opts = {}, -- lazy.nvim will implicitly calls `setup {}`
},
} }