From c78361a6155dd53cd1098f7fdf33acfea20dc903 Mon Sep 17 00:00:00 2001 From: Marcelo Date: Mon, 3 Mar 2025 21:05:55 -0300 Subject: Initial commit. --- after/ftplugin/dot.lua | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 after/ftplugin/dot.lua (limited to 'after/ftplugin/dot.lua') diff --git a/after/ftplugin/dot.lua b/after/ftplugin/dot.lua new file mode 100644 index 0000000..99fc056 --- /dev/null +++ b/after/ftplugin/dot.lua @@ -0,0 +1,2 @@ +vim.keymap.set("n", "", "update | !dot % -Tpng > /tmp/%:t:r.png && sxiv /tmp/%:t:r.png", + { desc = "Generate PNG image" }) -- cgit v1.2.3