nvim/init.lua

7 lines
240 B
Lua
Raw Permalink Normal View History

2024-11-09 03:13:18 +00:00
-- bootstrap lazy.nvim, LazyVim and your plugins
require("config.lazy")
2024-11-09 12:52:10 +00:00
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" })