From 4dc7726ba264a24a54e972e874e4bd21a11aff0d Mon Sep 17 00:00:00 2001 From: Andrew Paon Date: Mon, 30 May 2022 12:04:41 -0700 Subject: [PATCH] Add run cmd for markdown->pdf --- lua/quickrun.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/quickrun.lua b/lua/quickrun.lua index 63ac150..08ceeec 100644 --- a/lua/quickrun.lua +++ b/lua/quickrun.lua @@ -4,7 +4,8 @@ local M = {} local ft_commands = { python = "python -i %", - cpp = "make %:r && ./%:r" + cpp = "make %:r && ./%:r", + markdown = "pandoc % -o %:r.pdf && zathura %:r.pdf" } function create_qr_buffer(cmd) -- 2.45.2