new nvim config with lazy.nvim

This commit is contained in:
juancwu 2023-07-09 01:27:48 -04:00 committed by Jc
commit 8738fcdde9
21 changed files with 561 additions and 1 deletions

19
.config/nvim/init.lua Normal file
View file

@ -0,0 +1,19 @@
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable", -- latest stable release
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
-- custom modules:
require("keymaps")
require("clipboard")
require("options")
require("lazy").setup("plugins")