From a7a2fa7df026aa7af5d65da3c9c3a97f1c0664fe Mon Sep 17 00:00:00 2001 From: jacekpoz Date: Wed, 14 Feb 2024 13:21:18 +0100 Subject: [PATCH] add markdownpreview-nvim --- modules/tui/neovim.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/tui/neovim.nix b/modules/tui/neovim.nix index 4309c3f8..757bf9a8 100644 --- a/modules/tui/neovim.nix +++ b/modules/tui/neovim.nix @@ -61,6 +61,10 @@ in { lua = true; key = "v"; } + { + action = ":MarkdownPreviewToggle"; + key = "m"; + } ]; plugins = { @@ -250,6 +254,10 @@ in { enableTelescope = true; keymapsSilent = false; }; + markdown-preview = { + enable = true; + theme = "dark"; + }; }; extraPlugins = with pkgs.vimPlugins; [