Skip to content
This repository was archived by the owner on Apr 8, 2024. It is now read-only.

Commit f9a0b0b

Browse files
mapping: panadoc to align markdown tables
1 parent ec77ba5 commit f9a0b0b

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

mappings.lua

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,13 @@ return {
6161
-- setting a mapping to false will disable it
6262
-- ["<esc>"] = false,
6363
},
64+
65+
v = {
66+
67+
-- Use panadoc to format a visually selected table
68+
-- https://jcuenod.github.io/bibletech/2023/03/14/formatting-md-tables-in-neovim/
69+
["<leader>mp"] = { "!pandoc -t markdown-simple_tables<CR>", silent = true, desc = "Align selected md table using pandoc" },
70+
71+
},
72+
6473
}

0 commit comments

Comments
 (0)