This commit is contained in:
Felipe M 2024-02-25 09:44:35 +01:00
parent 83d6e3f7cf
commit bda21856b1
Signed by: fmartingr
GPG key ID: CCFBC5637D4000A8
10 changed files with 155 additions and 0 deletions

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

@ -0,0 +1,26 @@
-- Setup leader key
vim.g.mapleader = " "
-- Lazy: Ensure lazy is installed and present
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)
-- Load plugin configuration and init Lazy
require("lazy").setup("plugins", {
install = {
missing = true, -- Install missing plugins on startup
}
})
-- Keybinds
require("keybinds")