nvim/init.lua

10 lines
293 B
Lua
Raw 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" })
2024-11-15 01:48:31 +00:00
--Disable annoying shit
vim.cmd(":Copilot disable")