Update 2025-03-30

Update 2025-03-08

Update 2025-03-09

Update 2025-03-10

Update 2025-03-12

Update 2025-03-15

Update 2025-03-16

Update 2025-03-17

Update 2025-03-18

Update 2025-03-21

Update 2025-03-23

Update 2025-03-27

Update 2025-03-28

Update 2025-03-30
This commit is contained in:
2025-03-03 09:40:02 +02:00
parent e0f12a9ce3
commit f9df29cfaa
29 changed files with 392 additions and 215 deletions

View File

@@ -125,3 +125,14 @@ vim.api.nvim_create_autocmd({ "VimEnter" }, {
vim.opt_local.colorcolumn = "80"
end
]]
vim.api.nvim_create_user_command("OpenPdf", function()
local filepath = vim.api.nvim_buf_get_name(0)
if filepath:match("%.typ$") then
os.execute(
"zathura "
.. vim.fn.shellescape(filepath:gsub("%.typ$", ".pdf"):gsub("/([^/]+)%.pdf$", "/target/%1.pdf"))
.. " 2>/dev/null &"
)
end
end, {})