feat: finalize migration to chezmoi and modernize configuration logic
- 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
This commit is contained in:
25
dot_config/nvim/lua/plugins/pandoc.lua
Normal file
25
dot_config/nvim/lua/plugins/pandoc.lua
Normal file
@@ -0,0 +1,25 @@
|
||||
-- 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
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user