vim.api.nvim_create_user_command("\079\112\101\110\080\100\102",function()local O=vim.api.nvim_buf_get_name(0)if O:match("\037\046\116\121\112\036")then vim.ui.open(vim.fn.shellescape(O:gsub("\037\046\116\121\112\036","\046\112\100\102")),{})end end,{})
vim.api.nvim_create_user_command("OpenPdf", function()
  local filepath = vim.api.nvim_buf_get_name(0)
  if filepath:match("%.typ$") then
    vim.ui.open(vim.fn.shellescape(filepath:gsub("%.typ$", ".pdf")), {})
  end
end, {})
