new nvim config with lazy.nvim
This commit is contained in:
parent
17a11aad7e
commit
8738fcdde9
21 changed files with 561 additions and 1 deletions
19
.config/nvim/init.lua
Normal file
19
.config/nvim/init.lua
Normal 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")
|
||||
Loading…
Add table
Add a link
Reference in a new issue