launch markdown preview manually

This commit is contained in:
Adithya 2023-11-05 16:47:56 +05:30
parent e55293c298
commit 280525c9d2
Signed by: adtya
GPG key ID: 48FC9915FFD326D0

View file

@ -91,6 +91,18 @@
options.silent = true;
action = "<cmd>:Telescope live_grep<Return>";
}
{
mode = "n";
key = "<leader>pp";
options.silent = true;
action = "<cmd>:MarkdownPreview<Return>";
}
{
mode = "n";
key = "<leader>po";
options.silent = true;
action = "<cmd>:MarkdownPreviewStop<Return>";
}
];
plugins = {
bufferline = {
@ -137,7 +149,6 @@
};
markdown-preview = {
enable = true;
autoStart = true;
openToTheWorld = true;
previewOptions = {
content_editable = true;