typst preview
This commit is contained in:
parent
fdb1e07929
commit
55c7d11d5e
1 changed files with 14 additions and 2 deletions
|
@ -199,9 +199,21 @@ return {
|
|||
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 {}`
|
||||
},
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue