Dotfiles with the latest changes
This commit is contained in:
22
.config/nvim/lua/jirr02/plugins/easytables.lua
Normal file
22
.config/nvim/lua/jirr02/plugins/easytables.lua
Normal file
@@ -0,0 +1,22 @@
|
||||
return {
|
||||
"Myzel394/easytables.nvim",
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
config = function()
|
||||
local easytables = require("easytables")
|
||||
local wk = require("which-key")
|
||||
|
||||
easytables.setup({})
|
||||
|
||||
wk.add({
|
||||
{ "<leader>m", group = "markdown", icon = "" },
|
||||
{
|
||||
"<leader>mt",
|
||||
function()
|
||||
vim.ui.input({ prompt = "width x height: " }, function(input)
|
||||
vim.cmd("EasyTablesCreateNew " .. input)
|
||||
end)
|
||||
end,
|
||||
},
|
||||
})
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user