From c550a9d5148f197a8b4686a37316d2e86aefa423 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sun, 10 Dec 2023 09:04:49 +0100 Subject: [PATCH] nvim: Move Molten info toggle to vim-meta key group Moved mapping from `cI` to `vn` (for molteN). --- nvim/.config/nvim/after/ftplugin/quarto.lua | 1 - nvim/.config/nvim/lua/plugins/data_analysis.lua | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/nvim/.config/nvim/after/ftplugin/quarto.lua b/nvim/.config/nvim/after/ftplugin/quarto.lua index 0f4b01a..b5c90ca 100644 --- a/nvim/.config/nvim/after/ftplugin/quarto.lua +++ b/nvim/.config/nvim/after/ftplugin/quarto.lua @@ -64,7 +64,6 @@ local function molten_mappings_set() map("n", "cU", ":noautocmd :MoltenEnterOutput", { silent = true, desc = "Molten enter output" }) map("n", "cd", ":MoltenDelete", { silent = true }) map("n", "ci", ":MoltenInterrupt") - map("n", "cI", ":MoltenInfo") map("n", "cN", ":MoltenInit ") map("n", "cD", ":MoltenDeinit") map("n", "cR", ":MoltenRestart") diff --git a/nvim/.config/nvim/lua/plugins/data_analysis.lua b/nvim/.config/nvim/lua/plugins/data_analysis.lua index e0a0225..501af6c 100644 --- a/nvim/.config/nvim/lua/plugins/data_analysis.lua +++ b/nvim/.config/nvim/lua/plugins/data_analysis.lua @@ -78,6 +78,9 @@ return { }, ft = { "quarto", "python" }, lazy = false, + keys = { + { "vn", ":MoltenInfo" }, + }, }, -- MARKDOWN ONLY