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; options.silent = true;
action = "<cmd>:Telescope live_grep<Return>"; 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 = { plugins = {
bufferline = { bufferline = {
@ -137,7 +149,6 @@
}; };
markdown-preview = { markdown-preview = {
enable = true; enable = true;
autoStart = true;
openToTheWorld = true; openToTheWorld = true;
previewOptions = { previewOptions = {
content_editable = true; content_editable = true;