nvim/init.lua
Anton Nesterov b5b96bc02e
save
2024-11-15 02:48:31 +01:00

10 lines
293 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" })
--Disable annoying shit
vim.cmd(":Copilot disable")