7 lines
240 B
Lua
7 lines
240 B
Lua
-- bootstrap lazy.nvim, LazyVim and your plugins
|
|
require("config.lazy")
|
|
vim.api.nvim_create_user_command("New", function(opts)
|
|
local cmd = "e %:h/" .. opts.args
|
|
vim.cmd(cmd)
|
|
end, { nargs = "+", desc = "New file in current directory" })
|