From 361ed422891bf9ed0ce905fa1ec10f25bc2616c3 Mon Sep 17 00:00:00 2001 From: Quentin Boyer Date: Wed, 28 Aug 2024 23:16:40 +0200 Subject: [PATCH] neovim: Disable markview on entering insert mode --- neovim/notes.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/neovim/notes.nix b/neovim/notes.nix index c231a46..7d35a3f 100644 --- a/neovim/notes.nix +++ b/neovim/notes.nix @@ -12,6 +12,15 @@ } ]; + files."after/ftplugin/markdown.lua" = { + autoCmd = [ + { + event = [ "InsertEnter" ]; + command = "Markview disable"; + } + ]; + }; + globals = { wiki_global_load = 0; wiki_root = "~/wiki";