add markdown-preview

This commit is contained in:
Aditya 2024-03-06 19:24:02 +05:30
parent 3de64eeed7
commit 03ab98c8d3
Signed by: aditya
SSH key fingerprint: SHA256:jL1IvWsjjlPtw6HvDIHfXfhO9IkIokNEyIfuFhSdoyU
2 changed files with 18 additions and 0 deletions

View file

@ -57,5 +57,6 @@
./utils/hardtime.nix ./utils/hardtime.nix
./utils/harpoon.nix ./utils/harpoon.nix
./utils/illuminate.nix ./utils/illuminate.nix
./utils/markdown-preview.nix
]; ];
} }

View file

@ -0,0 +1,17 @@
{
plugins.markdown-preview = {
enable = true;
theme = "dark";
};
keymaps = [
{
mode = "n";
key = "<leader>cp";
action = "<cmd>MarkdownPreview<cr>";
options = {
desc = "Markdown Preview";
};
}
];
}