mirror of
https://github.com/akr2002/nv.git
synced 2024-11-09 10:39:44 +00:00
add markdown-preview
This commit is contained in:
parent
3de64eeed7
commit
03ab98c8d3
2 changed files with 18 additions and 0 deletions
|
@ -57,5 +57,6 @@
|
|||
./utils/hardtime.nix
|
||||
./utils/harpoon.nix
|
||||
./utils/illuminate.nix
|
||||
./utils/markdown-preview.nix
|
||||
];
|
||||
}
|
||||
|
|
17
config/utils/markdown-preview.nix
Normal file
17
config/utils/markdown-preview.nix
Normal 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";
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
|
Loading…
Reference in a new issue