- Modularize Hyprland config into hyprland.d/ - Implement infinitely scalable monitor/workspace logic using templates and loop-based data structures - Consolidate host-specific configs (hyprlock, hyprpaper, waybar) into single templates - Resolve waybar symlink conflict and fix template execution errors - Integrate chezmoi data variables for scale, resolution, and peripherals
26 lines
637 B
Lua
26 lines
637 B
Lua
-- A vimtex-like workflow for compiling Markdown to PDF using pandoc
|
|
return {
|
|
"arminveres/md-pdf.nvim",
|
|
lazy = true,
|
|
-- Set up a keymap for compiling
|
|
keys = {
|
|
{
|
|
"<Leader>mc",
|
|
function()
|
|
-- The plugin's main function to convert markdown to pdf
|
|
require("md-pdf").convert_md_to_pdf()
|
|
end,
|
|
desc = "Markdown Compile",
|
|
},
|
|
},
|
|
-- Configure the plugin
|
|
opts = {
|
|
-- Set zathura as the PDF viewer to match the vimtex setup
|
|
preview_cmd = function()
|
|
return "zathura"
|
|
end,
|
|
-- other options...
|
|
ignore_viewer_state = true, -- Auto-recompile PDF on each write
|
|
},
|
|
}
|