Public Access
added terminal
This commit is contained in:
@@ -97,8 +97,18 @@ require("snacks").setup({
|
||||
enabled = true,
|
||||
doc = { inline = false },
|
||||
},
|
||||
terminal = {},
|
||||
})
|
||||
|
||||
-- Toggle a bottom terminal panel (reuses the same shell instance).
|
||||
vim.keymap.set({ "n", "t" }, "<leader>t",
|
||||
function()
|
||||
Snacks.terminal(nil, {
|
||||
win = { position = "bottom", height = 10 },
|
||||
})
|
||||
end,
|
||||
{ desc = "Toggle terminal" })
|
||||
|
||||
-- Rebuild mdmath JS deps on plugin update
|
||||
vim.api.nvim_create_autocmd("PackChanged", {
|
||||
callback = function(ev)
|
||||
|
||||
Reference in New Issue
Block a user