add flake

This commit is contained in:
2025-11-14 13:43:34 +09:00
parent 3aec645b22
commit 34439c0c91
6 changed files with 127 additions and 2 deletions

View File

@@ -0,0 +1,17 @@
return {
"kimpure/cmdhistory.nvim",
opts = {
mute = {
"q",
"qa",
"wq",
"wqa",
"wincmd h",
"wincmd j",
"wincmd k",
"wincmd l",
"w",
"wa",
},
}
}

19
lua/plugins/molten.lua Normal file
View File

@@ -0,0 +1,19 @@
return {
"benlubas/molten-nvim",
build = ":UpdateRemotePlugins",
dependencies = {
"3rd/image.nvim",
},
keys = {
{ "<leader>mi", "<Cmd>MoltenInit<CR>", desc = "Molten Init" },
{ "<leader>me", "<Cmd>MoltenEvaluateOperator<CR>", desc = "Molten Evaluate Operator" },
{ "<leader>ml", "<Cmd>MoltenEvaluateLine<CR>", desc = "Molten Evaluate Line" },
{ "<leader>mr", "<Cmd>MoltenReevaluateCell<CR>", desc = "Molten Re-evaluate Cell" },
},
config = function()
vim.g.molten_auto_open_output = true
vim.g.molten_image_provider = "image.nvim"
vim.g.molten_output_win_max_height = 20
vim.g.molten_wrap_output = true
end,
}